4 #include <msp/core/thread.h>
5 #include <msp/path/path.h>
10 class Copy: public Action
13 Copy(Builder &, const Package &, const Msp::Path::Path &, const Msp::Path::Path &);
17 class Worker: public Msp::Thread
20 Worker(Copy &i): copy(i), done(false), error(false) { launch(); }
21 bool get_done() const { return done; }
22 bool get_error() const { return error; }