X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.h;h=3a358ce04f36b0770cea5251997d62d6d0ae2b8f;hb=af2dac0d09df4782060dd131f2a761e8a46a8d55;hp=b1b6aea994d3142ceb89f33dc3afb2c770c0790f;hpb=2edc25f87590bd81808792c3c38cab5ae8b94eb3;p=builder.git diff --git a/source/component.h b/source/component.h index b1b6aea..3a358ce 100644 --- a/source/component.h +++ b/source/component.h @@ -48,9 +48,11 @@ public: enum Type { HEADERS, - PROGRAM, LIBRARY, + PROGRAM, MODULE, + DATAFILE, + INSTALL, TARBALL }; @@ -74,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. */