X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffile.h;h=13fa4e28e9e0b86396d778b69e773b77471d2325;hb=1fdef3ec9d6291af8a467ea0e2c90e7f19141ae2;hp=ba8f9b42bfcea925fe967eacaf62d9d976d186da;hpb=5006279d7b92e578ecfa8a04186f675c6b9f1eea;p=builder.git diff --git a/source/file.h b/source/file.h index ba8f9b4..13fa4e2 100644 --- a/source/file.h +++ b/source/file.h @@ -11,12 +11,13 @@ Distributed under the LGPL #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, 0, t) { } + File(Builder &b, Package &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; }