From c241268980bcbdc00e768343eb56d7ae27162020 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Mon, 7 Feb 2011 12:37:32 +0000 Subject: test plugin: implement create_channel_managers Signed-off-by: Jonny Lamb --- plugins/Makefile.am | 2 +- plugins/test.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/Makefile.am b/plugins/Makefile.am index a28c8f2c..4120d82c 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -27,6 +27,6 @@ test_la_LDFLAGS = $(AM_LDFLAGS) -rpath $(plugindir) AM_CFLAGS = $(ERROR_CFLAGS) \ -I $(top_srcdir) -I $(top_builddir) \ - @GLIB_CFLAGS@ \ + @GLIB_CFLAGS@ @TELEPATHY_GLIB_CFLAGS@ \ -I $(top_srcdir)/salut -I $(top_builddir)/salut \ -I $(top_srcdir)/plugins diff --git a/plugins/test.c b/plugins/test.c index 36d66b5d..6fbc83f7 100644 --- a/plugins/test.c +++ b/plugins/test.c @@ -24,6 +24,15 @@ test_plugin_class_init (TestPluginClass *klass) { } +static GPtrArray * +create_channel_managers (SalutPlugin *plugin, + TpBaseConnection *connection) +{ + DEBUG ("%p on connection %p", plugin, connection); + + return NULL; +} + static void plugin_iface_init ( gpointer g_iface, @@ -32,6 +41,8 @@ plugin_iface_init ( SalutPluginInterface *iface = g_iface; iface->name = "Salut test plugin"; + + iface->create_channel_managers = create_channel_managers; } SalutPlugin * -- cgit v1.2.1