view doc/log-signals.dox @ 12796:e8db8f94a2db

[gaim-migrate @ 15143] (The Last) Part of SF Patch #1400162 from Sadrul "Do not change the format when the imhtml is not editable. Also, reset the formatting for the whole buffer when the imhtml has whole-buffer formatting on, or the selected text otherwise." Plus a change from me: If no text is selected, clear the formatting on the whole buffer. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 09 Jan 2006 16:04:04 +0000
parents a1e241dd50b6
children f94309c7c480
line wrap: on
line source

/** @page log-signals Log Signals

 @signals
  @signal log-timestamp
 @endsignals

 <hr>

 @signaldef log-timestamp
  @signalproto
char *(*log_timestamp)(GaimConversation *conv, struct tm *tm);
  @endsignalproto
  @signaldesc
   Emitted to allow plugins to customize the timestamp on a message
   being logged.
  @param log The log the message belongs to.
  @param tm The time to be converted to a string.
  @return A textual representation of the time, or @c NULL to use a
          default format.
  @note Plugins must be careful of logs with a type of GAIM_LOG_SYSTEM.
 @endsignaldef

*/
// vim: syntax=c tw=75 et