diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-04-24 15:43:35 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-04-24 15:43:35 +0000 |
commit | f88e5c349ff0107ac4a13ae00180f767741f88d1 (patch) | |
tree | 26ecb2afe254f23ae9f57f701b67d41801c40c87 /src/action.h | |
parent | ff938b977db21378a1f016f65e7345c50e71ef8f (diff) | |
download | build-f88e5c349ff0107ac4a13ae00180f767741f88d1.tar.gz build-f88e5c349ff0107ac4a13ae00180f767741f88d1.tar.bz2 build-f88e5c349ff0107ac4a13ae00180f767741f88d1.tar.xz build-f88e5c349ff0107ac4a13ae00180f767741f88d1.zip |
Build groups are finished, there may be more we could do with them, but they
work just fine for what I want. They're cute though, you can put each target
in as many groups as you'd like.
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 | { |