[evolution-data-server/openismus-work-master: 27/73] Added org.freedesktop.locale1 interface to private/ to generate a DBus proxy
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work-master: 27/73] Added org.freedesktop.locale1 interface to private/ to generate a DBus proxy
- Date: Thu, 4 Jul 2013 19:13:20 +0000 (UTC)
commit ef80ad3494128dfc273853465db6442339a21802
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Mon May 20 16:08:35 2013 +0900
Added org.freedesktop.locale1 interface to private/ to generate a DBus proxy
private/Makefile.am | 14 ++++++++++++++
private/org.freedesktop.locale1.xml | 17 +++++++++++++++++
2 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/private/Makefile.am b/private/Makefile.am
index 8a834c8..a6b8530 100644
--- a/private/Makefile.am
+++ b/private/Makefile.am
@@ -1,5 +1,13 @@
NULL =
+$(GENERATED_DBUS_LOCALE) : Makefile.am org.freedesktop.locale1.xml
+ $(AM_V_GEN) gdbus-codegen \
+ --interface-prefix org.freedesktop. \
+ --c-namespace E_DBus \
+ --generate-c-code e-dbus-localed \
+ $(top_srcdir)/private/org.freedesktop.locale1.xml \
+ $(NULL)
+
$(GENERATED_DBUS_SOURCE) : Makefile.am org.gnome.evolution.dataserver.Source.xml
$(AM_V_GEN) gdbus-codegen \
--interface-prefix org.gnome.evolution.dataserver. \
@@ -82,6 +90,11 @@ $(GENERATED_DBUS_USER_PROMPTER) : Makefile.am org.gnome.evolution.dataserver.Use
$(top_srcdir)/private/org.gnome.evolution.dataserver.UserPrompter.xml \
$(NULL)
+GENERATED_DBUS_LOCALE = \
+ e-dbus-localed.c \
+ e-dbus-localed.h \
+ $(NULL)
+
GENERATED_DBUS_SOURCE = \
e-dbus-source.c \
e-dbus-source.h \
@@ -142,6 +155,7 @@ GENERATED_DBUS_CALENDAR_FACTORY = \
$(NULL)
BUILT_SOURCES = \
+ $(GENERATED_DBUS_LOCALE) \
$(GENERATED_DBUS_SOURCE) \
$(GENERATED_DBUS_SOURCE_MANAGER) \
$(GENERATED_DBUS_AUTHENTICATOR) \
diff --git a/private/org.freedesktop.locale1.xml b/private/org.freedesktop.locale1.xml
new file mode 100644
index 0000000..d415e43
--- /dev/null
+++ b/private/org.freedesktop.locale1.xml
@@ -0,0 +1,17 @@
+<!DOCTYPE node PUBLIC
+"-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
+
+ <!--
+ Here we generate a proxy to handle the 'localed' system entity,
+ we only generate the 'Locale' property as that's all we're interested in.
+ the object should be present at the path '/org/freedesktop/locale1'
+
+ See: http://www.freedesktop.org/wiki/Software/systemd/localed
+ -->
+<interface name="org.freedesktop.locale1">
+
+ <property name="Locale" type="as" access="read"/>
+
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]