aboutsummaryrefslogtreecommitdiff
path: root/src/stringproc.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-10 22:27:37 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-10 22:27:37 +0000
commit97d529fac68105f0d3d34c699a4ac10489c705e8 (patch)
tree409473d54238525c7b41347458448a19c909ad8a /src/stringproc.h
parent47cda1de3cfde56d8a8a69d535d38309bc2b7981 (diff)
downloadbuild-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.h5
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
7class Build; 8class Build;
8 9
10typedef std::map<std::string,std::string> VarMap;
11
9class StringProc 12class StringProc
10{ 13{
11public: 14public:
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
17protected: 20protected:
18 Build *getBuild() 21 Build *getBuild()