diff --git a/dbus/org.kde.screensaver.xml b/dbus/org.kde.screensaver.xml --- a/dbus/org.kde.screensaver.xml +++ b/dbus/org.kde.screensaver.xml @@ -7,5 +7,27 @@ + + + + + + + + + + + + + + + + + + + diff --git a/interface.h b/interface.h --- a/interface.h +++ b/interface.h @@ -109,6 +109,12 @@ // org.kde.screensvar void configure(); + // notifications (org.kde.screensaver) + void Notify(uint id, const QString &app_name, uint replaces_id, const QString &app_icon, + const QString &summary, const QString &body, const QStringList &actions, + const QVariantMap &hints, int timeout); + void CloseNotification(uint id); + Q_SIGNALS: // DBus signals void ActiveChanged(bool state); diff --git a/interface.cpp b/interface.cpp --- a/interface.cpp +++ b/interface.cpp @@ -210,5 +210,16 @@ m_lockReplies.clear(); } +void Interface::Notify(uint id, const QString &app_name, uint replaces_id, const QString &app_icon, + const QString &summary, const QString &body, const QStringList &actions, + const QVariantMap &hints, int timeout) +{ +} + +void Interface::CloseNotification(uint id) +{ +} + + } // namespace diff --git a/protocols/ksld.xml b/protocols/ksld.xml --- a/protocols/ksld.xml +++ b/protocols/ksld.xml @@ -1,6 +1,6 @@ - + @@ -21,6 +21,20 @@ + + + + + + + + + + + + + +