5 #include <msp/parser/loader.h>
6 #include <msp/path/path.h>
15 class Loader: public Msp::Parser::Loader
19 Component &get_object() { return comp; }
23 void source(const std::string &);
35 Component(Package &, Type, const std::string &);
36 const Package &get_package() const { return pkg; }
37 Type get_type() const { return type; }
38 const std::string &get_name() const { return name; }
39 const PathList &get_sources() const { return sources; }
40 const BuildInfo &get_build_info() const { return build_info; }
41 bool get_install() const { return install; }
42 const std::string &get_install_headers() const { return install_headers; }
43 void create_build_info();
50 std::string install_headers;
53 typedef std::list<Component> ComponentList;