Mercurial > pidgin
view doc/savedstatus-signals.dox @ 17883:9a19c46adf66
The server's ad-hoc commands are now listed in the account's action menu. Note that this requires an additional field in the _PurplePluginAction struct. There's no other way, since there was no way to supply user_data, and dynamically created functions are not supported by C. This should be fine, since that struct is only malloced in purple_plugin_action_new, which is part of the core. Applications have to either pass the struct unmodified, or restore the user_data pointer if the action is recreated when necessary (as is the case in Adium).
author | Andreas Monitzer <pidgin@monitzer.com> |
---|---|
date | Mon, 25 Jun 2007 19:08:16 +0000 |
parents | 8cf53d7a0887 |
children | e0613cf8c493 |
line wrap: on
line source
/** @page savedstatus-signals Saved Status Signals @signals @signal savedstatus-changed @endsignals <hr> @signaldef savedstatus-changed @signalproto void (*savedstatus_changed)(PurpleSavedStatus *new, PurpleSavedStatus *old); @endsignalproto @signaldesc Emitted when a new saved status is activated. @endsignaldef */ // vim: syntax=c tw=75 et