diff options
Diffstat (limited to 'src/target.h')
-rw-r--r-- | src/target.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/target.h b/src/target.h deleted file mode 100644 index 59c5d7e..0000000 --- a/src/target.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | #ifndef TARGET_H | ||
2 | #define TARGET_H | ||
3 | |||
4 | #include <list> | ||
5 | #include <string> | ||
6 | #include <stdint.h> | ||
7 | #include "staticstring.h" | ||
8 | |||
9 | class Target | ||
10 | { | ||
11 | public: | ||
12 | Target( const char *sName ); | ||
13 | virtual ~Target(); | ||
14 | |||
15 | const char *getName() | ||
16 | { | ||
17 | return sName; | ||
18 | } | ||
19 | |||
20 | void setRule( const char *sRule ); | ||
21 | |||
22 | virtual void debug(); | ||
23 | |||
24 | void addInput( const char *sInput ); | ||
25 | void addOutput( const char *sOutput ); | ||
26 | |||
27 | virtual void check( class Builder &bld ) = 0; | ||
28 | virtual void clean( class Builder &bld ) = 0; | ||
29 | |||
30 | protected: | ||
31 | StaticString sName; | ||
32 | StaticString sRule; | ||
33 | |||
34 | std::list<std::string> lInput; | ||
35 | std::list<std::string> lOutput; | ||
36 | |||
37 | }; | ||
38 | |||
39 | #endif | ||