X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcefile.h;h=bdb657f83345171ffcdb608c176f525da5431c90;hb=407b96515a5246384847d1835a2d69704e941ea1;hp=9f126ac4d4781d19228f222075a204c9bf31027e;hpb=7e5ac6af8987bf12f3e338d00e96e8cb74f3534b;p=builder.git diff --git a/source/sourcefile.h b/source/sourcefile.h index 9f126ac..bdb657f 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 &, const Msp::FS::Path &); + SourceFile(Builder &, const Component &, const Msp::FS::Path &); }; #endif