diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-08-29 22:50:44 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-29 22:50:44 +0000 |
commit | 375112224567de0b2f3666cef13b1c5832f1ed6f (patch) | |
tree | 5b13d65d7aa50b304c884a8a5d796db844f9ddac /src/stringproc.h | |
parent | c41af88a8a3dcd3e9e0ea6dcbe7df9e71eb4eedd (diff) | |
download | build-375112224567de0b2f3666cef13b1c5832f1ed6f.tar.gz build-375112224567de0b2f3666cef13b1c5832f1ed6f.tar.bz2 build-375112224567de0b2f3666cef13b1c5832f1ed6f.tar.xz build-375112224567de0b2f3666cef13b1c5832f1ed6f.zip |
Updated a load, now there's a seperate module for performing string processing
pre parser, and whatever.
Diffstat (limited to 'src/stringproc.h')
-rw-r--r-- | src/stringproc.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/stringproc.h b/src/stringproc.h new file mode 100644 index 0000000..237ad6f --- /dev/null +++ b/src/stringproc.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef STRING_PROC_H | ||
2 | #define STRING_PROC_H | ||
3 | |||
4 | #include <stdint.h> | ||
5 | #include <string> | ||
6 | |||
7 | class Build; | ||
8 | |||
9 | class StringProc | ||
10 | { | ||
11 | public: | ||
12 | StringProc( Build *pBld ); | ||
13 | virtual ~StringProc(); | ||
14 | |||
15 | virtual std::string replVars( const std::string &sSrc, const std::string &sCont )=0; | ||
16 | |||
17 | protected: | ||
18 | Build *getBuild() | ||
19 | { | ||
20 | return pBld; | ||
21 | } | ||
22 | |||
23 | private: | ||
24 | Build *pBld; | ||
25 | |||
26 | }; | ||
27 | |||
28 | #endif | ||