diff libpurple/account.h @ 32816:ec6371d4cae8

Add purple_account_is_disconnecting() accessor function.
author andrew.victor@mxit.com
date Sun, 06 Nov 2011 20:31:14 +0000
parents cb486df263ef
children
line wrap: on
line diff
--- a/libpurple/account.h	Sun Nov 06 19:46:57 2011 +0000
+++ b/libpurple/account.h	Sun Nov 06 20:31:14 2011 +0000
@@ -246,6 +246,15 @@
 void purple_account_disconnect(PurpleAccount *account);
 
 /**
+ * Indicates if the account is currently being disconnected.
+ *
+ * @param account The account
+ *
+ * @return TRUE if the account is being disconnected.
+ */
+gboolean purple_account_is_disconnecting(const PurpleAccount *account);
+
+/**
  * Notifies the user that the account was added to a remote user's
  * buddy list.
  *