Introduce DBus support
[lgpl/argeo-commons.git] / org.argeo.cms.lib.dbus / src / org / argeo / cms / freedesktop / org.freedesktop.Application.xml
diff --git a/org.argeo.cms.lib.dbus/src/org/argeo/cms/freedesktop/org.freedesktop.Application.xml b/org.argeo.cms.lib.dbus/src/org/argeo/cms/freedesktop/org.freedesktop.Application.xml
new file mode 100644 (file)
index 0000000..5af11f7
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE node SYSTEM "introspect-1.0.dtd">
+<!-- See https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#dbus -->
+<node>
+       <interface name="org.freedesktop.Application">
+               <method name="Activate">
+                       <arg type="a{sv}" name="platform-data" direction="in" />
+               </method>
+               <method name="Open">
+                       <arg type="as" name="uris" direction="in" />
+                       <arg type="a{sv}" name="platform-data" direction="in" />
+               </method>
+               <method name="ActivateAction">
+                       <arg type="s" name="action-name" direction="in" />
+                       <arg type="av" name="parameter" direction="in" />
+                       <arg type="a{sv}" name="platform-data" direction="in" />
+               </method>
+       </interface>
+</node>
\ No newline at end of file