5 #include <msp/parser/loader.h>
6 #include <msp/path/path.h>
14 class Loader: public Msp::Parser::Loader
18 Component &get_object() { return comp; }
22 void source(const std::string &);
33 Component(Package &, Type, const std::string &);
34 const Package &get_package() const { return pkg; }
35 Type get_type() const { return type; }
36 const std::string &get_name() const { return name; }
37 const Msp::Path::Path &get_source() const { return source; }
38 const BuildInfo &get_build_info() const { return build_info; }
39 bool get_install() const { return install; }
40 const std::string &get_install_headers() const { return install_headers; }
41 void create_build_info();
46 Msp::Path::Path source;
48 std::string install_headers;
51 typedef std::list<Component> ComponentList;