summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-02-07 12:37:32 +0000
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-02-07 13:50:11 +0000
commitc241268980bcbdc00e768343eb56d7ae27162020 (patch)
tree85397ce2e211052df81226e3cb97a42b700bf8f6 /plugins
parent9acaad58f52a2d337126968aa173b35a4fb14c2d (diff)
downloadtelepathy-salut-c241268980bcbdc00e768343eb56d7ae27162020.tar.gz
test plugin: implement create_channel_managers
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile.am2
-rw-r--r--plugins/test.c11
2 files changed, 12 insertions, 1 deletions
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 *