Skip to content

Commit

Permalink
docs/notification: Write XML interface definition for version 2
Browse files Browse the repository at this point in the history
This takes the discussion in
flatpak#983 and turns it
into an actual possible v2 of the notification interface.

The permission part was intentionally left out since it's tangential to
the new properties and features proposed here.
  • Loading branch information
jsparber committed Mar 15, 2024
1 parent 9423046 commit a18428d
Show file tree
Hide file tree
Showing 2 changed files with 443 additions and 15 deletions.
14 changes: 14 additions & 0 deletions data/org.freedesktop.impl.portal.Notification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,20 @@
<annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="QVariantMap"/>
<arg type="a{sv}" name="notification" direction="in"/>
</method>

<!--
ListSupportedProperties:
@supported_properties: A list of supported properties and their supported values, if applicable
Returns a list of supported properties with
specific values if applicable for the property.
The format of the @supported_properties is the same as for
:ref:`org.freedesktop.portal.Notification.ListSupportedProperties`.
-->
<method name="ListSupportedProperties">
<arg type="a{sv}" name="supported_properties" direction="out"/>
</method>
<!--
RemoveNotification:
@app_id: App id of the application
Expand Down
Loading

0 comments on commit a18428d

Please sign in to comment.