22static std::vector<lilac::shared::FrontendAction*> backends;
26 : m_Name(std::move(name)), m_Desc(std::move(desc)), m_Kind(kind)
28 backends.push_back(
this);
FrontendKind Kind() const
Gets the kind of this action.
const std::string & Name() const
Gets the name of this action.
FrontendAction(FrontendKind kind, std::string name, std::string desc)
static const std::vector< FrontendAction * > & GetRegistered()
Gets all registered actions.
const std::string & Desc() const
Gets the description of this action.