summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-07-09 18:16:44 +0200
committerAlexander Larsson <alexl@redhat.com>2015-07-10 12:15:45 +0200
commit302f88e69da195ee44d5809a7355320f0072b47e (patch)
tree30c666f3ec5e1738e3f30fa34d75622b5a8207a8 /data
parentef223b6a46b2426e0cafa4f58e6346f63856e873 (diff)
downloadxdg-app-302f88e69da195ee44d5809a7355320f0072b47e.tar.gz
Restructure directories and build
This moves a all source code into separate subdirs per binary. The helper and the generic stuff goes into lib/ which is then used by all the others. For now this is a completely internal library, but at some point we will probably clean it up and expose some subset. Also, we move the dbus proxy to libexecdir.
Diffstat (limited to 'data')
-rw-r--r--data/org.freedesktop.systemd1.xml19
-rw-r--r--data/xdg-app-dbus-interfaces.xml34
2 files changed, 53 insertions, 0 deletions
diff --git a/data/org.freedesktop.systemd1.xml b/data/org.freedesktop.systemd1.xml
new file mode 100644
index 0000000..5bdbe77
--- /dev/null
+++ b/data/org.freedesktop.systemd1.xml
@@ -0,0 +1,19 @@
+<!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.freedesktop.systemd1.Manager">
+ <method name="StartTransientUnit">
+ <arg type="s" direction="in" name="name"/>
+ <arg type="s" direction="in" name="mode"/>
+ <arg type="a(sv)" direction="in" name="properties"/>
+ <arg type="a(sa(sv))" direction="in" name="aux"/>
+ <arg type="o" direction="out" name="job"/>
+ </method>
+ <signal name="JobRemoved">
+ <arg type="u" name="id"/>
+ <arg type="o" name="job"/>
+ <arg type="s" name="unit"/>
+ <arg type="s" name="result"/>
+ </signal>
+ </interface>
+</node>
diff --git a/data/xdg-app-dbus-interfaces.xml b/data/xdg-app-dbus-interfaces.xml
new file mode 100644
index 0000000..bfa558f
--- /dev/null
+++ b/data/xdg-app-dbus-interfaces.xml
@@ -0,0 +1,34 @@
+<!DOCTYPE node PUBLIC
+"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
+ Copyright (C) 2015 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, write to the
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+
+ Author: Alexander Larsson <alexl@redhat.com>
+-->
+
+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
+ <interface name='org.freedesktop.XdgApp.SessionHelper'>
+
+ <method name="RequestMonitor">
+ <arg type='ay' name='path' direction='out'/>
+ </method>
+ </interface>
+</node>
+