diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-07 21:16:35 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-07 21:16:35 +0000 |
| commit | 137a0c4e596409a1d35f0f6ea1bd6e4fcd5a3831 (patch) | |
| tree | c8af9cd55971bd8eede10daa01843647c280dc0c /src/Configuration.hh | |
| parent | 32c13697524e01a21e5b667188cad73434693ecb (diff) | |
allow style options in the rc file to override those found in the style
Diffstat (limited to 'src/Configuration.hh')
| -rw-r--r-- | src/Configuration.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Configuration.hh b/src/Configuration.hh index 6909c799..b26541fd 100644 --- a/src/Configuration.hh +++ b/src/Configuration.hh @@ -37,8 +37,8 @@ */ class Configuration { public: - explicit Configuration(const std::string &file); - Configuration(); + explicit Configuration(const std::string &file, bool autosave = True); + Configuration(bool autosave = True); virtual ~Configuration(); inline const std::string &file() const { @@ -58,6 +58,7 @@ public: void save(); bool load(); + bool merge(const std::string &file, bool overwrite = False); void create(); void setValue(const std::string &rname, bool value); |
