13 #ifndef BERRYCOMMAND_H_ 14 #define BERRYCOMMAND_H_ 28 class CommandCategory;
116 QString helpContextId;
123 QList<SmartPointer<IParameter> > parameters;
225 void Define(
const QString& name,
const QString& description,
229 const QString& helpContextId =
"");
276 void FireNotDefined(
const NotDefinedException* e);
286 void FireNotEnabled(
const NotEnabledException* e);
296 void FireNotHandled(
const NotHandledException* e);
307 void FirePostExecuteFailure(
const ExecutionException* e);
349 QString GetHelpContextId()
const;
373 QList<SmartPointer<IParameter> > GetParameters()
const;
411 bool IsEnabled()
const;
430 bool IsHandled()
const;
461 void RemoveState(
const QString& stateId)
override;
498 QString ToString()
const override;
505 void Undefine()
override;
static MsgHandler handler
Light weight base class for most BlueBerry classes.
bool operator<(const StaticParameterMap::ValueType &a, const StaticParameterMap::ValueType &b)
Compares two var lists and returns true if the first list's first item is lower than the second one's...
Implements transparent reference counting.
static bool DEBUG_HANDLERS
#define berryObjectMacro(...)
static bool DEBUG_COMMAND_EXECUTION
static QString DEBUG_HANDLERS_COMMAND_ID