X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcefile.h;h=16521a5576e60fd8e384bb70ffc239d37ab554b2;hb=451ef4f33b5a57dcb56bd7cb671bed359ac86247;hp=9f126ac4d4781d19228f222075a204c9bf31027e;hpb=7e5ac6af8987bf12f3e338d00e96e8cb74f3534b;p=builder.git diff --git a/source/sourcefile.h b/source/sourcefile.h index 9f126ac..16521a5 100644 --- a/source/sourcefile.h +++ b/source/sourcefile.h @@ -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