diff options
Diffstat (limited to '')
-rw-r--r-- | src/stringproc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stringproc.h b/src/stringproc.h index 237ad6f..860579f 100644 --- a/src/stringproc.h +++ b/src/stringproc.h | |||
@@ -3,16 +3,19 @@ | |||
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <string> | 5 | #include <string> |
6 | #include <map> | ||
6 | 7 | ||
7 | class Build; | 8 | class Build; |
8 | 9 | ||
10 | typedef std::map<std::string,std::string> VarMap; | ||
11 | |||
9 | class StringProc | 12 | class StringProc |
10 | { | 13 | { |
11 | public: | 14 | public: |
12 | StringProc( Build *pBld ); | 15 | StringProc( Build *pBld ); |
13 | virtual ~StringProc(); | 16 | virtual ~StringProc(); |
14 | 17 | ||
15 | virtual std::string replVars( const std::string &sSrc, const std::string &sCont )=0; | 18 | virtual std::string replVars( const std::string &sSrc, const std::string &sCont, VarMap *mExtra )=0; |
16 | 19 | ||
17 | protected: | 20 | protected: |
18 | Build *getBuild() | 21 | Build *getBuild() |