aboutsummaryrefslogtreecommitdiff
path: root/introspection/org.freedesktop.ModemManager1.Modem.Time.xml
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-02-05 08:38:30 +0100
committerGuido Günther <agx@sigxcpu.org>2014-02-05 08:38:30 +0100
commit13ed135b9ae78c692dc359976eb8b54d0a3629b8 (patch)
treeae2ea713ad51d73980cf83db1411d6589dac5e8b /introspection/org.freedesktop.ModemManager1.Modem.Time.xml
parent14d771b90f5a7d3887e5e900d1fb4737477ad305 (diff)
Imported Upstream version 0.7.991upstream/0.7.991
Diffstat (limited to 'introspection/org.freedesktop.ModemManager1.Modem.Time.xml')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.Time.xml77
1 files changed, 77 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Time.xml b/introspection/org.freedesktop.ModemManager1.Modem.Time.xml
new file mode 100644
index 0000000..0558f02
--- /dev/null
+++ b/introspection/org.freedesktop.ModemManager1.Modem.Time.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ ModemManager 0.6 Interface Specification
+
+ Copyright (C) 2011 The Chromium OS Authors
+ Copyright (C) 2011 - 2012 Google, Inc.
+-->
+
+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
+
+ <!--
+ org.freedesktop.ModemManager1.Modem.Time:
+ @short_description: The ModemManager Time interface.
+
+ This interface allows clients to receive network time and timezone
+ updates broadcast by mobile networks.
+ -->
+ <interface name="org.freedesktop.ModemManager1.Modem.Time">
+
+ <!--
+ GetNetworkTime:
+ @time: If the network time is known, a string containing local date,
+ time, and (if available) UTC offset in ISO 8601 format. If the network
+ time is unknown, the empty string.
+
+ Gets the current network time in local time.
+
+ This method will only work if the modem tracks, or can request, the
+ current network time; it will not attempt to use previously-received
+ network time updates on the host to guess the current network time.
+ -->
+ <method name="GetNetworkTime">
+ <arg name="time" type="s" direction="out" />
+ </method>
+
+ <!--
+ NetworkTimezone:
+
+ The timezone data provided by the network. It may include one or more
+ of the following fields:
+
+ <variablelist>
+ <varlistentry><term><literal>"offset"</literal></term>
+ <listitem>
+ Offset of the timezone from UTC, in minutes (including DST, if applicable),
+ given as a signed integer value (signature <literal>"i"</literal>).
+ </listitem>
+ </varlistentry>
+ <varlistentry><term><literal>"dst-offset"</literal></term>
+ <listitem>
+ Amount of offset that is due to DST (daylight saving time),
+ given as a signed integer value (signature <literal>"i"</literal>).
+ </listitem>
+ </varlistentry>
+ <varlistentry><term><literal>"leap-seconds"</literal></term>
+ <listitem>
+ Number of leap seconds included in the network time,
+ given as a signed integer value (signature <literal>"i"</literal>).
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ -->
+ <property name="NetworkTimezone" type="a{sv}" access="read" />
+
+ <!--
+ NetworkTimeChanged:
+ @time: A string containing date and time in ISO 8601 format.
+
+ Sent when the network time is updated.
+ -->
+ <signal name="NetworkTimeChanged">
+ <arg name="time" type="s" />
+ </signal>
+
+ </interface>
+</node>