~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to powerdevil/daemon/backends/upower/dbus/org.freedesktop.UPower.KbdBacklight.xml

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE node PUBLIC
 
2
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
 
3
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" [
 
4
  <!ENTITY ERROR_GENERAL "org.freedesktop.UPower.GeneralError">
 
5
]>
 
6
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
 
7
  <interface name="org.freedesktop.UPower.KbdBacklight">
 
8
    <doc:doc>
 
9
      <doc:description>
 
10
        <doc:para>
 
11
          org.freedesktop.UPower.KbdBacklight is a DBus interface implimented
 
12
          by UPower.
 
13
          It allows the keyboard backlight (if present) to be controlled.
 
14
        </doc:para>
 
15
      </doc:description>
 
16
    </doc:doc>
 
17
 
 
18
    <!-- ************************************************************ -->
 
19
    <method name="GetMaxBrightness">
 
20
      <arg name="value" direction="out" type="i">
 
21
        <doc:doc>
 
22
          <doc:summary>
 
23
            The maximum value of the keyboard backlight brightness.
 
24
          </doc:summary>
 
25
        </doc:doc>
 
26
      </arg>
 
27
      <doc:doc>
 
28
        <doc:description>
 
29
          <doc:para>
 
30
            Get the maximum brightness level for the keyboard backlight.
 
31
          </doc:para>
 
32
        </doc:description>
 
33
        <doc:errors>
 
34
          <doc:error name="&ERROR_GENERAL;">if an error occured while getting the maximum brightness</doc:error>
 
35
        </doc:errors>
 
36
      </doc:doc>
 
37
    </method>
 
38
 
 
39
    <!-- ************************************************************ -->
 
40
    <method name="GetBrightness">
 
41
      <arg name="value" direction="out" type="i">
 
42
        <doc:doc>
 
43
          <doc:summary>
 
44
            The current value of the keyboard backlight brightness.
 
45
          </doc:summary>
 
46
        </doc:doc>
 
47
      </arg>
 
48
      <doc:doc>
 
49
        <doc:description>
 
50
          <doc:para>
 
51
            Get the brightness level of the keyboard backlight.
 
52
          </doc:para>
 
53
        </doc:description>
 
54
        <doc:errors>
 
55
          <doc:error name="&ERROR_GENERAL;">if an error occured while getting the brightness</doc:error>
 
56
        </doc:errors>
 
57
      </doc:doc>
 
58
    </method>
 
59
 
 
60
    <!-- ************************************************************ -->
 
61
    <method name="SetBrightness">
 
62
      <arg name="value" direction="in" type="i">
 
63
        <doc:doc>
 
64
          <doc:summary>
 
65
            The value to set the KbdBacklight brightness.
 
66
          </doc:summary>
 
67
        </doc:doc>
 
68
      </arg>
 
69
      <doc:doc>
 
70
        <doc:description>
 
71
          <doc:para>
 
72
            Set the brightness level of the keyboard backlight.
 
73
          </doc:para>
 
74
        </doc:description>
 
75
        <doc:errors>
 
76
          <doc:error name="&ERROR_GENERAL;">if an error occured while setting the brightness</doc:error>
 
77
        </doc:errors>
 
78
      </doc:doc>
 
79
    </method>
 
80
 
 
81
    <!-- ************************************************************ -->
 
82
    <signal name="BrightnessChanged">
 
83
      <arg name="value" direction="out" type="i">
 
84
        <doc:doc>
 
85
          <doc:summary>
 
86
            The new brightness value of the keyboard backlight.
 
87
          </doc:summary>
 
88
        </doc:doc>
 
89
      </arg>
 
90
      <doc:doc>
 
91
        <doc:description>
 
92
          <doc:para>
 
93
            The keyboard backlight brightness level has changed.
 
94
          </doc:para>
 
95
        </doc:description>
 
96
      </doc:doc>
 
97
    </signal>
 
98
 
 
99
  </interface>
 
100
 
 
101
</node>