3 * Pidgin is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
26 * @section_id: pidgin-gtklog
27 * @short_description: <filename>gtklog.h</filename>
29 * @see_also: <link linkend="chapter-signals-gtklog">Log signals</link>
37 typedef struct _PidginLogViewer PidginLogViewer
;
41 * @logs: The list of logs viewed in this viewer
42 * @window: The viewer's window
43 * @treestore: The treestore containing said logs
44 * @treeview: The treeview representing said treestore
45 * @web_view: The webkit web view to display said logs
46 * @entry: The search entry, in which search terms are entered
47 * @flags: The most recently used log flags
48 * @search: The string currently being searched for
49 * @label: The label at the top of the log viewer
51 * A GTK+ Log Viewer. You can look at logs with it.
53 struct _PidginLogViewer
{
57 GtkTreeStore
*treestore
;
62 PurpleLogReadFlags flags
;
70 void pidgin_log_show(PurpleLogType type
, const char *buddyname
, PurpleAccount
*account
);
71 void pidgin_log_show_contact(PurpleContact
*contact
);
73 void pidgin_syslog_show(void);
75 /**************************************************************************/
76 /* GTK+ Log Subsystem */
77 /**************************************************************************/
82 * Initializes the GTK+ log subsystem.
84 void pidgin_log_init(void);
87 * pidgin_log_get_handle:
89 * Returns the GTK+ log subsystem handle.
91 * Returns: The GTK+ log subsystem handle.
93 void *pidgin_log_get_handle(void);
98 * Uninitializes the GTK+ log subsystem.
100 void pidgin_log_uninit(void);