blob: d408601f1660e833aeef89994840bb997b9c97ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef STRING_PROC_H
#define STRING_PROC_H
#include <stdint.h>
#include <string>
#include <map>
#include <list>
class Build;
typedef std::map<std::string,std::string> VarMap;
typedef std::list<std::string> StringList;
class StringProc
{
public:
StringProc( Build *pBld );
virtual ~StringProc();
virtual std::string replVars( const std::string &sSrc, const StringList *pCont, VarMap *mExtra )=0;
protected:
Build *getBuild()
{
return pBld;
}
private:
Build *pBld;
};
#endif
|