]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.h
Get rid of separate header targets which serve no useful purpose
[builder.git] / source / sourcefile.h
index c0abe5c7615beeb0af7b9cd97458d60dd4fe950e..49a43318866de078484e23ce69e74877e9a4f7b9 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef SOURCEFILE_H_
 #define SOURCEFILE_H_
 
@@ -21,16 +14,14 @@ private:
        const Component *comp;
        StringList includes;
 
-protected:
-       SourceFile(Builder &, const Msp::FS::Path &);
 public:
+       SourceFile(Builder &, 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; }
        virtual void find_depends();
-private:
-       virtual Action *create_action() { return 0; }
 };
 
 #endif