diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-09-10 22:27:37 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-09-10 22:27:37 +0000 |
commit | 97d529fac68105f0d3d34c699a4ac10489c705e8 (patch) | |
tree | 409473d54238525c7b41347458448a19c909ad8a /src/stringproc.h | |
parent | 47cda1de3cfde56d8a8a69d535d38309bc2b7981 (diff) | |
download | build-97d529fac68105f0d3d34c699a4ac10489c705e8.tar.gz build-97d529fac68105f0d3d34c699a4ac10489c705e8.tar.bz2 build-97d529fac68105f0d3d34c699a4ac10489c705e8.tar.xz build-97d529fac68105f0d3d34c699a4ac10489c705e8.zip |
Almost done tweaking the variable system, it needed support for local, or
"extra" variables.
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() |