]> git.tdb.fi Git - builder.git/blobdiff - source/copy.h
Make symlink a feature of the Install target rather than a target on its own
[builder.git] / source / copy.h
index 445de7bb9841433d573f60ca5c02794667de75de..bc4c173b140be542a47f35ff91282c7a91e3e9cd 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef COPY_H_
 #define COPY_H_
 
@@ -19,8 +12,6 @@ Copies a file to another place.  Used by the Install target.
 */
 class Copy: public InternalAction
 {
-public:
-       Copy(Builder &, const Package &, const Msp::FS::Path &, const Msp::FS::Path &);
 private:
        /**
        A worker thread that actually does the data transfer.
@@ -37,6 +28,10 @@ private:
 
        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