aboutsummaryrefslogtreecommitdiff
path: root/src/target.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-18 17:21:02 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-18 17:21:02 +0000
commitdf5286fe3bca619beb4771da1ffa8ace9613e9e5 (patch)
tree0ad268267325c586527b8d36461ab0040e9ae8ec /src/target.h
parent4f94dfde7cbe043dfeb11a8712636bac348d3177 (diff)
downloadbuild-df5286fe3bca619beb4771da1ffa8ace9613e9e5.tar.gz
build-df5286fe3bca619beb4771da1ffa8ace9613e9e5.tar.bz2
build-df5286fe3bca619beb4771da1ffa8ace9613e9e5.tar.xz
build-df5286fe3bca619beb4771da1ffa8ace9613e9e5.zip
Gutted, deleted almost all the source, too many changes to keep it around, we'll
see what happens next.
Diffstat (limited to '')
-rw-r--r--src/target.h39
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
9class Target
10{
11public:
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
30protected:
31 StaticString sName;
32 StaticString sRule;
33
34 std::list<std::string> lInput;
35 std::list<std::string> lOutput;
36
37};
38
39#endif