]> git.tdb.fi Git - builder.git/blobdiff - source/datatool.h
Reimplement datafile building
[builder.git] / source / datatool.h
diff --git a/source/datatool.h b/source/datatool.h
new file mode 100644 (file)
index 0000000..b6c4f5b
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef DATACOMPILER_H_
+#define DATACOMPILER_H_
+
+#include "tool.h"
+
+class DataTool: public Tool
+{
+public:
+       DataTool(Builder &);
+
+       virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
+       virtual Target *create_target(const std::list<Target *> &, const std::string &) const;
+       virtual Task *run(const Target &) const;
+};
+
+#endif