3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
11 #include <msp/core/thread.h>
12 #include <msp/path/path.h>
18 Copies a file to another place. Used by the Install target.
20 class Copy: public Action
23 Copy(Builder &, const Package &, const Msp::Path::Path &, const Msp::Path::Path &);
28 A worker thread that actually does the data transfer.
30 class Worker: public Msp::Thread
33 Worker(Copy &i): copy(i), done(false), error(false) { launch(); }
34 bool get_done() const { return done; }
35 bool get_error() const { return error; }