diff libpurple/account.h @ 32815:cb486df263ef

Introduce purple_account_register_completed() to handle the invoking of any registration callback.
author andrew.victor@mxit.com
date Sun, 06 Nov 2011 19:46:57 +0000
parents a34977b4d858
children ec6371d4cae8
line wrap: on
line diff
--- a/libpurple/account.h	Sun Nov 06 13:34:58 2011 +0000
+++ b/libpurple/account.h	Sun Nov 06 19:46:57 2011 +0000
@@ -221,6 +221,15 @@
 void purple_account_register(PurpleAccount *account);
 
 /**
+ * Registration of the account was completed.
+ * Calls the registration call-back set with purple_account_set_register_callback().
+ *
+ * @param account The account being registered.
+ * @param succeeded Was the account registration successful?
+ */
+void purple_account_register_completed(PurpleAccount *account, gboolean succeeded);
+
+/**
  * Unregisters an account (deleting it from the server).
  *
  * @param account The account to unregister.