diff doc/account-signals.dox @ 11628:e1e47878d0ed

[gaim-migrate @ 13903] sadrul's patch, updated by charkins, to remove the old account-away signal and replace it with account-status-changed committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sat, 08 Oct 2005 19:27:13 +0000
parents bb9a25682675
children d309a383ebf7
line wrap: on
line diff
--- a/doc/account-signals.dox	Sat Oct 08 18:21:48 2005 +0000
+++ b/doc/account-signals.dox	Sat Oct 08 19:27:13 2005 +0000
@@ -1,26 +1,15 @@
 /** @page account-signals Account Signals
 
  @signals
-  @signal account-away
   @signal account-connecting
   @signal account-setting-info
   @signal account-set-info
   @signal account-warned
+  @signal account-status-changed
  @endsignals
 
  <hr>
 
- @signaldef account-away
-  @signalproto
-void (*account_away)(GaimAccount *account, const char *state, const char *message);
-  @endsignalproto
-  @signaldesc
-   Emitted when an account goes away.
-  @param account The account that went away.
-  @param state   The away state.
-  @param message The away message.
- @endsignaldef
-
  @signaldef account-connecting
   @signalproto
 void (*account_connecting)(GaimAccount *account);
@@ -62,5 +51,16 @@
   @param level   The new warning level.
  @endsignaldef
 
+ @signaldef account-status-changed
+  @signalproto
+void (*account_status_changed)(GaimAccount *account, GaimStatus *old, GaimStatus *new);
+  @endsignalproto
+  @signaldesc
+   Emitted when the status of an account changes (after the change).
+  @param account The account that changed status.
+  @param old     The status before change.
+  @param new     The status after change.
+ @endsignaldef
+
  */
 // vim: syntax=c tw=75 et