From 935bc7d5223883d87f58a6798f4a0ade7df95afc Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 1 Aug 2006 03:09:58 +0000 Subject: It actually builds, now it just needs dependancy tracking, and maybe auto-target check triggering. --- src/builder.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/builder.h') diff --git a/src/builder.h b/src/builder.h index faa82c2..f21e411 100644 --- a/src/builder.h +++ b/src/builder.h @@ -100,11 +100,16 @@ public: return mTarget[sName]; } + std::list getRequires( const char *sReq ) + { + return mRequires[sReq]; + } + typedef std::map varmap; varmap *regexVars( RegExp *re ); std::string varRepl( const char *sSrc, const char *cont, varmap *mExtra ); -private: +private: void requiresNormal( const char *sBase, const char *sReq ); void requiresRegexp( const char *sBase, const char *sReq ); void checkVar( const char *cont, const char *sName ); @@ -139,4 +144,6 @@ private: bool bReqRegexp; }; +void cleanList( std::list &lst ); + #endif -- cgit v1.2.3