<?xml version="1.0"?>
<!--
 Copyright (C) 2017 Red Hat, Inc.

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.

 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public
 License along with this library. If not, see <http://www.gnu.org/licenses/>.

 Author: Jonas Ådahl <jadahl@redhat.com>
-->

<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
  <!--
      org.freedesktop.impl.portal.Session:
      @short_description: Shared session interface

      The Session interface is shared by all portal interfaces that involve
      long lived sessions.  When a method that creates a session is called, the
      reply will include a session handle (i.e. object path) for a Session
      object, which will stay alive for the duration of the session.

      The portal can abort the interaction by calling
      org.freedesktop.impl.portal.Session.Close() on the Session object.
  -->
  <interface name="org.freedesktop.impl.portal.Session">

    <!--
        Close:

        Close the session.
    -->
    <method name="Close">
    </method>

    <!--
        Closed:

        The session was closed by the portal implementation.
    -->
    <signal name="Closed">
    </signal>
    <property name="version" type="u" access="read"/>
  </interface>
</node>
