]> git.tdb.fi Git - builder.git/blobdiff - source/pkgconfig.h
Reorder class members
[builder.git] / source / pkgconfig.h
index f88e248cb4b5d3327a55a1d825383bf07eb7b83e..b4d4d3b9f0194c7b1cc874aaed0528502724853a 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
 */
 
@@ -16,12 +16,14 @@ Creates a .pc file to enable other packages fetch build options with pkg-config.
 */
 class PkgConfig: public Target
 {
+private:
+       const Package &pkg;
+
 public:
        PkgConfig(Builder &, const SourcePackage &);
-       const char *get_type() const { return "PkgConfig"; }
-       Action     *build();
+       virtual const char *get_type() const { return "PkgConfig"; }
 private:
-       const Package &pkg;
+       virtual Action *create_action();
 };
 
 #endif