comparison src/conversation.h @ 13838:dd00149f6f9b

[gaim-migrate @ 16287] SF Patch #1503847 from Sadrul "This patch "contactizes" the send history in a conversation, ie. with this patch you can get the previously sent messages by pressing ctrl+up/down after switching the account during a contactized conversation." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 19 Jun 2006 06:31:11 +0000
parents 465c368366f8
children a9ff4499d9ce
comparison
equal deleted inserted replaced
13837:1a095ac881ce 13838:dd00149f6f9b
234 234
235 gboolean logging; /**< The status of logging. */ 235 gboolean logging; /**< The status of logging. */
236 236
237 GList *logs; /**< This conversation's logs */ 237 GList *logs; /**< This conversation's logs */
238 238
239 GList *send_history; /**< The send history. */
240
241 union 239 union
242 { 240 {
243 GaimConvIm *im; /**< IM-specific data. */ 241 GaimConvIm *im; /**< IM-specific data. */
244 GaimConvChat *chat; /**< Chat-specific data. */ 242 GaimConvChat *chat; /**< Chat-specific data. */
245 void *misc; /**< Misc. data. */ 243 void *misc; /**< Misc. data. */
437 * the remainder of the conversation, use gaim_conversation_set_logging(). 435 * the remainder of the conversation, use gaim_conversation_set_logging().
438 * 436 *
439 * @param conv The conversation. 437 * @param conv The conversation.
440 */ 438 */
441 void gaim_conversation_close_logs(GaimConversation *conv); 439 void gaim_conversation_close_logs(GaimConversation *conv);
442
443 /**
444 * Returns the specified conversation's send history.
445 *
446 * @param conv The conversation.
447 *
448 * @return The conversation's send history.
449 */
450 GList *gaim_conversation_get_send_history(const GaimConversation *conv);
451 440
452 /** 441 /**
453 * Returns the specified conversation's IM-specific data. 442 * Returns the specified conversation's IM-specific data.
454 * 443 *
455 * If the conversation type is not GAIM_CONV_TYPE_IM, this will return @c NULL. 444 * If the conversation type is not GAIM_CONV_TYPE_IM, this will return @c NULL.