X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarypackage.h;h=b47d468fe138ccf761c64d88b1f3169c2b3a51f6;hb=3f541fceb5aeb5d685ceb2363ebbca1cb1c3eb84;hp=ff077f8c362ed385ce09152517038c0de3536977;hpb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;p=builder.git diff --git a/source/binarypackage.h b/source/binarypackage.h index ff077f8..b47d468 100644 --- a/source/binarypackage.h +++ b/source/binarypackage.h @@ -10,11 +10,10 @@ 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(); }; @@ -34,7 +33,7 @@ public: bool get_need_path() const { return need_path; } - static BinaryPackage *from_pkgconfig(Builder &, const std::string &); + static BinaryPackage *from_flags(Builder &, const std::string &, const std::vector &); private: virtual void create_build_info(); };