]> git.tdb.fi Git - builder.git/blobdiff - source/binarypackage.h
Collapse the virtual functions used during package preparation into one
[builder.git] / source / binarypackage.h
index b47d468fe138ccf761c64d88b1f3169c2b3a51f6..088c3e1eac2264dc94cf3a96de0a3e11b4947e30 100644 (file)
@@ -18,24 +18,11 @@ public:
                void build_info();
        };
 
-private:
-       bool need_path;
-       Msp::FS::Path path;
-
-public:
        BinaryPackage(Builder &, const std::string &);
 
-       /**
-       Sets the path where the package's files were installed.  This is only useful
-       if the package doesn't use pkg-config.
-       */
-       void set_path(const Msp::FS::Path &);
-
-       bool get_need_path() const { return need_path; }
-
        static BinaryPackage *from_flags(Builder &, const std::string &, const std::vector<std::string> &);
 private:
-       virtual void create_build_info();
+       virtual void do_prepare();
 };
 
 #endif