aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-contact-list.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-02-16 07:16:01 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-04-22 18:17:00 +0800
commitc86815bab5e78ae39dc504390c002a54831100f6 (patch)
tree9ba459511760dd6c8de83ac7d326ca7db4aa0b25 /libempathy/empathy-tp-contact-list.h
parentb409d1f2ca05bd2e7ebda4d42714b5511c227845 (diff)
downloadgsoc2013-empathy-c86815bab5e78ae39dc504390c002a54831100f6.tar
gsoc2013-empathy-c86815bab5e78ae39dc504390c002a54831100f6.tar.gz
gsoc2013-empathy-c86815bab5e78ae39dc504390c002a54831100f6.tar.bz2
gsoc2013-empathy-c86815bab5e78ae39dc504390c002a54831100f6.tar.lz
gsoc2013-empathy-c86815bab5e78ae39dc504390c002a54831100f6.tar.xz
gsoc2013-empathy-c86815bab5e78ae39dc504390c002a54831100f6.tar.zst
gsoc2013-empathy-c86815bab5e78ae39dc504390c002a54831100f6.zip
Rebase EmpathyTpContactList on TpConnection instead of McAccount.
Diffstat (limited to 'libempathy/empathy-tp-contact-list.h')
-rw-r--r--libempathy/empathy-tp-contact-list.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libempathy/empathy-tp-contact-list.h b/libempathy/empathy-tp-contact-list.h
index e8edcface..c6cf6cb4a 100644
--- a/libempathy/empathy-tp-contact-list.h
+++ b/libempathy/empathy-tp-contact-list.h
@@ -24,7 +24,7 @@
#define __EMPATHY_TP_CONTACT_LIST_H__
#include <glib.h>
-#include <libmissioncontrol/mc-account.h>
+#include <telepathy-glib/connection.h>
G_BEGIN_DECLS
@@ -49,9 +49,10 @@ struct _EmpathyTpContactListClass {
};
GType empathy_tp_contact_list_get_type (void) G_GNUC_CONST;
-EmpathyTpContactList * empathy_tp_contact_list_new (McAccount *account);
-McAccount * empathy_tp_contact_list_get_account (EmpathyTpContactList *list);
+EmpathyTpContactList * empathy_tp_contact_list_new (TpConnection *connection);
+TpConnection * empathy_tp_contact_list_get_connection (EmpathyTpContactList *list);
gboolean empathy_tp_contact_list_can_add (EmpathyTpContactList *list);
+void empathy_tp_contact_list_remove_all (EmpathyTpContactList *list);
G_END_DECLS