]> git.tdb.fi Git - builder.git/blobdiff - source/install.h
Split class Package into SourcePackage and BinaryPackage
[builder.git] / source / install.h
index bdabc6e7c3853afd87d5425ba42f10bf14db25a4..672161580c8ee3b2bc67b5ac5d7d8396c3d62f2b 100644 (file)
@@ -8,6 +8,7 @@ Distributed under the LGPL
 #ifndef INSTALL_H_
 #define INSTALL_H_
 
+#include "sourcepackage.h"
 #include "target.h"
 
 /**
@@ -16,7 +17,7 @@ Represents the installation of a file.
 class Install: public Target
 {
 public:
-       Install(Builder &, const Package &, Target &);
+       Install(Builder &, const SourcePackage &, Target &);
        const char *get_type() const { return "Install"; }
        void       check_rebuild();
        Action     *build();