summaryrefslogtreecommitdiff
path: root/groupexplode/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'groupexplode/config.cpp')
-rw-r--r--groupexplode/config.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/groupexplode/config.cpp b/groupexplode/config.cpp
index 59f87f0..740fd9d 100644
--- a/groupexplode/config.cpp
+++ b/groupexplode/config.cpp
@@ -27,6 +27,7 @@
bool Config::m_init=false;
bool Config::m_rmOrig=false;
+bool Config::m_collate=false;
void Config::Load()
{
@@ -35,12 +36,14 @@ void Config::Load()
m_init=true;
m_rmOrig=false;
+ m_collate=true;
#if REGISTRY_USAGE!=0
W32DLib::Registry r(HKEY_CURRENT_USER,KEY);
r.Read("RemoveOriginal",m_rmOrig);
+ r.Read("Collate",m_collate);
#endif
@@ -54,9 +57,13 @@ void Config::Save()
W32DLib::Registry r(HKEY_CURRENT_USER,KEY,REGISTRY_USAGE==2);
r.Write("RemoveOriginal",m_rmOrig);
+ r.Write("Collate",m_collate);
#endif
}
bool Config::RemoveOriginal() {return m_rmOrig;}
void Config::RemoveOriginal(bool flag) {m_rmOrig=flag;}
+
+bool Config::Collate() {return m_collate;}
+void Config::Collate(bool flag) {m_collate=flag;}