Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/dbus/org.freedesktop.Notifications.xml
- This file was moved from dataengines/notifications/org.freedesktop.Notifications.xml.
Show All 27 Lines | 27 | <method name="GetCapabilities"> | |||
---|---|---|---|---|---|
28 | <arg type="as" name="caps" direction="out"/> | 28 | <arg type="as" name="caps" direction="out"/> | ||
29 | </method> | 29 | </method> | ||
30 | <method name="GetServerInformation"> | 30 | <method name="GetServerInformation"> | ||
31 | <arg type="s" name="name" direction="out"/> | 31 | <arg type="s" name="name" direction="out"/> | ||
32 | <arg type="s" name="vendor" direction="out"/> | 32 | <arg type="s" name="vendor" direction="out"/> | ||
33 | <arg type="s" name="version" direction="out"/> | 33 | <arg type="s" name="version" direction="out"/> | ||
34 | <arg type="s" name="spec_version" direction="out"/> | 34 | <arg type="s" name="spec_version" direction="out"/> | ||
35 | </method> | 35 | </method> | ||
36 | | ||||
37 | <!-- Inhibitions --> | ||||
38 | <method name="Inhibit"> | ||||
39 | <annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="QVariantMap"/> | ||||
40 | <arg type="u" direction="out"/> | ||||
41 | <arg name="desktop_entry" type="s" direction="in"/> | ||||
42 | <arg name="reason" type="s" direction="in"/> | ||||
43 | <arg name="hints" type="a{sv}" direction="in"/> | ||||
44 | </method> | ||||
45 | | ||||
46 | <method name="UnInhibit"> | ||||
47 | <arg type="u" direction="in"/> | ||||
48 | </method> | ||||
49 | | ||||
50 | <property name="Inhibited" type="b" access="read"> | ||||
51 | <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/> | ||||
52 | </property> | ||||
53 | | ||||
54 | <!--<method name="ListInhibitors"> | ||||
55 | <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList<Inhibition>"/> | ||||
56 | <arg name="inhibitors" type="a(ssa{sv})" direction="out"/> | ||||
57 | </method>--> | ||||
ngraham: Why is this commented out? Should it just be deleted instead? Or is it supposed to be used? | |||||
Was supposed to be a way for apps to query who's holding an inhibition but since it's inside plasmashell anyway I can just use that directly from the plasmoid without "polluting" the public API. Apps, if even needed, can query Inhibited property to see whether it's enabled or not broulik: Was supposed to be a way for apps to query who's holding an inhibition but since it's inside… | |||||
58 | | ||||
36 | </interface> | 59 | </interface> | ||
37 | </node> | 60 | </node> |
Why is this commented out? Should it just be deleted instead? Or is it supposed to be used?