X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffile.h;h=5a216a9655b6aa65f4661db814e1c9ab381c705e;hb=407b96515a5246384847d1835a2d69704e941ea1;hp=76c03790a6d689173d2ee9bd849fb7ea6ac935c1;hpb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;p=builder.git diff --git a/source/file.h b/source/file.h index 76c0379..5a216a9 100644 --- a/source/file.h +++ b/source/file.h @@ -4,16 +4,15 @@ #include "filetarget.h" /** -Just an arbitary file. No special meaning attached. +Just an arbitrary 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