]> git.tdb.fi Git - builder.git/blobdiff - source/file.h
A bunch of minor cleanups
[builder.git] / source / file.h
index 35c10872d14ae5d32ab9ca6252dec2ddf2e154af..5a216a9655b6aa65f4661db814e1c9ab381c705e 100644 (file)
@@ -1,21 +1,18 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef FILE_H_
 #define FILE_H_
 
-#include "target.h"
+#include "filetarget.h"
 
-class File: public Target
+/**
+Just an arbitrary file.  No special meaning attached.
+*/
+class File: public FileTarget
 {
 public:
-       File(Builder &, const std::string &);
+       File(Builder &b, const Msp::FS::Path &t): FileTarget(b, t) { }
+       File(Builder &b, const SourcePackage &p, const Msp::FS::Path &t): FileTarget(b, p, t) { }
+
        virtual const char *get_type() const { return "File"; }
-       virtual Action *build() { return 0; }
 };
 
 #endif