diff src/savedstatuses.h @ 11724:a8ec0a291d14

[gaim-migrate @ 14015] If you're online, and sitting around, and la-di-da you enable one of your accounts, it will now use the status currently set in your gtkstatusbox instead of whatever the account was set to when it was disabled committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 22 Oct 2005 22:29:40 +0000
parents 723487d07aa0
children 6dc48f991b8d
line wrap: on
line diff
--- a/src/savedstatuses.h	Sat Oct 22 22:13:19 2005 +0000
+++ b/src/savedstatuses.h	Sat Oct 22 22:29:40 2005 +0000
@@ -168,6 +168,24 @@
 gboolean gaim_savedstatus_has_substatuses(const GaimSavedStatus *saved_status);
 
 /**
+ * Sets the statuses for all your accounts to those specified
+ * by the given saved_status.  This function calls
+ * gaim_savedstatus_activate_for_account() for all your accounts.
+ *
+ * @param saved_status The status you want to set your accounts to.
+ */
+void gaim_savedstatus_activate(const GaimSavedStatus *saved_status);
+
+/**
+ * Sets the statuses for a given account to those specified
+ * by the given saved_status.
+ *
+ * @param saved_status The status you want to set your accounts to.
+ * @param account      The account whose statuses you want to change.
+ */
+void gaim_savedstatus_activate_for_account(const GaimSavedStatus *saved_status, GaimAccount *account);
+
+/**
  * Get the handle for the status subsystem.
  *
  * @return the handle to the status subsystem