From 71cc260a3ca6d3d0594fd4cadb0711ae3f142932 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 7 Sep 2006 22:49:40 +0000 Subject: About to implement Rule, the heart of the porform generation system. Once that's done, we can actually run the performs, and, most likely build things. --- src/build.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/build.h') diff --git a/src/build.h b/src/build.h index 77e40fa..d5e6604 100644 --- a/src/build.h +++ b/src/build.h @@ -10,6 +10,7 @@ #include "rule.h" #include "target.h" #include "action.h" +#include "stringproc.h" subExceptionDecl( BuildException ); @@ -36,8 +37,13 @@ public: void setAdd( const std::string &cont, const std::string &var, const std::string &val ); std::string getVar( const std::string &cont, const std::string &var ); + Rule *getRule( const std::string &name ); + void debugDump(); + void setStringProc( StringProc *pStrProc ); + std::string replVars( const std::string &sSrc, const std::string &sCont ); + private: typedef std::map TargetMap; typedef std::list StringList; @@ -53,6 +59,7 @@ private: ContextMap mContVars; RuleMap mRule; ActionMap mAction; + StringProc *pStrProc; //std::map mRule; //Action *pActDefault; -- cgit v1.2.3