]> git.tdb.fi Git - builder.git/blobdiff - source/file.h
Don't store component locally in object and source files
[builder.git] / source / file.h
index 13fa4e28e9e0b86396d778b69e773b77471d2325..0e92b72f13ffb934818d8aaba1bf0039ffc984ea 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2007-2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef FILE_H_
 #define FILE_H_
 
@@ -17,10 +10,9 @@ class File: public FileTarget
 {
 public:
        File(Builder &b, const Msp::FS::Path &t): FileTarget(b, 0, t) { }
-       File(Builder &b, Package &p, const Msp::FS::Path &t): FileTarget(b, &p, t) { }
+       File(Builder &b, SourcePackage &p, const Msp::FS::Path &t): FileTarget(b, &p, t) { }
+
        virtual const char *get_type() const { return "File"; }
-private:
-       virtual Action *create_action() { return 0; }
 };
 
 #endif