X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpackage.h;h=14b343d9687227599a865130fa6fbe28dbe596cf;hb=d701ca81b781cd061fd60244312b0316cf5bf4d9;hp=e63fd77ff09fd26d50ba670e1c33a129a0ff12ab;hpb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;p=builder.git diff --git a/source/package.h b/source/package.h index e63fd77..14b343d 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 &); }; @@ -62,6 +59,11 @@ public: protected: virtual void do_configure(const StringMap &, unsigned) { } virtual void create_build_info() { } + +public: + virtual void create_targets() { } + + virtual void save_caches() { } }; #endif