[telepathy-mission-control/master] McdAccount: implement a stub version of Reconnect

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Apr 14 10:16:32 PDT 2009


---
 src/mcd-account.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/mcd-account.c b/src/mcd-account.c
index c485ea2..a7eefa7 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -1380,12 +1380,25 @@ account_update_parameters (McSvcAccount *self, GHashTable *set,
 }
 
 static void
+account_reconnect (McSvcAccount *service,
+                   DBusGMethodInvocation *context)
+{
+    McdAccount *self = MCD_ACCOUNT (service);
+
+    DEBUG ("%s", mcd_account_get_unique_name (self));
+
+    /* FIXME: stub */
+    mc_svc_account_return_from_reconnect (context);
+}
+
+static void
 account_iface_init (McSvcAccountClass *iface, gpointer iface_data)
 {
 #define IMPLEMENT(x) mc_svc_account_implement_##x (\
     iface, account_##x)
     IMPLEMENT(remove);
     IMPLEMENT(update_parameters);
+    IMPLEMENT(reconnect);
 #undef IMPLEMENT
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list