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,22 @@ + + + + + + + + + + + + + + + + + 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(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(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