aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Luc Lamadon <jean-luc.lamadon@nokia.com>2010-11-02 15:46:57 +0200
committerJean-Luc Lamadon <jean-luc.lamadon@nokia.com>2010-11-02 15:46:57 +0200
commit65d6b3bda8820419da1e6499fe5eb00d9c088ecd (patch)
treefdfacd1bca0a12f8cee3e386a52f96dfee9a32d0
parent232b722d888075ba3dd70c50ebc06150b427c35c (diff)
Added System.OfflineMode to core properties
-rw-r--r--spec/core.context8
-rw-r--r--spec/core.types8
2 files changed, 10 insertions, 6 deletions
diff --git a/spec/core.context b/spec/core.context
index b79b13c4..41b93f92 100644
--- a/spec/core.context
+++ b/spec/core.context
@@ -171,6 +171,12 @@ Information about the current state of the device.
A boolean indicating whether or not power save mode is enabled.
</doc>
</key>
+ <key name="System.OfflineMode"
+ type="bool">
+ <doc>
+ A boolean indicating whether or not cellular radio is enabled.
+ </doc>
+ </key>
<doc>
Internet connectivity
@@ -296,9 +302,7 @@ The signal strength at the cellular radio, in percent of the maximum.
</key>
<key name="Cellular.SignalBars">
<type>
- <base>
<integer min="0" max="5"/>
- </base>
</type>
<doc>
The signal strength at the cellular radio, in bars.
diff --git a/spec/core.types b/spec/core.types
index 1a72b3c7..48ff98f6 100644
--- a/spec/core.types
+++ b/spec/core.types
@@ -124,7 +124,7 @@ Generic types
[ "foo" ]
</doc>
</type>
-
+
<type name="association-list">
<base>
<list type="association-tree"/>
@@ -133,7 +133,7 @@ Generic types
A list of association trees.
</doc>
</type>
-
+
<type name="string-enum" base="string">
<params>
<rest doc="The possible values"/>
@@ -148,7 +148,7 @@ Generic types
tree can have a "doc" attribute for that choice.
</doc>
</type>
-
+
<type name="int-enum" base="integer">
<params>
<rest doc="The possible values"/>
@@ -165,7 +165,7 @@ Generic types
also have a "doc" attribute, of course.
</doc>
</type>
-
+
<doc>
Specific types
--------------