Merge lp:~unity-api-team/urfkill/flightmode-doc into lp:urfkill

Proposed by Marcus Tomlinson
Status: Needs review
Proposed branch: lp:~unity-api-team/urfkill/flightmode-doc
Merge into: lp:urfkill
Diff against target: 77 lines (+60/-0)
1 file modified
data/org.freedesktop.URfkill.xml (+60/-0)
To merge this branch: bzr merge lp:~unity-api-team/urfkill/flightmode-doc
Reviewer Review Type Date Requested Status
Marius B. Kotsbak Pending
Review via email: mp+257336@code.launchpad.net

Commit message

Added missing "FlightMode" and "IsFlightMode" methods, and "FlightModeChanged" signal to org.freedesktop.URfkill.xml.

To post a comment you must log in.

Unmerged revisions

534. By Marcus Tomlinson

Added IsFlightMode method to org.freedesktop.URfkill.xml

533. By Pete Woods

More flight mode docs

532. By Pete Woods

Add FlightMode documentation

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/org.freedesktop.URfkill.xml'
2--- data/org.freedesktop.URfkill.xml 2011-12-05 09:02:40 +0000
3+++ data/org.freedesktop.URfkill.xml 2015-04-24 09:20:22 +0000
4@@ -151,6 +151,48 @@
5
6 <!-- ************************************************************ -->
7
8+ <method name="FlightMode">
9+ <arg type="b" name="block" direction="in">
10+ <doc:doc><doc:summary>
11+ TRUE of flight mode should be enabled, otherwise FALSE
12+ </doc:summary></doc:doc>
13+ </arg>
14+ <arg type="b" name="ret" direction="out">
15+ <doc:doc><doc:summary>
16+ TRUE if successful, otherwise FALSE
17+ </doc:summary></doc:doc>
18+ </arg>
19+
20+ <doc:doc>
21+ <doc:description>
22+ <doc:para>
23+ Enable or disable flight mode.
24+ </doc:para>
25+ </doc:description>
26+ </doc:doc>
27+ </method>
28+
29+ <!-- ************************************************************ -->
30+
31+ <method name="IsFlightMode">
32+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
33+ <arg type="b" name="is_flight_mode" direction="out">
34+ <doc:doc><doc:summary>
35+ TRUE if flight mode is enabled, otherwise FALSE
36+ </doc:summary></doc:doc>
37+ </arg>
38+
39+ <doc:doc>
40+ <doc:description>
41+ <doc:para>
42+ Get whether flight mode is enabled or not.
43+ </doc:para>
44+ </doc:description>
45+ </doc:doc>
46+ </method>
47+
48+ <!-- ************************************************************ -->
49+
50 <method name="IsInhibited">
51 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
52 <arg type="b" name="is_inhibited" direction="out">
53@@ -268,6 +310,24 @@
54
55 <!-- ************************************************************ -->
56
57+ <signal name="FlightModeChanged">
58+ <arg type="b" name="flight_mode" direction="out">
59+ <doc:doc><doc:summary>
60+ TRUE if flight mode has been enabled, otherwise FALSE
61+ </doc:summary></doc:doc>
62+ </arg>
63+
64+ <doc:doc>
65+ <doc:description>
66+ <doc:para>
67+ Emitted when flight mode is enabled or disabled.
68+ </doc:para>
69+ </doc:description>
70+ </doc:doc>
71+ </signal>
72+
73+ <!-- ************************************************************ -->
74+
75 <signal name="UrfkeyPressed">
76 <arg type="i" name="keycode" direction="out">
77 <doc:doc><doc:summary>

Subscribers

People subscribed via source and target branches