summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SwifTools/Notifier/NullNotifier.h')
-rw-r--r--SwifTools/Notifier/NullNotifier.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/SwifTools/Notifier/NullNotifier.h b/SwifTools/Notifier/NullNotifier.h
new file mode 100644
index 0000000..d278e4f
--- /dev/null
+++ b/SwifTools/Notifier/NullNotifier.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2010 Remko Tronçon
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+#include "SwifTools/Notifier/Notifier.h"
+
+namespace Swift {
+ class NullNotifier : public Notifier {
+ public:
+ virtual void showMessage(Type, const String&, const String&, const ByteArray&, boost::function<void()>) {
+ }
+ };
+}