[gnome-flashback/nautilus-file-operations2: 2/4] dbus: add org.freedesktop.DBus.Introspectable interface
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback/nautilus-file-operations2: 2/4] dbus: add org.freedesktop.DBus.Introspectable interface
- Date: Fri, 31 Jan 2020 15:38:10 +0000 (UTC)
commit 62a8116a01b317ccac1fc741f262124aed64a903
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Jan 31 17:24:06 2020 +0200
dbus: add org.freedesktop.DBus.Introspectable interface
dbus/Makefile.am | 9 +++++++++
dbus/org.freedesktop.DBus.Introspectable.xml | 13 +++++++++++++
2 files changed, 22 insertions(+)
---
diff --git a/dbus/Makefile.am b/dbus/Makefile.am
index 9b3a4e1..d675260 100644
--- a/dbus/Makefile.am
+++ b/dbus/Makefile.am
@@ -69,6 +69,12 @@ gf-fd-dbus-gen.c: org.freedesktop.DBus.xml
--generate-c-code gf-fd-dbus-gen \
$(srcdir)/org.freedesktop.DBus.xml
+gf-fd-dbus-introspectable-gen.h:
+gf-fd-dbus-introspectable-gen.c: org.freedesktop.DBus.Introspectable.xml
+ $(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
+ --generate-c-code gf-fd-dbus-introspectable-gen \
+ $(srcdir)/org.freedesktop.DBus.Introspectable.xml
+
gf-fd-notifications-gen.h:
gf-fd-notifications-gen.c: org.freedesktop.Notifications.xml
$(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
@@ -198,6 +204,8 @@ BUILT_SOURCES = \
gf-fd-application-gen.h \
gf-fd-dbus-gen.c \
gf-fd-dbus-gen.h \
+ gf-fd-dbus-introspectable-gen.c \
+ gf-fd-dbus-introspectable-gen.h \
gf-fd-notifications-gen.c \
gf-fd-notifications-gen.h \
gf-file-manager-gen.c \
@@ -243,6 +251,7 @@ EXTRA_DIST = \
org.freedesktop.Accounts.User.xml \
org.freedesktop.Application.xml \
org.freedesktop.DBus.xml \
+ org.freedesktop.DBus.Introspectable.xml \
org.freedesktop.DisplayManager.Seat.xml \
org.freedesktop.FileManager1.xml \
org.freedesktop.login1.Manager.xml \
diff --git a/dbus/org.freedesktop.DBus.Introspectable.xml b/dbus/org.freedesktop.DBus.Introspectable.xml
new file mode 100644
index 0000000..c2a9ea6
--- /dev/null
+++ b/dbus/org.freedesktop.DBus.Introspectable.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!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.DBus.Introspectable">
+ <annotation name="org.gtk.GDBus.C.Name" value="FdDBusIntrospectableGen" />
+
+ <method name="Introspect">
+ <arg type="s" name="xml_data" direction="out" />
+ </method>
+
+ </interface>
+</node>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]