X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffile.h;h=aa0035f47599cca906e4a6f4fedba142b14cb1fb;hb=07503a34b80778fe74977f0fb0c2094c92d64ce0;hp=bc71df87a25d02ff30542b08ab329f67303cc3d0;hpb=242c55b17e6608b29a77ca17a5b677e202a3ca90;p=builder.git diff --git a/source/file.h b/source/file.h index bc71df8..aa0035f 100644 --- a/source/file.h +++ b/source/file.h @@ -1,22 +1,18 @@ -/* $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 "target.h" +#include "filetarget.h" -class File: public Target +/** +Just an arbitary 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"; } -private: - virtual Action *create_action() { return 0; } }; #endif