X-Git-Url: http://git.tdb.fi/?p=builder.git;a=blobdiff_plain;f=source%2Fsourcepackage.h;h=5a1eddde5bd1b2793cf9b8e03b90ec9544434725;hp=ed8ad40f7275f9d5ac364a3f7971cf805b31b050;hb=e3407687a61bce56912b89818a9d9f006e9da41f;hpb=8f8f10fe41bbb68866e8fb05f8cbab0b325dc7da diff --git a/source/sourcepackage.h b/source/sourcepackage.h index ed8ad40..5a1eddd 100644 --- a/source/sourcepackage.h +++ b/source/sourcepackage.h @@ -6,6 +6,7 @@ #include "buildinfo.h" #include "cache.h" #include "component.h" +#include "conditionalloader.h" #include "config.h" #include "feature.h" #include "package.h" @@ -22,7 +23,7 @@ A package that can be built by Builder. class SourcePackage: public Package { public: - class Loader: public Msp::DataFile::DerivedObjectLoader + class Loader: public Msp::DataFile::DerivedObjectLoader, public FeatureConditional { private: const Config::InputOptions *options; @@ -40,7 +41,6 @@ public: void component_arg(const std::string &); void build_info(); void generate(const std::string &); - void if_feature(const std::string &); void interface_version(const std::string &); void source_archive(); void tarball(const std::string &);