]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.h
Get rid of the install flags, which weren't entirely correct anyway
[builder.git] / source / sourcepackage.h
index 11f47940dc29f8712a79cd1da203bfe39d52d19d..fa1492d61605862b4eb44f54706f03b229c957ab 100644 (file)
@@ -26,14 +26,6 @@ A package that can be built by Builder.
 class SourcePackage: public Package
 {
 public:
-       enum InstallFlags
-       {
-               INCLUDE = 1,
-               BIN = 2,
-               LIB = 4,
-               DATA = 8
-       };
-
        class Loader: public Msp::DataFile::DerivedObjectLoader<SourcePackage, Package>
        {
        private:
@@ -79,10 +71,6 @@ public:
        const BuildInfo &get_exported_binfo() const { return export_binfo; }
        Builder &get_builder() const { return builder; }
 
-       /** Returns a bitmask indicating which kinds of things the components of
-       this package install. */
-       unsigned get_install_flags();
-
        LibMode get_library_mode() const;
        DependencyCache &get_deps_cache() const { return deps_cache; }
        std::string expand_string(const std::string &) const;
@@ -97,6 +85,8 @@ private:
        virtual void create_build_info();
 
        virtual void create_targets();
+
+       virtual void save_caches();
 };
 
 #endif