X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpackage.h;h=546a892ab409a58e258378868845eec4b80befa4;hb=0368a9c1972ff5fd6cd8984901ff0bdbd86afc9f;hp=e107abc273fd1f691ef7d31cc55cfd36d3197d6d;hpb=102de418e552cb1e1f91bb85954c4c101fdea82d;p=builder.git diff --git a/source/package.h b/source/package.h index e107abc..546a892 100644 --- a/source/package.h +++ b/source/package.h @@ -3,7 +3,7 @@ #include #include -#include +#include #include "buildinfo.h" class Builder; @@ -19,14 +19,11 @@ packages and the builderrc file for binary packages with no pkg-config support. class Package { public: - class Loader: public Msp::DataFile::Loader + class Loader: public Msp::DataFile::ObjectLoader { public: Loader(Package &); - Package &get_object() { return pkg; } - protected: - Package &pkg; - + private: void require(const std::string &); };