]> git.tdb.fi Git - builder.git/blobdiff - source/config.h
Package configuration is cached
[builder.git] / source / config.h
index e5c90de0ce597f5bb14607a0f0b0e49481682202..9a73880ac887f331e9eae93d0ccbd48892aff7fd 100644 (file)
@@ -30,9 +30,16 @@ public:
        bool is_option(const std::string &) const;
        bool process(const RawOptionMap &);
        void load(const Msp::Path::Path &); 
+       void save(const Msp::Path::Path &) const;
 private:
        class Loader: public Msp::Parser::Loader
        {
+       public:
+               Loader(Config &);
+       private:
+               Config &conf;
+               
+               void option(const std::string &, const std::string &);
        };
        
        OptionMap options;