kdeconnect-kde/interfaces/systeminterfaces/org.freedesktop.ScreenSaver.xml
Albert Vaca Cintora 59adbc2da4 Move all generated dbus interfaces to kdeconnectinterfaces exclude them from clazy
* Moves the XML definitions of DBus interfaces and code generation from the different plugins
  to kdeconnectinterfaces. Before each plugin had their own, some of them duplicated.
* Appends `// clazy:skip` to the generated interface files, so Clazy doesn't emit warnings
  about them because they are missing the NOTIFY/CONSTANT keywords on Q_PROPERTIES.
* Makes kdeconnectinterfaces static on Qt5 as well (removes a difference with Qt6).
* Moves the generated files to a `generated` directory and updates the includes so they are
  easily distinguished from other header files.
2023-07-24 12:18:47 +00:00

46 lines
1.5 KiB
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.ScreenSaver">
<signal name="ActiveChanged">
<arg type="b"/>
</signal>
<method name="Lock"/>
<method name="SimulateUserActivity"/>
<method name="GetActive">
<arg direction="out" type="b"/>
</method>
<method name="GetActiveTime">
<arg direction="out" type="u" name="seconds"/>
</method>
<method name="GetSessionIdleTime">
<arg direction="out" type="u" name="seconds"/>
</method>
<method name="SetActive">
<arg direction="out" type="b"/>
<arg direction="in" type="b" name="e"/>
</method>
<method name="Inhibit">
<arg direction="in" type="s" name="application_name"/>
<arg direction="in" type="s" name="reason_for_inhibit"/>
<arg direction="out" type="u" name="cookie"/>
</method>
<method name="UnInhibit">
<arg direction="in" type="u" name="cookie"/>
</method>
<method name="Throttle">
<arg direction="in" type="s" name="application_name"/>
<arg direction="in" type="s" name="reason_for_inhibit"/>
<arg direction="out" type="u" name="cookie"/>
</method>
<method name="UnThrottle">
<arg direction="in" type="u" name="cookie"/>
</method>
</interface>
<interface name="org.kde.screensaver">
<method name="SwitchUser"/>
<method name="configure"/>
<signal name="AboutToLock"/>
</interface>
</node>