X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.h;h=3a358ce04f36b0770cea5251997d62d6d0ae2b8f;hb=49ee08bb6f63f6b3a8cdd3b7cf032dea9b2cba8a;hp=899abc37c81b21e7f41237ffb69b07145dd94fa4;hpb=96e132661ec82c9347f9155d3f30cd99ea8eca47;p=builder.git diff --git a/source/component.h b/source/component.h index 899abc3..3a358ce 100644 --- a/source/component.h +++ b/source/component.h @@ -47,10 +47,13 @@ public: enum Type { - PROGRAM, + HEADERS, LIBRARY, + PROGRAM, MODULE, - HEADERS + DATAFILE, + INSTALL, + TARBALL }; protected: @@ -73,9 +76,9 @@ public: const PathList &get_sources() const { return sources; } const BuildInfo &get_build_info() const { return build_info; } bool get_install() const { return install; } - bool get_modular() const { return modular; } + bool is_modular() const { return modular; } const PackageList &get_requires() const { return requires; } - bool get_default() const { return deflt; } + bool is_default() const { return deflt; } /** Prepares the build information for building. Pulls build info from the parent and dependency packages, and adds any component-specific flags. */