diff options
Diffstat (limited to 'src/action.h')
-rw-r--r-- | src/action.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/action.h b/src/action.h index 25badad..929c1c5 100644 --- a/src/action.h +++ b/src/action.h | |||
@@ -20,14 +20,15 @@ public: | |||
20 | 20 | ||
21 | typedef struct Cmd | 21 | typedef struct Cmd |
22 | { | 22 | { |
23 | Cmd( eAction act, const std::string &sWhat ) : | 23 | Cmd( eAction act, const std::string &sWhat, bool bIsGroup ) : |
24 | act( act ), sWhat( sWhat ) | 24 | act( act ), sWhat( sWhat ), bIsGroup( bIsGroup ) |
25 | {} | 25 | {} |
26 | eAction act; | 26 | eAction act; |
27 | std::string sWhat; | 27 | std::string sWhat; |
28 | bool bIsGroup; | ||
28 | } Cmd; | 29 | } Cmd; |
29 | 30 | ||
30 | void addCommand( eAction act, const std::string &sWhat ); | 31 | void addCommand( eAction act, const std::string &sWhat, bool bIsGroup ); |
31 | 32 | ||
32 | void begin(); | 33 | void begin(); |
33 | bool isEnded(); | 34 | bool isEnded(); |
@@ -40,6 +41,7 @@ public: | |||
40 | 41 | ||
41 | eAction getAct(); | 42 | eAction getAct(); |
42 | std::string getWhat(); | 43 | std::string getWhat(); |
44 | bool isGroup(); | ||
43 | 45 | ||
44 | void setName( const std::string &sName ) | 46 | void setName( const std::string &sName ) |
45 | { | 47 | { |