From ff938b977db21378a1f016f65e7345c50e71ef8f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 24 Apr 2007 14:09:50 +0000 Subject: Half way there on the road to implementing basic group functionality. You can create groups, you can't do anything with them yet (although the syntax is supported already.) --- src/build.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/build.h') diff --git a/src/build.h b/src/build.h index dd8c11b..768d211 100644 --- a/src/build.h +++ b/src/build.h @@ -22,6 +22,8 @@ typedef std::map ContextMap; typedef std::map RuleMap; typedef std::list RuleList; typedef std::map ActionMap; +typedef std::list TargetList; +typedef std::map GroupMap; class Viewer; @@ -43,6 +45,7 @@ public: void addRequires( const std::string &who, const std::string &what ); void addRule( Rule *pRule ); void addAction( Action *pAction ); + void addToGroup( const std::string &sGroup, Target *pTarget ); void set( const std::string &cont, const std::string &var, const std::string &val ); void setAdd( const std::string &cont, const std::string &var, const std::string &val ); @@ -92,6 +95,7 @@ private: Cache cRequires; bool bCacheUpdated; std::string sCacheName; + GroupMap mGroup; //std::map mRule; //Action *pActDefault; -- cgit v1.2.3