]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.h
Add files.
[builder.git] / source / sourcefile.h
diff --git a/source/sourcefile.h b/source/sourcefile.h
new file mode 100644 (file)
index 0000000..962c575
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef SOURCEFILE_H_
+#define SOURCEFILE_H_
+
+#include "target.h"
+
+class Component;
+
+class SourceFile: public Target
+{
+public:
+       SourceFile(Builder &, const Component *, const std::string &);
+       void find_depends();
+       const char *get_type() const { return "SourceFile"; }
+private:
+       const Component *comp;
+       std::list<std::string> includes;
+};
+
+#endif