From f88e5c349ff0107ac4a13ae00180f767741f88d1 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 24 Apr 2007 15:43:35 +0000 Subject: 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. --- src/action.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/action.h') 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: typedef struct Cmd { - Cmd( eAction act, const std::string &sWhat ) : - act( act ), sWhat( sWhat ) + Cmd( eAction act, const std::string &sWhat, bool bIsGroup ) : + act( act ), sWhat( sWhat ), bIsGroup( bIsGroup ) {} eAction act; std::string sWhat; + bool bIsGroup; } Cmd; - void addCommand( eAction act, const std::string &sWhat ); + void addCommand( eAction act, const std::string &sWhat, bool bIsGroup ); void begin(); bool isEnded(); @@ -40,6 +41,7 @@ public: eAction getAct(); std::string getWhat(); + bool isGroup(); void setName( const std::string &sName ) { -- cgit v1.2.3