summaryrefslogtreecommitdiff
path: root/libsowatch/watchlet.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/watchlet.h')
-rw-r--r--libsowatch/watchlet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsowatch/watchlet.h b/libsowatch/watchlet.h
index 09d2a9c..f32d495 100644
--- a/libsowatch/watchlet.h
+++ b/libsowatch/watchlet.h
@@ -9,6 +9,7 @@ namespace sowatch
class Watch;
class WatchServer;
+class Notification;
class NotificationsModel;
class SOWATCH_EXPORT Watchlet : public QObject
@@ -34,6 +35,9 @@ public:
// Some properties
virtual void setNotificationsModel(NotificationsModel *model);
+ virtual bool handlesNotification(Notification* notification) const;
+ virtual void openNotification(Notification* notification);
+
signals:
void activeChanged();
void activated();