]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.h
Add install component type
[builder.git] / source / sourcefile.h
index cbfd93428de9a09631c977b39adf18603e478af0..c0abe5c7615beeb0af7b9cd97458d60dd4fe950e 100644 (file)
@@ -21,8 +21,10 @@ private:
        const Component *comp;
        StringList includes;
 
+protected:
+       SourceFile(Builder &, const Msp::FS::Path &);
 public:
-       SourceFile(Builder &, const Component *, const Msp::FS::Path &);
+       SourceFile(Builder &, const Component &, const Msp::FS::Path &);
        virtual const char *get_type() const { return "SourceFile"; }
        const StringList &get_includes() const { return includes; }
        const Component *get_component() const { return comp; }