]> git.tdb.fi Git - builder.git/blobdiff - source/copy.h
Move class PackageRef to its own files
[builder.git] / source / copy.h
index ade21dd2b446e9c06d5afd13f7a72cf8bb518154..018b3de8e6cac0b0df823403353a13568a40284b 100644 (file)
@@ -12,6 +12,7 @@ class Copy: public Action
 public:
        Copy(Builder &, const Package &, const Msp::Path::Path &, const Msp::Path::Path &);
        int check();
+       ~Copy();
 private:
        class Worker: public Msp::Thread
        {
@@ -29,7 +30,7 @@ private:
 
        Msp::Path::Path src;
        Msp::Path::Path dest;
-       Worker worker;
+       Worker *worker;
 };
 
 #endif