]> git.tdb.fi Git - builder.git/blob - source/datafile.h
Replace per-file copyright notices with a single file
[builder.git] / source / datafile.h
1 #ifndef DATAFILE_H_
2 #define DATAFILE_H_
3
4 #include "filetarget.h"
5
6 class Component;
7 class File;
8
9 class DataFile: public FileTarget
10 {
11 private:
12         const Component &component;
13         File &source;
14
15 public:
16         DataFile(Builder &, const Component &, File &);
17
18         virtual const char *get_type() const { return "DataFile"; }
19         const Component &get_component() const { return component; }
20         File &get_source() const { return source; }
21
22 private:
23         virtual Action *create_action();
24         static Msp::FS::Path generate_target_path(const Component &);
25 };
26
27 #endif