summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/hwlibdaemons/tdedbus/interfaces/org.trinitydesktop.hardwarecontrol.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdehw/hwlibdaemons/tdedbus/interfaces/org.trinitydesktop.hardwarecontrol.xml')
-rw-r--r--tdecore/tdehw/hwlibdaemons/tdedbus/interfaces/org.trinitydesktop.hardwarecontrol.xml96
1 files changed, 96 insertions, 0 deletions
diff --git a/tdecore/tdehw/hwlibdaemons/tdedbus/interfaces/org.trinitydesktop.hardwarecontrol.xml b/tdecore/tdehw/hwlibdaemons/tdedbus/interfaces/org.trinitydesktop.hardwarecontrol.xml
new file mode 100644
index 000000000..ce7504703
--- /dev/null
+++ b/tdecore/tdehw/hwlibdaemons/tdedbus/interfaces/org.trinitydesktop.hardwarecontrol.xml
@@ -0,0 +1,96 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="/org/trinitydesktop/hardwarecontrol">
+ <interface name="org.trinitydesktop.hardwarecontrol.Brightness">
+ <method name="CanSetBrightness">
+ <arg name="device" direction="in" type="s" />
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="SetBrightness">
+ <arg name="device" direction="in" type="s" />
+ <arg name="brightness" direction="in" type="s" />
+ <arg name="value" direction="out" type="b" />
+ </method>
+ </interface>
+ <interface name="org.trinitydesktop.hardwarecontrol.CPUGovernor">
+ <method name="CanSetCPUGovernor">
+ <arg name="cpu" direction="in" type="i" />
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="SetCPUGovernor">
+ <arg name="cpu" direction="in" type="i" />
+ <arg name="governor" direction="in" type="s" />
+ <arg name="value" direction="out" type="b" />
+ </method>
+ </interface>
+ <interface name="org.trinitydesktop.hardwarecontrol.InputEvents">
+ <method name="GetProvidedSwitches">
+ <arg name="device" direction="in" type="s" />
+ <arg name="value" direction="out" type="au" />
+ </method>
+ <method name="GetActiveSwitches">
+ <arg name="device" direction="in" type="s" />
+ <arg name="value" direction="out" type="au" />
+ </method>
+ </interface>
+ <interface name="org.trinitydesktop.hardwarecontrol.Power">
+ <method name="CanStandby">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="Standby">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="CanFreeze">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="Freeze">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="CanSuspend">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="Suspend">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="CanHibernate">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="Hibernate">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="CanHybridSuspend">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="HybridSuspend">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="CanSetHibernationMethod">
+ <arg name="value" direction="out" type="b" />
+ </method>
+ <method name="SetHibernationMethod">
+ <arg name="method" direction="in" type="s" />
+ <arg name="value" direction="out" type="b" />
+ </method>
+ </interface>
+ <interface name="org.freedesktop.DBus.Properties">
+ <method name="Get">
+ <arg name="interface" type="s" direction="in"/>
+ <arg name="name" type="s" direction="in"/>
+ <arg name="value" type="v" direction="out"/>
+ </method>
+ <method name="Set">
+ <arg name="interface" type="s" direction="in"/>
+ <arg name="name" type="s" direction="in"/>
+ <arg name="value" type="v" direction="in"/>
+ </method>
+ <method name="GetAll">
+ <arg name="interface" type="s" direction="in"/>
+ <arg name="properties" type="a{sv}" direction="out"/>
+ </method>
+ <signal name="PropertiesChanged">
+ <arg name="interface" type="s"/>
+ <arg name="changed_properties" type="a{sv}"/>
+ <arg name="invalidated_properties" type="as"/>
+ </signal>
+ </interface>
+</node>