diff options
Diffstat (limited to 'metawatchwatchlets/metawatchwatchletsplugin.cpp')
-rw-r--r-- | metawatchwatchlets/metawatchwatchletsplugin.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/metawatchwatchlets/metawatchwatchletsplugin.cpp b/metawatchwatchlets/metawatchwatchletsplugin.cpp index 31b66ab..98c1713 100644 --- a/metawatchwatchlets/metawatchwatchletsplugin.cpp +++ b/metawatchwatchlets/metawatchwatchletsplugin.cpp @@ -1,4 +1,5 @@ #include "metawatchfacewatchlet.h" +#include "metawatchnotificationwatchlet.h" #include "metawatchwatchletsplugin.h" using namespace sowatch; @@ -15,7 +16,7 @@ MetaWatchWatchletsPlugin::~MetaWatchWatchletsPlugin() QStringList MetaWatchWatchletsPlugin::watchlets() { QStringList l; - l << MetaWatchFaceWatchlet::myId; + l << MetaWatchFaceWatchlet::myId << MetaWatchNotificationWatchlet::myId; return l; } @@ -25,6 +26,9 @@ WatchletPluginInterface::WatchletInfo MetaWatchWatchletsPlugin::describeWatchlet if (id == MetaWatchFaceWatchlet::myId) { info.name = "MetaWatch Face Watchlet"; info.hidden = true; + } else if (id == MetaWatchNotificationWatchlet::myId) { + info.name = "MetaWatch Notification Watchlet"; + info.hidden = true; } return info; } @@ -34,6 +38,8 @@ Watchlet* MetaWatchWatchletsPlugin::getWatchlet(const QString& id, ConfigKey *se Q_UNUSED(settings); if (id == MetaWatchFaceWatchlet::myId) { return new MetaWatchFaceWatchlet(watch); + } else if (id == MetaWatchNotificationWatchlet::myId) { + return new MetaWatchNotificationWatchlet(watch); } } |