]> git.tdb.fi Git - builder.git/blobdiff - source/component.h
Miscellaneous minor code cleanups
[builder.git] / source / component.h
index 899abc37c81b21e7f41237ffb69b07145dd94fa4..c7ffce3ca88bf583844a1c3dc7546fbad425b73f 100644 (file)
@@ -47,10 +47,11 @@ public:
 
        enum Type
        {
+               HEADERS,
                PROGRAM,
                LIBRARY,
                MODULE,
-               HEADERS
+               TARBALL
        };
 
 protected:
@@ -73,9 +74,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. */