17 #ifndef BERRYCOMMAND_H_
18 #define BERRYCOMMAND_H_
32 class CommandCategory;
120 QString helpContextId;
127 QList<SmartPointer<IParameter> > parameters;
199 bool operator<(
const Object*
object)
const override;
229 void Define(
const QString& name,
const QString& description,
233 const QString& helpContextId =
"");
280 void FireNotDefined(
const NotDefinedException* e);
290 void FireNotEnabled(
const NotEnabledException* e);
300 void FireNotHandled(
const NotHandledException* e);
311 void FirePostExecuteFailure(
const ExecutionException* e);
353 QString GetHelpContextId()
const;
377 QList<SmartPointer<IParameter> > GetParameters()
const;
415 bool IsEnabled()
const;
434 bool IsHandled()
const;
465 void RemoveState(
const QString& stateId)
override;
502 QString ToString()
const override;
509 void Undefine()
override;
static MsgHandler handler
Light weight base class for most BlueBerry classes.
Implements transparent reference counting.
static bool DEBUG_HANDLERS
#define berryObjectMacro(...)
static bool DEBUG_COMMAND_EXECUTION
static QString DEBUG_HANDLERS_COMMAND_ID