summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SwifTools/Notifier')
-rw-r--r--SwifTools/Notifier/Notifier.cpp4
-rw-r--r--SwifTools/Notifier/Notifier.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/SwifTools/Notifier/Notifier.cpp b/SwifTools/Notifier/Notifier.cpp
index 44fe2a8..c03970b 100644
--- a/SwifTools/Notifier/Notifier.cpp
+++ b/SwifTools/Notifier/Notifier.cpp
@@ -8,8 +8,8 @@
namespace Swift {
-const int Notifier::DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS;
-const int Notifier::DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS;
+const int Notifier::DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS = 3;
+const int Notifier::DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS = 5;
Notifier::Notifier() : enabled(true) {
}
diff --git a/SwifTools/Notifier/Notifier.h b/SwifTools/Notifier/Notifier.h
index 76d6382..aacaf7e 100644
--- a/SwifTools/Notifier/Notifier.h
+++ b/SwifTools/Notifier/Notifier.h
@@ -48,8 +48,8 @@ namespace Swift {
static std::vector<Type> getAllTypes();
static std::vector<Type> getDefaultTypes();
- static const int DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS = 3;
- static const int DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS = 5;
+ static const int DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS;
+ static const int DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS;
private:
bool enabled;