]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.h
Inline simple constructors
[builder.git] / source / sourcefile.h
index 9f126ac4d4781d19228f222075a204c9bf31027e..16521a5576e60fd8e384bb70ffc239d37ab554b2 100644 (file)
@@ -3,17 +3,11 @@
 
 #include "filetarget.h"
 
-class Component;
-
 class SourceFile: public FileTarget
 {
 protected:
-       const Component *comp;
-
-       SourceFile(Builder &, const Component *, const Msp::FS::Path &);
-
-public:
-       const Component *get_component() const { return comp; }
+       SourceFile(Builder &b, const Msp::FS::Path &p): FileTarget(b, p) { }
+       SourceFile(Builder &, const Component &, const Msp::FS::Path &);
 };
 
 #endif