]> git.tdb.fi Git - builder.git/blob - source/datafile.h
Make static library dependencies consistent with what the linker does
[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 private:
18         static Msp::FS::Path generate_target_path(const Component &);
19
20 public:
21         virtual const char *get_type() const { return "DataFile"; }
22         const Component &get_component() const { return component; }
23         File &get_source() const { return source; }
24 };
25
26 #endif