| 1 |
<?xml version="1.0"?> |
| 2 |
<!-- |
| 3 |
Copyright (C) 2017 Red Hat, Inc. |
| 4 |
|
| 5 |
SPDX-License-Identifier: LGPL-2.1-or-later |
| 6 |
|
| 7 |
This library is free software; you can redistribute it and/or |
| 8 |
modify it under the terms of the GNU Lesser General Public |
| 9 |
License as published by the Free Software Foundation; either |
| 10 |
version 2.1 of the License, or (at your option) any later version. |
| 11 |
|
| 12 |
This library is distributed in the hope that it will be useful, |
| 13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
Lesser General Public License for more details. |
| 16 |
|
| 17 |
You should have received a copy of the GNU Lesser General Public |
| 18 |
License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
|
| 20 |
Author: Matthias Clasen <[email protected]> |
| 21 |
--> |
| 22 |
|
| 23 |
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> |
| 24 |
<!-- |
| 25 |
org.freedesktop.impl.portal.Email: |
| 26 |
@short_description: Email portal backend interface |
| 27 |
|
| 28 |
This Email portal lets sandboxed applications request sending an email. |
| 29 |
--> |
| 30 |
<interface name="org.freedesktop.impl.portal.Email"> |
| 31 |
<!-- |
| 32 |
ComposeEmail: |
| 33 |
@handle: Object path for the :ref:`org.freedesktop.impl.portal.Request` object representing this call |
| 34 |
@app_id: App id of the application |
| 35 |
@parent_window: Identifier for the application window, see :doc:`window-identifiers` |
| 36 |
@options: Vardict with optional further information |
| 37 |
@response: Numeric response |
| 38 |
@results: Vardict with the results of the call |
| 39 |
|
| 40 |
Lets the user compose an email. |
| 41 |
|
| 42 |
Supported keys in the @options vardict include: |
| 43 |
|
| 44 |
* ``address`` (``s``) |
| 45 |
|
| 46 |
The email address to send to. |
| 47 |
|
| 48 |
* ``addresses`` (``as``) |
| 49 |
|
| 50 |
Email addresses to send to. |
| 51 |
|
| 52 |
* ``cc`` (``as``) |
| 53 |
|
| 54 |
Email addresses to cc. |
| 55 |
|
| 56 |
* ``bcc`` (``as``) |
| 57 |
|
| 58 |
Email addresses to bcc. |
| 59 |
|
| 60 |
* ``subject`` (``s``) |
| 61 |
|
| 62 |
The subject for the email. |
| 63 |
|
| 64 |
* ``body`` (``s``) |
| 65 |
|
| 66 |
The body for the email. |
| 67 |
|
| 68 |
* ``attachments`` (``as``) |
| 69 |
|
| 70 |
The uris for files to attach. |
| 71 |
|
| 72 |
* ``activation_token`` (``s``) |
| 73 |
|
| 74 |
A token that can be used to activate the chosen application. |
| 75 |
--> |
| 76 |
<method name="ComposeEmail"> |
| 77 |
<arg type="o" name="handle" direction="in"/> |
| 78 |
<arg type="s" name="app_id" direction="in"/> |
| 79 |
<arg type="s" name="parent_window" direction="in"/> |
| 80 |
<annotation name="org.qtproject.QtDBus.QtTypeName.In3" value="QVariantMap"/> |
| 81 |
<arg type="a{sv}" name="options" direction="in"/> |
| 82 |
<arg type="u" name="response" direction="out"/> |
| 83 |
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/> |
| 84 |
<arg type="a{sv}" name="results" direction="out"/> |
| 85 |
</method> |
| 86 |
</interface> |
| 87 |
</node> |