X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.h;h=5f20c161126752d0cf34194c857baa8306b53bab;hb=aa053d637e8259755af7d2e4b510a242f4d29c7b;hp=6150fadfefa660c287d8f2a850da098489f51893;hpb=338eefb513953ae55e8e3614c009c242ba8ad74e;p=builder.git diff --git a/source/copy.h b/source/copy.h index 6150fad..5f20c16 100644 --- a/source/copy.h +++ b/source/copy.h @@ -6,10 +6,10 @@ #include "internaltask.h" #include "tool.h" -class Install; +class InstalledFile; /** -Copies a file to another place. Used by the Install target. +Copies a file to another place. Used by the InstalledFile target. */ class Copy: public Tool { @@ -20,19 +20,19 @@ private: class Worker: public InternalTask::Worker { private: - const Install ⌖ + const InstalledFile ⌖ public: - Worker(const Install &); + Worker(const InstalledFile &); private: - virtual void main(); + void main() override; }; public: Copy(Builder &); - virtual Target *create_target(const std::list &, const std::string &) const; - virtual Task *run(const Target &) const; + Target *create_target(const std::vector &, const std::string &) override; + Task *run(const Target &) const override; }; #endif