aboutsummaryrefslogtreecommitdiffstats
path: root/notify.h
diff options
context:
space:
mode:
Diffstat (limited to 'notify.h')
-rw-r--r--notify.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/notify.h b/notify.h
index 10423ee..69e8730 100644
--- a/notify.h
+++ b/notify.h
@@ -23,6 +23,12 @@ class Notifier {
bool initialized_;
};
+class NullNotifier : public Notifier {
+ public:
+ virtual ~NullNotifier() {}
+ virtual void Notify(enum NotificationType, long, bool) {}
+};
+
class CommandLineNotifier : public Notifier {
public:
virtual ~CommandLineNotifier() {}