X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarypackage.h;h=cb054053b62d56d98eb65bc401a12ddbf01b988d;hb=23477a725988c3c896c2853c2417054c1310dabc;hp=8c0d0e9ec39c7a741c94fe908a8f92aa08d74803;hpb=1d687970cc35e54c3335f4aa2fdef23424fe0a06;p=builder.git diff --git a/source/binarypackage.h b/source/binarypackage.h index 8c0d0e9..cb05405 100644 --- a/source/binarypackage.h +++ b/source/binarypackage.h @@ -10,30 +10,16 @@ Builder. class BinaryPackage: public Package { public: - class Loader: public Package::Loader + class Loader: public Msp::DataFile::DerivedObjectLoader { public: Loader(BinaryPackage &); - BinaryPackage &get_object() { return static_cast(pkg); } private: 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 &); private: virtual void create_build_info();