pidgin  2.14.13dev
gtklog.h
Go to the documentation of this file.
1 
7 /* pidgin
8  *
9  * Pidgin is the legal property of its developers, whose names are too numerous
10  * to list here. Please refer to the COPYRIGHT file distributed with this
11  * source distribution.
12  *
13  * This program is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation; either version 2 of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
26  */
27 #ifndef _PIDGINLOG_H_
28 #define _PIDGINLOG_H_
29 
30 #include "pidgin.h"
31 #include "log.h"
32 
33 #include "account.h"
34 
35 typedef struct _PidginLogViewer PidginLogViewer;
36 
41  GList *logs;
43  GtkWidget *window;
44  GtkTreeStore *treestore;
45  GtkWidget *treeview;
46  GtkWidget *imhtml;
47  GtkWidget *entry;
49  PurpleLogReadFlags flags;
50  char *search;
51  GtkWidget *label;
52 };
53 
54 
55 
56 void pidgin_log_show(PurpleLogType type, const char *buddyname, PurpleAccount *account);
57 void pidgin_log_show_contact(PurpleContact *contact);
58 
59 void pidgin_syslog_show(void);
60 
61 /**************************************************************************/
63 /**************************************************************************/
69 void pidgin_log_init(void);
70 
77 
81 void pidgin_log_uninit(void);
82 
85 #endif
Account API.
void * pidgin_log_get_handle(void)
Returns the GTK+ log subsystem handle.
void pidgin_log_init(void)
Initializes the GTK+ log subsystem.
void pidgin_log_uninit(void)
Uninitializes the GTK+ log subsystem.
Logging API.
UI definitions and includes.
A GTK+ Log Viewer.
Definition: gtklog.h:40
char * search
The string currently being searched for
Definition: gtklog.h:50
GtkWidget * entry
The search entry, in which search terms are entered
Definition: gtklog.h:47
PurpleLogReadFlags flags
The most recently used log flags
Definition: gtklog.h:49
GList * logs
The list of logs viewed in this viewer
Definition: gtklog.h:41
GtkWidget * treeview
The treeview representing said treestore.
Definition: gtklog.h:45
GtkWidget * label
The label at the top of the log viewer
Definition: gtklog.h:51
GtkWidget * window
The viewer's window
Definition: gtklog.h:43
GtkWidget * imhtml
The imhtml to display said logs
Definition: gtklog.h:46
GtkTreeStore * treestore
The treestore containing said logs
Definition: gtklog.h:44
Structure representing an account.
Definition: account.h:170
A contact.
Definition: blist.h:155