<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/">
  <interface name="org.cinnamon.SettingsDaemon.DateTimeMechanism">
    <method name="SetTimezone">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="tz" direction="in" type="s"/>
    </method>

    <method name="GetTimezone">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="timezone" direction="out" type="s"/>
    </method>

    <method name="CanSetTimezone">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="value" direction="out" type="i">
        <doc:doc>
          <doc:summary>Whether the caller can set the timezone</doc:summary>
          <doc:description>
            <doc:para>
              The return value is not a boolean, but an integer with the following meaning:
              <doc:list>
                <doc:item>
                  <doc:term>0</doc:term>
                  <doc:definition>the caller cannot set the timezone</doc:definition>
                </doc:item>
                <doc:item>
                  <doc:term>1</doc:term>
                  <doc:definition>the caller will be challenged before being able to set the timezone</doc:definition>
                </doc:item>
                <doc:item>
                  <doc:term>2</doc:term>
                  <doc:definition>the caller is authorized to set the timezone</doc:definition>
                </doc:item>
              </doc:list>
            </doc:para>
          </doc:description>
        </doc:doc>
      </arg>
    </method>
    <method name="SetDate">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="day" direction="in" type="u"/>
      <arg name="month" direction="in" type="u"/>
      <arg name="year" direction="in" type="u"/>
    </method>
    <method name="SetTime">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="seconds_since_epoch" direction="in" type="x"/>
    </method>
    <method name="CanSetTime">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="value" direction="out" type="i">
        <doc:doc>
          <doc:summary>Whether the caller can set the time</doc:summary>
          <doc:description>
            <doc:para>
              The return value is not a boolean, but an integer with the following meaning:
              <doc:list>
                <doc:item>
                  <doc:term>0</doc:term>
                  <doc:definition>the caller cannot set the time</doc:definition>
                </doc:item>
                <doc:item>
                  <doc:term>1</doc:term>
                  <doc:definition>the caller will be challenged before being able to set the time</doc:definition>
                </doc:item>
                <doc:item>
                  <doc:term>2</doc:term>
                  <doc:definition>the caller is authorized to set the time</doc:definition>
                </doc:item>
              </doc:list>
            </doc:para>
          </doc:description>
        </doc:doc>
      </arg>
    </method>
    <method name="AdjustTime">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="seconds_to_add" direction="in" type="x"/>
    </method>

    <method name="GetHardwareClockUsingUtc">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="is_using_utc" direction="out" type="b"/>
    </method>
    <method name="SetHardwareClockUsingUtc">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="is_using_utc" direction="in" type="b"/>
    </method>

    <method name="GetUsingNtp">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="can_use_ntp" direction="out" type="b"/>
      <arg name="is_using_ntp" direction="out" type="b"/>
    </method>
    <method name="SetUsingNtp">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="is_using_ntp" direction="in" type="b"/>
    </method>
    <method name="CanSetUsingNtp">
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
      <arg name="value" direction="out" type="i">
        <doc:doc>
          <doc:summary>Whether the caller can set the "use NTP" setting</doc:summary>
          <doc:description>
            <doc:para>
              The return value is not a boolean, but an integer with the following meaning:
              <doc:list>
                <doc:item>
                  <doc:term>0</doc:term>
                  <doc:definition>the caller cannot change the "use NTP" setting</doc:definition>
                </doc:item>
                <doc:item>
                  <doc:term>1</doc:term>
                  <doc:definition>the caller will be challenged before being able to change "use NTP" setting</doc:definition>
                </doc:item>
                <doc:item>
                  <doc:term>2</doc:term>
                  <doc:definition>the caller is authorized to change the "use NTP" setting</doc:definition>
                </doc:item>
              </doc:list>
            </doc:para>
          </doc:description>
        </doc:doc>
      </arg>
    </method>
  </interface>
</node>
