]> git.tdb.fi Git - builder.git/blobdiff - source/copy.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / copy.h
diff --git a/source/copy.h b/source/copy.h
deleted file mode 100644 (file)
index bc4c173..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef COPY_H_
-#define COPY_H_
-
-#include <msp/core/thread.h>
-#include <msp/fs/path.h>
-#include "internalaction.h"
-
-class Package;
-
-/**
-Copies a file to another place.  Used by the Install target.
-*/
-class Copy: public InternalAction
-{
-private:
-       /**
-       A worker thread that actually does the data transfer.
-       */
-       class Worker: public InternalAction::Worker
-       {
-       public:
-               Worker(Copy &);
-       private:
-               Copy &copy;
-
-               void main();
-       };
-
-       Msp::FS::Path src;
-       Msp::FS::Path dest;
-       Msp::FS::Path link;
-
-public:
-       Copy(Builder &, const Package &, const Msp::FS::Path &, const Msp::FS::Path &, const Msp::FS::Path & =Msp::FS::Path());
-};
-
-#endif