]> git.tdb.fi Git - builder.git/blobdiff - source/install.h
Reorder class members
[builder.git] / source / install.h
index 672161580c8ee3b2bc67b5ac5d7d8396c3d62f2b..41b43828e8a3304e546084d20756e7be33f3f75f 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-200 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -18,11 +18,12 @@ class Install: public Target
 {
 public:
        Install(Builder &, const SourcePackage &, Target &);
-       const char *get_type() const { return "Install"; }
-       void       check_rebuild();
-       Action     *build();
+       virtual const char *get_type() const { return "Install"; }
 private:
-       std::string generate_target_name(const Target &);
+       virtual void check_rebuild();
+       virtual Action *create_action();
+
+       static std::string generate_target_name(const Target &);
 };
 
 #endif