X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcomponent.h;h=5f1332fcb40f8a947dc858b0a2ff0cce0f3d1935;hb=5881b8499dc159564d2f69c3b037e16b4d1af4db;hp=561a25091381bb4eb5838d1aa0b34b4f9fb89793;hpb=bd61d7fbd0ba77356b6def1dd20f8cebe31de182;p=builder.git diff --git a/source/component.h b/source/component.h index 561a250..5f1332f 100644 --- a/source/component.h +++ b/source/component.h @@ -54,6 +54,7 @@ protected: public: Component(SourcePackage &, Type, const std::string &); + const SourcePackage &get_package() const { return pkg; } Type get_type() const { return type; } const std::string &get_name() const { return name; } @@ -77,6 +78,4 @@ protected: PathList collect_source_files() const; }; -typedef std::list ComponentList; - #endif