]> git.tdb.fi Git - builder.git/blobdiff - source/datasourcefile.h
Attach component information to data source files
[builder.git] / source / datasourcefile.h
diff --git a/source/datasourcefile.h b/source/datasourcefile.h
new file mode 100644 (file)
index 0000000..23c2543
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef DATASOURCEFILE_H_
+#define DATASOURCEFILE_H_
+
+#include "sourcefile.h"
+
+class DataSourceFile: public SourceFile
+{
+public:
+       DataSourceFile(Builder &, const Msp::FS::Path &);
+       DataSourceFile(Builder &, const Component &, const Msp::FS::Path &);
+
+       virtual const char *get_type() const { return "DataSourceFile"; }
+};
+
+#endif