#pragma once #include "status.hpp" #include namespace ipmi_flash { // This type will just return success upon trigger(), and even before calling // trigger. class SkipAction : public TriggerableActionInterface { public: static std::unique_ptr CreateSkipAction(); SkipAction() = default; ~SkipAction() = default; // Disallow copy and assign. SkipAction(const SkipAction&) = delete; SkipAction& operator=(const SkipAction&) = delete; SkipAction(SkipAction&&) = default; SkipAction& operator=(SkipAction&&) = default; bool trigger() override; void abort() override; ActionStatus status() override; }; } // namespace ipmi_flash