aboutsummaryrefslogtreecommitdiff
path: root/src/stringproc.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stringproc.h28
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
7class Build;
8
9class StringProc
10{
11public:
12 StringProc( Build *pBld );
13 virtual ~StringProc();
14
15 virtual std::string replVars( const std::string &sSrc, const std::string &sCont )=0;
16
17protected:
18 Build *getBuild()
19 {
20 return pBld;
21 }
22
23private:
24 Build *pBld;
25
26};
27
28#endif