7432
|
1 /**
|
|
2 * @file gtklog.h GTK+ Log viewer
|
|
3 * @ingroup gtkui
|
|
4 *
|
|
5 * gaim
|
|
6 *
|
|
7 * Copyright (C) 2003 Angela Lansbury
|
|
8 *
|
|
9 * This program is free software; you can redistribute it and/or modify
|
|
10 * it under the terms of the GNU General Public License as published by
|
|
11 * the Free Software Foundation; either version 2 of the License, or
|
|
12 * (at your option) any later version.
|
|
13 *
|
|
14 * This program is distributed in the hope that it will be useful,
|
|
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17 * GNU General Public License for more details.
|
|
18 *
|
|
19 * You should have received a copy of the GNU General Public License
|
|
20 * along with this program; if not, write to the Free Software
|
|
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
22 */
|
|
23
|
|
24 #include "gtkinternal.h"
|
|
25 #include "log.h"
|
|
26
|
|
27 #include "account.h"
|
|
28
|
|
29 typedef struct _GaimGtkLogViewer GaimGtkLogViewer;
|
|
30
|
|
31 /**
|
|
32 * A GTK+ Log Viewer. You can look at logs with it.
|
|
33 */
|
|
34 struct _GaimGtkLogViewer {
|
|
35 GList *logs; /**< The list of logs viewed in this viewer */
|
|
36
|
|
37 GtkWidget *window; /**< The viewer's window */
|
|
38 GtkTreeStore *treestore; /**< The treestore containing said logs */
|
|
39 GtkWidget *treeview; /**< The treeview representing said treestore */
|
|
40 GtkWidget *imhtml; /**< The imhtml to display said logs, which were said
|
|
41 * before said treestore was said */
|
|
42 GtkWidget *entry; /**< The search entry, in which search terms are
|
|
43 * entered */
|
|
44 GaimLogReadFlags flags; /**< The most recently used log flags */
|
|
45 };
|
|
46
|
|
47
|
|
48
|
|
49 void gaim_gtk_log_show(const char *screenname, GaimAccount *account);
|
|
50
|