mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00

this was once on the TODO:
618622f767...fe9d951f17
the org.freedesktop.PowerManagement interface will be there for
compatibility only now since it is obsolete:
https://www.freedesktop.org/wiki/Specifications/power-management-spec/
side note:
powerdevil inhibition was broken
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
20 lines
742 B
XML
20 lines
742 B
XML
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
<node>
|
|
<interface name="org.freedesktop.PowerManagement.Inhibit">
|
|
<method name="Inhibit">
|
|
<arg type="s" name="application" direction="in"/>
|
|
<arg type="s" name="reason" direction="in"/>
|
|
<arg type="u" name="cookie" direction="out"/>
|
|
</method>
|
|
<method name="UnInhibit">
|
|
<arg type="u" name="cookie" direction="in"/>
|
|
</method>
|
|
|
|
<signal name="HasInhibitChanged">
|
|
<arg type="b" name="has_inhibit" direction="out"/>
|
|
</signal>
|
|
<method name="HasInhibit">
|
|
<arg type="b" name="has_inhibit" direction="out"/>
|
|
</method>
|
|
</interface>
|
|
</node>
|