X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffile.h;h=aa0035f47599cca906e4a6f4fedba142b14cb1fb;hb=9e28243c9687608ec3c32954b4031490296ae877;hp=13fa4e28e9e0b86396d778b69e773b77471d2325;hpb=1fdef3ec9d6291af8a467ea0e2c90e7f19141ae2;p=builder.git diff --git a/source/file.h b/source/file.h index 13fa4e2..aa0035f 100644 --- a/source/file.h +++ b/source/file.h @@ -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_ @@ -16,11 +9,10 @@ Just an arbitary file. No special meaning attached. 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, 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"; } -private: - virtual Action *create_action() { return 0; } }; #endif