[next] telepathy-glib: logger: generate server side API
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Wed Feb 5 06:35:55 PST 2014
Module: telepathy-glib
Branch: next
Commit: b480f013fdb2b7219d5754c91ad43189037e213e
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=b480f013fdb2b7219d5754c91ad43189037e213e
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Wed Feb 5 10:42:26 2014 +0100
logger: generate server side API
---
.../telepathy-glib/telepathy-glib-docs.sgml | 1 +
.../telepathy-glib/telepathy-glib-sections.txt | 34 ++++++++++++++++++++
telepathy-glib/Makefile.am | 1 +
telepathy-glib/codegen.am | 2 ++
telepathy-glib/extra-gtkdoc.h | 11 +++++++
telepathy-glib/svc-logger.h | 6 ++++
telepathy-glib/telepathy-glib-dbus.h | 1 +
7 files changed, 56 insertions(+)
diff --git a/docs/reference/telepathy-glib/telepathy-glib-docs.sgml b/docs/reference/telepathy-glib/telepathy-glib-docs.sgml
index e05011d..1398e1c 100644
--- a/docs/reference/telepathy-glib/telepathy-glib-docs.sgml
+++ b/docs/reference/telepathy-glib/telepathy-glib-docs.sgml
@@ -205,6 +205,7 @@
<xi:include href="xml/svc-channel-request.xml"/>
<xi:include href="xml/svc-client.xml"/>
<xi:include href="xml/svc-tls.xml"/>
+ <xi:include href="xml/svc-logger.xml"/>
</chapter>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
diff --git a/docs/reference/telepathy-glib/telepathy-glib-sections.txt b/docs/reference/telepathy-glib/telepathy-glib-sections.txt
index f777e98..aeabb23 100644
--- a/docs/reference/telepathy-glib/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib/telepathy-glib-sections.txt
@@ -6252,3 +6252,37 @@ tp_tls_certificate_rejection_get_type
<SUBSECTION Private>
TpTLSCertificateRejectionPriv
</SECTION>
+
+<SECTION>
+<FILE>svc-logger</FILE>
+<TITLE>svc-logger</TITLE>
+<INCLUDE>telepathy-glib/telepathy-glib-dbus.h</INCLUDE>
+<SUBSECTION>
+TpSvcLogger
+TpSvcLoggerClass
+tp_svc_logger_add_favourite_contact_impl
+tp_svc_logger_clear_account_impl
+tp_svc_logger_clear_entity_impl
+tp_svc_logger_clear_impl
+tp_svc_logger_emit_favourite_contacts_changed
+tp_svc_logger_get_favourite_contacts_impl
+tp_svc_logger_implement_add_favourite_contact
+tp_svc_logger_implement_clear
+tp_svc_logger_implement_clear_account
+tp_svc_logger_implement_clear_entity
+tp_svc_logger_implement_get_favourite_contacts
+tp_svc_logger_implement_remove_favourite_contact
+tp_svc_logger_remove_favourite_contact_impl
+tp_svc_logger_return_from_add_favourite_contact
+tp_svc_logger_return_from_clear
+tp_svc_logger_return_from_clear_account
+tp_svc_logger_return_from_clear_entity
+tp_svc_logger_return_from_get_favourite_contacts
+tp_svc_logger_return_from_remove_favourite_contact
+<SUBSECTION Standard>
+TP_IS_SVC_LOGGER
+TP_SVC_LOGGER
+TP_SVC_LOGGER_GET_CLASS
+TP_TYPE_SVC_LOGGER
+tp_svc_logger_get_type
+</SECTION>
diff --git a/telepathy-glib/Makefile.am b/telepathy-glib/Makefile.am
index 02d0f72..f166875 100644
--- a/telepathy-glib/Makefile.am
+++ b/telepathy-glib/Makefile.am
@@ -155,6 +155,7 @@ tpgdbusinclude_HEADERS = \
svc-properties-interface.h \
svc-protocol.h \
svc-tls.h \
+ svc-logger.h \
telepathy-glib-dbus.h \
$(NULL)
diff --git a/telepathy-glib/codegen.am b/telepathy-glib/codegen.am
index a38977d..f2bdcb9 100644
--- a/telepathy-glib/codegen.am
+++ b/telepathy-glib/codegen.am
@@ -85,6 +85,7 @@ nodist_gendbusinclude_HEADERS += \
_gen/tp-svc-generic.h \
_gen/tp-svc-protocol.h \
_gen/tp-svc-tls-cert.h \
+ _gen/tp-svc-logger.h \
$(NULL)
nodist_libtelepathy_glib_core_internal_la_SOURCES = \
@@ -137,6 +138,7 @@ nodist_libtelepathy_glib_dbus_internal_la_SOURCES += \
_gen/tp-svc-generic.c \
_gen/tp-svc-protocol.c \
_gen/tp-svc-tls-cert.c \
+ _gen/tp-svc-logger.c \
$(NULL)
nodist_libtelepathy_glib_reentrants_la_SOURCES = \
diff --git a/telepathy-glib/extra-gtkdoc.h b/telepathy-glib/extra-gtkdoc.h
index 9d5d582..39796b9 100644
--- a/telepathy-glib/extra-gtkdoc.h
+++ b/telepathy-glib/extra-gtkdoc.h
@@ -1092,6 +1092,17 @@
*/
/**
+ * SECTION:svc-logger
+ * @title: Service-side Channel Logger interface
+ * @short_description: GInterface to implement logger API
+ *
+ * This interface (auto-generated from the Telepathy spec) makes it easier
+ * to export objects implementing the Telepathy Logger interface.
+ *
+ * Since: UNRELEASED
+ */
+
+/**
* SECTION:cli-call-channel
* @title: Channel Call interfaces
* @short_description: client-side wrappers for call channels
diff --git a/telepathy-glib/svc-logger.h b/telepathy-glib/svc-logger.h
new file mode 100644
index 0000000..5a1f2da
--- /dev/null
+++ b/telepathy-glib/svc-logger.h
@@ -0,0 +1,6 @@
+#ifndef __TP_META_SVC_LOGGER_H__
+#define __TP_META_SVC_LOGGER_H__
+
+#include <telepathy-glib/_gen/tp-svc-logger.h>
+
+#endif
diff --git a/telepathy-glib/telepathy-glib-dbus.h b/telepathy-glib/telepathy-glib-dbus.h
index 176d935..bedcdb8 100644
--- a/telepathy-glib/telepathy-glib-dbus.h
+++ b/telepathy-glib/telepathy-glib-dbus.h
@@ -64,6 +64,7 @@
#include <telepathy-glib/svc-properties-interface.h>
#include <telepathy-glib/svc-protocol.h>
#include <telepathy-glib/svc-tls.h>
+#include <telepathy-glib/svc-logger.h>
#undef _TP_GLIB_DBUS_H_INSIDE
More information about the telepathy-commits
mailing list