diff options
Diffstat (limited to '')
-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 | ||