summaryrefslogtreecommitdiff
path: root/libsowatch/watchserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/watchserver.cpp')
-rw-r--r--libsowatch/watchserver.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/libsowatch/watchserver.cpp b/libsowatch/watchserver.cpp
index 8d00088..942131f 100644
--- a/libsowatch/watchserver.cpp
+++ b/libsowatch/watchserver.cpp
@@ -26,6 +26,8 @@ void WatchServer::addProvider(NotificationProvider *provider)
connect(provider, SIGNAL(notification(Notification)), SLOT(notificationEmitted(Notification)));
connect(provider, SIGNAL(unreadCountChanged(Notification::Type)), SLOT(unreadCountUpdated(Notification::Type)));
+ connect(provider, SIGNAL(incomingCall(QString)), SLOT(incomingCall(QString)));
+ connect(provider, SIGNAL(endIncomingCall()), SLOT(endIncomingCall()));
_providers.append(provider);
}
@@ -85,3 +87,13 @@ void WatchServer::unreadCountUpdated(Notification::Type type)
}
_watch->updateNotificationCount(type, count);
}
+
+void WatchServer::incomingCall(const QString &displayText)
+{
+ qDebug() << "Incoming call" << displayText;
+}
+
+void WatchServer::endIncomingCall()
+{
+ qDebug() << "End incoming call";
+}