aboutsummaryrefslogtreecommitdiff
path: root/src/builder.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/builder.h9
1 files changed, 8 insertions, 1 deletions
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:
100 return mTarget[sName]; 100 return mTarget[sName];
101 } 101 }
102 102
103 std::list<std::string> getRequires( const char *sReq )
104 {
105 return mRequires[sReq];
106 }
107
103 typedef std::map<std::string, std::string> varmap; 108 typedef std::map<std::string, std::string> varmap;
104 varmap *regexVars( RegExp *re ); 109 varmap *regexVars( RegExp *re );
105 std::string varRepl( const char *sSrc, const char *cont, varmap *mExtra ); 110 std::string varRepl( const char *sSrc, const char *cont, varmap *mExtra );
106private:
107 111
112private:
108 void requiresNormal( const char *sBase, const char *sReq ); 113 void requiresNormal( const char *sBase, const char *sReq );
109 void requiresRegexp( const char *sBase, const char *sReq ); 114 void requiresRegexp( const char *sBase, const char *sReq );
110 void checkVar( const char *cont, const char *sName ); 115 void checkVar( const char *cont, const char *sName );
@@ -139,4 +144,6 @@ private:
139 bool bReqRegexp; 144 bool bReqRegexp;
140}; 145};
141 146
147void cleanList( std::list<std::string> &lst );
148
142#endif 149#endif