aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-manager.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:46:53 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:46:53 +0800
commit4a80cadbc7e0a02f0a1122a62733d52e3334f634 (patch)
tree4dde9a052e13ded45034af81ec8b94cd6885a2e7 /libempathy/empathy-account-manager.h
parent90be87aae20ca84d5cb58367e640bfe0d7b036e5 (diff)
downloadgsoc2013-empathy-4a80cadbc7e0a02f0a1122a62733d52e3334f634.tar
gsoc2013-empathy-4a80cadbc7e0a02f0a1122a62733d52e3334f634.tar.gz
gsoc2013-empathy-4a80cadbc7e0a02f0a1122a62733d52e3334f634.tar.bz2
gsoc2013-empathy-4a80cadbc7e0a02f0a1122a62733d52e3334f634.tar.lz
gsoc2013-empathy-4a80cadbc7e0a02f0a1122a62733d52e3334f634.tar.xz
gsoc2013-empathy-4a80cadbc7e0a02f0a1122a62733d52e3334f634.tar.zst
gsoc2013-empathy-4a80cadbc7e0a02f0a1122a62733d52e3334f634.zip
Add new API in EmpathyAccountManager to cache the number of connecting
and connected accounts. svn path=/trunk/; revision=2042
Diffstat (limited to 'libempathy/empathy-account-manager.h')
-rw-r--r--libempathy/empathy-account-manager.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libempathy/empathy-account-manager.h b/libempathy/empathy-account-manager.h
index 36b77c7e5..1687c0032 100644
--- a/libempathy/empathy-account-manager.h
+++ b/libempathy/empathy-account-manager.h
@@ -46,8 +46,15 @@ struct _EmpathyAccountManagerClass {
};
GType empathy_account_manager_get_type (void);
-EmpathyAccountManager * empathy_account_manager_new (void);
+/* public methods */
+
+EmpathyAccountManager * empathy_account_manager_new (void);
+int empathy_account_manager_get_connected_accounts
+ (EmpathyAccountManager *manager);
+int empathy_account_manager_get_connecting_accounts
+ (EmpathyAccountManager *manager);
G_END_DECLS
-#endif /* __EMPATHY_ACCOUNT_MANAGER_H__ */ \ No newline at end of file
+#endif /* __EMPATHY_ACCOUNT_MANAGER_H__ */
+