]> git.tdb.fi Git - builder.git/blobdiff - source/packagemanager.h
Recent versions of sigc++ require C++11
[builder.git] / source / packagemanager.h
index 48c3c16fd4fcbdb486368fa2dfed5147af7f7b8b..b168d723e174739c3c652f376f7f1cefe407cda2 100644 (file)
@@ -49,7 +49,7 @@ public:
        void add_package(Package *);
 
        /** Returns a package from the cache. */
-       Package *get_package(const std::string &);
+       Package *get_package(const std::string &) const;
 
        /** Returns the package that was added first.  This should be considered
        the primary build target. */
@@ -71,6 +71,9 @@ private:
        /** Determines the file containing a binary package.  The file is expected
        to be named after the package. */
        Msp::FS::Path get_binary_package_file(const std::string &);
+
+public:
+       void save_all_caches() const;
 };
 
 #endif