<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <interface name="org.kde.KSMServerInterface">
    <method name="isShuttingDown">
      <arg type="b" direction="out"/>
    </method>
    <method name="sessionList">
      <arg type="as" direction="out"/>
    </method>
    <method name="currentSession">
      <arg type="s" direction="out"/>
    </method>
    <method name="saveCurrentSession">
    </method>
    <method name="saveCurrentSessionAs">
      <arg type="s" direction="in"/>
    </method>

    <method name="restoreSession">
        <!-- Restore the main session. Should only be called once on startup -->
    </method>

    <method name="closeSession">
        <!-- Performs a logout and closes the session. Returns true if the session was closed successfully, false if cancelled by the user-->
        <arg type="b" direction="out"/>
    </method>
    <method name="resetLogout">
      <!-- Called when logout is cancelled -->
    </method>
  </interface>
</node>
