]> git.tdb.fi Git - builder.git/blob - source/datacollection.h
Only use source files that are actually files
[builder.git] / source / datacollection.h
1 #ifndef DATACOLLECTION_H_
2 #define DATACOLLECTION_H_
3
4 #include "filetarget.h"
5
6 class DataTransform;
7
8 class DataCollection: public FileTarget
9 {
10 private:
11         DataTransform &source;
12
13 public:
14         DataCollection(Builder &, const Component &, DataTransform &);
15 private:
16         static Msp::FS::Path generate_target_path(const Component &, const Msp::FS::Path &);
17
18 public:
19         virtual const char *get_type() const { return "DataCollection"; }
20         DataTransform &get_source() const { return source; }
21
22 private:
23         virtual void find_dependencies();
24 };
25
26 #endif