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