Command: Added DNA for commands
This commit is contained in:
@@ -45,6 +45,11 @@ public:
|
||||
std::string description () const;
|
||||
bool read_only () const;
|
||||
bool displays_id () const;
|
||||
bool needs_gc () const;
|
||||
bool uses_context () const;
|
||||
bool accepts_filter () const;
|
||||
bool accepts_modifications () const;
|
||||
bool accepts_miscellaneous () const;
|
||||
virtual int execute (std::string&) = 0;
|
||||
|
||||
enum class Category
|
||||
@@ -76,6 +81,11 @@ protected:
|
||||
bool _read_only;
|
||||
bool _displays_id;
|
||||
bool _needs_confirm;
|
||||
bool _needs_gc;
|
||||
bool _uses_context;
|
||||
bool _accepts_filter;
|
||||
bool _accepts_modifications;
|
||||
bool _accepts_miscellaneous;
|
||||
|
||||
// Permission support
|
||||
bool _permission_quit;
|
||||
|
||||
Reference in New Issue
Block a user