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