aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-manager.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-06-26 21:17:55 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-01 21:19:35 +0800
commite0b356e25084d47d8953cc7c15fae4a97f62d047 (patch)
tree7bd7357652f42d70f2b76a4ec9ae6ab80ef6d61a /libempathy/empathy-account-manager.h
parent66b32d43ebeab870039ca729b24ae64fdeff5088 (diff)
downloadgsoc2013-empathy-e0b356e25084d47d8953cc7c15fae4a97f62d047.tar
gsoc2013-empathy-e0b356e25084d47d8953cc7c15fae4a97f62d047.tar.gz
gsoc2013-empathy-e0b356e25084d47d8953cc7c15fae4a97f62d047.tar.bz2
gsoc2013-empathy-e0b356e25084d47d8953cc7c15fae4a97f62d047.tar.lz
gsoc2013-empathy-e0b356e25084d47d8953cc7c15fae4a97f62d047.tar.xz
gsoc2013-empathy-e0b356e25084d47d8953cc7c15fae4a97f62d047.tar.zst
gsoc2013-empathy-e0b356e25084d47d8953cc7c15fae4a97f62d047.zip
Implement EmpathyAccount
Refactor EmpathyAccountManager and introduce a seperate EmpathyAccount object, which wraps McAccount. When moving to MC5, EmpathyAccount will wrap the Telepathy.Account interface. Fixes #587508
Diffstat (limited to 'libempathy/empathy-account-manager.h')
-rw-r--r--libempathy/empathy-account-manager.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/libempathy/empathy-account-manager.h b/libempathy/empathy-account-manager.h
index 11ca6aca2..b04571ff8 100644
--- a/libempathy/empathy-account-manager.h
+++ b/libempathy/empathy-account-manager.h
@@ -24,7 +24,7 @@
#include <glib-object.h>
-#include <libmissioncontrol/mc-account.h>
+#include "empathy-account.h"
G_BEGIN_DECLS
@@ -52,25 +52,28 @@ GType empathy_account_manager_get_type (void);
/* public methods */
EmpathyAccountManager * empathy_account_manager_dup_singleton (void);
+EmpathyAccount * empathy_account_manager_create
+ (EmpathyAccountManager *manager,
+ McProfile *profile);
int empathy_account_manager_get_connected_accounts
(EmpathyAccountManager *manager);
int empathy_account_manager_get_connecting_accounts
(EmpathyAccountManager *manager);
-gboolean empathy_account_manager_is_account_just_connected
- (EmpathyAccountManager *manager,
- McAccount *account);
int empathy_account_manager_get_count
(EmpathyAccountManager *manager);
-McAccount * empathy_account_manager_get_account
+EmpathyAccount * empathy_account_manager_get_account
(EmpathyAccountManager *manager,
TpConnection *connection);
+EmpathyAccount * empathy_account_manager_lookup
+ (EmpathyAccountManager *manager,
+ const gchar *unique_name);
GList * empathy_account_manager_dup_accounts
(EmpathyAccountManager *manager);
-TpConnection * empathy_account_manager_get_connection
- (EmpathyAccountManager *manager,
- McAccount *account);
GList * empathy_account_manager_dup_connections
(EmpathyAccountManager *manager);
+void empathy_account_manager_remove (
+ EmpathyAccountManager *manager,
+ EmpathyAccount *account);
G_END_DECLS