]> git.tdb.fi Git - builder.git/blobdiff - source/file.h
Replace per-file copyright notices with a single file
[builder.git] / source / file.h
index ba8f9b42bfcea925fe967eacaf62d9d976d186da..76c03790a6d689173d2ee9bd849fb7ea6ac935c1 100644 (file)
@@ -1,22 +1,16 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2007-2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef FILE_H_
 #define FILE_H_
 
 #include "filetarget.h"
 
 /**
-Just a file.  Any file, not attached to a package.
+Just an arbitary file.  No special meaning attached.
 */
 class File: public FileTarget
 {
 public:
-       File(Builder &, const Msp::FS::Path &);
+       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) { }
        virtual const char *get_type() const { return "File"; }
 private:
        virtual Action *create_action() { return 0; }