X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffile.h;h=aa0035f47599cca906e4a6f4fedba142b14cb1fb;hb=8ee4fd693c8d15265f0c145221737a322f89618b;hp=ba8f9b42bfcea925fe967eacaf62d9d976d186da;hpb=2edc25f87590bd81808792c3c38cab5ae8b94eb3;p=builder.git diff --git a/source/file.h b/source/file.h index ba8f9b4..aa0035f 100644 --- a/source/file.h +++ b/source/file.h @@ -1,25 +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 "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, 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