X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.h;h=0e1efad028d5d627b69e6e59f32c5b4d60ce7d34;hb=407b96515a5246384847d1835a2d69704e941ea1;hp=1fbe3def1ae54bcc5aaf48c23c60f81595a9ac04;hpb=11b4732f81396aa3d8b0fc8928b8e1981032e743;p=builder.git diff --git a/source/component.h b/source/component.h index 1fbe3de..0e1efad 100644 --- a/source/component.h +++ b/source/component.h @@ -5,6 +5,7 @@ #include #include #include "buildinfo.h" +#include "conditionalloader.h" #include "installmap.h" #include "package.h" @@ -19,14 +20,12 @@ their own. class Component { public: - class Loader: public Msp::DataFile::ObjectLoader + class Loader: public Msp::DataFile::ObjectLoader, public ConditionalLoader { public: Loader(Component &); private: void build_info(); - void if_arch(const std::string &); - void if_feature(const std::string &); void install_map(); void overlay(const std::string &); void require(const std::string &);