]> git.tdb.fi Git - builder.git/blobdiff - source/install.h
Add Symlink target and associated action
[builder.git] / source / install.h
index 764d9a19bc20f8547ed484e281974eb840c32931..6c81af9e416e8d18ce915f1228918a3e6c4e76ad 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of builder
-Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-2010  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -20,14 +20,15 @@ private:
        FileTarget &source;
 
 public:
-       Install(Builder &, const SourcePackage &, FileTarget &);
+       Install(Builder &, const SourcePackage &, FileTarget &, const std::string & =std::string());
        virtual const char *get_type() const { return "Install"; }
        FileTarget &get_source() const { return source; }
+       virtual Target *get_real_target();
 private:
        virtual void check_rebuild();
        virtual Action *create_action();
 
-       static Msp::FS::Path generate_target_path(const FileTarget &);
+       static Msp::FS::Path generate_target_path(const FileTarget &i, const std::string &);
 };
 
 #endif