comparison src/conversation.h @ 7431:643cbc9a6035

[gaim-migrate @ 8036] This is good enough for CVS. This is new logging. It centers around the highly modular "GaimLogLogger," which controls how to write the log. Currently I only have the plain text logger. I wrote the beginning of an XML logger, but decided I didn't think it was that great an idea. Plugins can implement loggers themselves, so you can have, like, an SQL logger or something. The default logger writes to a file unique to the conversation, and they're saved on disk in a heirarchical fashion: ~/.gaim/logs/aim/seanegn/robflynn-date.log would be a conversation I had with Rob on date. What doesn't work: System logging The search button in the log viewer. Oh, chats probably don't log either, I didn't test. You can only log in plain text right now. Obviously, it's not done yet. But you can play around with it, and give it some love. I'll get back to it tomorrow after school, maybe. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 05 Nov 2003 06:15:49 +0000
parents c93493c59ac3
children cdfdbabd3266
comparison
equal deleted inserted replaced
7430:783eea64614c 7431:643cbc9a6035
114 GAIM_MESSAGE_IMAGES = 0x0100 /**< Message contains images. */ 114 GAIM_MESSAGE_IMAGES = 0x0100 /**< Message contains images. */
115 115
116 } GaimMessageFlags; 116 } GaimMessageFlags;
117 117
118 #include "account.h" 118 #include "account.h"
119 #include "log.h"
119 #include "buddyicon.h" 120 #include "buddyicon.h"
120 #include "server.h" 121 #include "server.h"
121 122
122 /** 123 /**
123 * Conversation window operations. 124 * Conversation window operations.
239 240
240 char *name; /**< The name of the conversation. */ 241 char *name; /**< The name of the conversation. */
241 char *title; /**< The window title. */ 242 char *title; /**< The window title. */
242 243
243 gboolean logging; /**< The status of logging. */ 244 gboolean logging; /**< The status of logging. */
244 245
246 GaimLog *log; /**< This conversation's log */
247
245 GList *send_history; /**< The send history. */ 248 GList *send_history; /**< The send history. */
246 GString *history; /**< The conversation history. */ 249 GString *history; /**< The conversation history. */
247 250
248 GaimUnseenState unseen; /**< The unseen tab state. */ 251 GaimUnseenState unseen; /**< The unseen tab state. */
249 252