[Telepathy-commits] [telepathy-gabble/master] GabbleImFactory: add stub implementations of CreateChannel, EnsureChannel

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Nov 3 11:20:41 PST 2008


20080729183949-53eee-c3337fd408b9fbf23722a68cb8be49fb30846588.gz
---
 src/im-factory.c |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/src/im-factory.c b/src/im-factory.c
index 9d2c741..d401d64 100644
--- a/src/im-factory.c
+++ b/src/im-factory.c
@@ -528,6 +528,33 @@ gabble_im_factory_iface_request (TpChannelFactoryIface *iface,
   return status;
 }
 
+
+static gboolean
+gabble_im_factory_create_channel (GabbleChannelManager *manager,
+                                  gpointer request_token,
+                                  GHashTable *request_properties)
+{
+  GabbleImFactory *self = GABBLE_IM_FACTORY (manager);
+
+  (void) self;
+
+  return FALSE;
+}
+
+
+static gboolean
+gabble_im_factory_ensure_channel (GabbleChannelManager *manager,
+                                  gpointer request_token,
+                                  GHashTable *request_properties)
+{
+  GabbleImFactory *self = GABBLE_IM_FACTORY (manager);
+
+  (void) self;
+
+  return FALSE;
+}
+
+
 static void
 gabble_im_factory_iface_init (gpointer g_iface,
                               gpointer iface_data)
@@ -552,4 +579,6 @@ channel_manager_iface_init (gpointer g_iface,
   GabbleChannelManagerIface *iface = g_iface;
 
   iface->foreach_channel = gabble_im_factory_foreach_channel;
+  iface->create_channel = gabble_im_factory_create_channel;
+  iface->ensure_channel = gabble_im_factory_ensure_channel;
 }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list