diff options
-rw-r--r-- | src/Daemon/Settings.cpp | 6 | ||||
-rw-r--r-- | src/Daemon/Settings.h | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/Daemon/Settings.cpp b/src/Daemon/Settings.cpp index 2c1f3203..2c520431 100644 --- a/src/Daemon/Settings.cpp +++ b/src/Daemon/Settings.cpp @@ -6,7 +6,11 @@ #define SECTION_ANALYZER_ACTIONS_AND_REPORTERS "AnalyzerActionsAndReporters" #define SECTION_CRON "Cron" -#include <iostream> +CSettings::CSettings() : + m_bOpenGPGCheck(false), + m_nMaxCrashReportsSize(1000) +{} + void CSettings::LoadSettings(const std::string& pPath) { std::ifstream fIn; diff --git a/src/Daemon/Settings.h b/src/Daemon/Settings.h index 437d41aa..ccedd726 100644 --- a/src/Daemon/Settings.h +++ b/src/Daemon/Settings.h @@ -35,13 +35,14 @@ class CSettings void ParseCommon(); void ParseAnalyzerActionsAndReporters(); - void ParseCron(); + void ParseCron(); set_strings_t ParseList(const std::string& pList); vector_pair_strings_t ParseListWithArgs(const std::string& pList); set_strings_t ParseKey(const std::string& pKey); public: + CSettings(); void LoadSettings(const std::string& pPath); const set_strings_t& GetBlackList(); const set_strings_t& GetEnabledPlugins(); |