X-Git-Url: http://git.tdb.fi/?p=builder.git;a=blobdiff_plain;f=source%2Fcomponent.h;h=0e1efad028d5d627b69e6e59f32c5b4d60ce7d34;hp=1fbe3def1ae54bcc5aaf48c23c60f81595a9ac04;hb=e3407687a61bce56912b89818a9d9f006e9da41f;hpb=8f8f10fe41bbb68866e8fb05f8cbab0b325dc7da 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 &);