~chunsang/+junk/powerd

« back to all changes in this revision

Viewing changes to data/com.canonical.powerd.xml

  • Committer: Matthew Fischer
  • Date: 2013-05-14 19:57:42 UTC
  • mto: (9.5.1 mfisch)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: matthew.fischer@canonical.com-20130514195742-0vcbjaom3hncq51u
initial code that talks on dbus

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<node name="/">
 
3
  <interface name="com.canonical.powerd">
 
4
    <!-- Properties -->
 
5
      <property name="SystemPowerState" type="s" access="read" />
 
6
      <property name="DisplayPowerState" type="s" access="read" />
 
7
 
 
8
    <!-- Functions -->
 
9
    <method name="requestState">
 
10
      <arg type="s" name="requestName" direction="in" />
 
11
      <arg type="i" name="requestState" direction="in" />
 
12
    </method>
 
13
 
 
14
    <!-- for debug/testing -->
 
15
    <method name="listRequests">
 
16
    </method>
 
17
 
 
18
    <!-- Signals -->
 
19
      <!-- None -->
 
20
    </interface>
 
21
</node>