<table><tr><td style="">bshah created this revision.<br />bshah added reviewers: Plasma, broulik, davidedmundson.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />bshah requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28509">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This allows one to subscribe to notifications from notification server.<br />
Currently it is mostly RFC, and there's several todo before this can be<br />
actually useful,</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Don't dispatch all the notification, have some method of authentication</li>
<li class="remarkup-list-item">Provide a simpler notification model which can be used along with the notification</li>
<li class="remarkup-list-item">Way to interact with notifications (actions)</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>tested using very simple QML</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">import QtQuick 2.0
import org.kde.notificationmanager 1.1 as Notifications

Rectangle {
    id: red
    height: 200
    width: 200
    color: "green"
    Notifications.NotificationWatcher {
        id: foo
    }
}</pre></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>bshah/notification-watcher</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28509">https://phabricator.kde.org/D28509</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>libnotificationmanager/CMakeLists.txt<br />
libnotificationmanager/dbus/org.freedesktop.Notifications.xml<br />
libnotificationmanager/declarative/notificationmanagerplugin.cpp<br />
libnotificationmanager/notificationwatcher.cpp<br />
libnotificationmanager/notificationwatcher.h<br />
libnotificationmanager/server_p.cpp<br />
libnotificationmanager/server_p.h</div></div></div><br /><div><strong>To: </strong>bshah, Plasma, broulik, davidedmundson<br /><strong>Cc: </strong>nicolasfella, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>