#ifndef ACTION_H #define ACTION_H #include #include "staticstring.h" class Command; class Action { public: Action(); Action( const char *sName ); virtual ~Action(); void add( Command *pCmd ); const char *getName() { return sName; } bool isDefault() { return bDefault; } void debug(); private: bool bDefault; StaticString sName; std::list lCommand; }; #endif