]> git.tdb.fi Git - builder.git/blob - source/sourcefile.h
Move C-specific stuff from SourceFile to CSourceFile
[builder.git] / source / sourcefile.h
1 #ifndef SOURCEFILE_H_
2 #define SOURCEFILE_H_
3
4 #include "filetarget.h"
5
6 class Component;
7
8 class SourceFile: public FileTarget
9 {
10 protected:
11         const Component *comp;
12
13         SourceFile(Builder &, const Component *, const Msp::FS::Path &);
14
15 public:
16         const Component *get_component() const { return comp; }
17 };
18
19 #endif