aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/extensions-cli.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-26 21:31:02 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-26 21:31:02 +0800
commitc3751daec7cca3e44abfed1db475cf0fc4703d66 (patch)
tree4ba009a19d6f3254acb8d91be788d49a7e259fc2 /extensions/extensions-cli.c
parent035e672692a3c63ccf7b927b0b7b74438c1f0e24 (diff)
downloadgsoc2013-empathy-c3751daec7cca3e44abfed1db475cf0fc4703d66.tar
gsoc2013-empathy-c3751daec7cca3e44abfed1db475cf0fc4703d66.tar.gz
gsoc2013-empathy-c3751daec7cca3e44abfed1db475cf0fc4703d66.tar.bz2
gsoc2013-empathy-c3751daec7cca3e44abfed1db475cf0fc4703d66.tar.lz
gsoc2013-empathy-c3751daec7cca3e44abfed1db475cf0fc4703d66.tar.xz
gsoc2013-empathy-c3751daec7cca3e44abfed1db475cf0fc4703d66.tar.zst
gsoc2013-empathy-c3751daec7cca3e44abfed1db475cf0fc4703d66.zip
Import tools from telepathy-glib 0.7.3 and build a static libemp-extensions.la.
Link that library into libempathy (it's not actually used for anything at this point). Extensions currently built: ChannelHandler and StreamEngine. The namespacing convention used is emp_*, Emp*, EMP_* so it won't be included in the library ABI. svn path=/trunk/; revision=663
Diffstat (limited to 'extensions/extensions-cli.c')
-rw-r--r--extensions/extensions-cli.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/extensions/extensions-cli.c b/extensions/extensions-cli.c
new file mode 100644
index 000000000..98a174478
--- /dev/null
+++ b/extensions/extensions-cli.c
@@ -0,0 +1,19 @@
+#include "extensions.h"
+
+#include <telepathy-glib/proxy-subclass.h>
+
+static void _emp_ext_register_dbus_glib_marshallers (void);
+
+/* include auto-generated stubs for client-specific code */
+#include "_gen/signals-marshal.h"
+#include "_gen/cli-misc-body.h"
+#include "_gen/register-dbus-glib-marshallers-body.h"
+
+void
+emp_cli_init (void)
+{
+ _emp_ext_register_dbus_glib_marshallers ();
+
+ tp_proxy_or_subclass_hook_on_interface_add (TP_TYPE_PROXY,
+ emp_cli_misc_add_signals);
+}