From 67c0ceaa7562310a62a7d11e96f1d558950660b5 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Thu, 9 Aug 2012 19:21:39 +0200 Subject: prepare watchlet/notif lists --- libsowatch/registry.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'libsowatch') diff --git a/libsowatch/registry.h b/libsowatch/registry.h index 74e9388..b2e2b0e 100644 --- a/libsowatch/registry.h +++ b/libsowatch/registry.h @@ -3,6 +3,7 @@ #include #include +#include #include #include #include "sowatch_global.h" @@ -45,6 +46,18 @@ public: return _watchletIds.value(id, 0); } + inline QStringList allWatchDrivers() const { + return _driverIds.keys(); + } + + inline QStringList allNotificationProviders() const { + return _providerIds.keys(); + } + + inline QStringList allWatchlets() const { + return _watchletIds.keys(); + } + protected: Registry(); ~Registry(); -- cgit v1.2.3