pidgin: gtklog.h Source File

pidgin 2.14.4

Loading...
Searching...
No Matches
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
35typedef struct _PidginLogViewer PidginLogViewer;
36
40 struct _PidginLogViewer {
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
56void pidgin_log_show(PurpleLogType type, const char *buddyname, PurpleAccount *account);
57void pidgin_log_show_contact(PurpleContact *contact);
58
59void pidgin_syslog_show(void);
60
61/**************************************************************************/
63/**************************************************************************/
69 void pidgin_log_init(void);
70
76 void *pidgin_log_get_handle(void);
77
81 void pidgin_log_uninit(void);
82
85#endif
account.h
Account API.
pidgin_log_get_handle
void * pidgin_log_get_handle(void)
Returns the GTK+ log subsystem handle.
pidgin_log_init
void pidgin_log_init(void)
Initializes the GTK+ log subsystem.
pidgin_log_uninit
void pidgin_log_uninit(void)
Uninitializes the GTK+ log subsystem.
log.h
Logging API.
pidgin.h
UI definitions and includes.
_PidginLogViewer
A GTK+ Log Viewer.
Definition: gtklog.h:40
_PidginLogViewer::search
char * search
The string currently being searched for
Definition: gtklog.h:50
_PidginLogViewer::entry
GtkWidget * entry
The search entry, in which search terms are entered
Definition: gtklog.h:47
_PidginLogViewer::flags
PurpleLogReadFlags flags
The most recently used log flags
Definition: gtklog.h:49
_PidginLogViewer::logs
GList * logs
The list of logs viewed in this viewer
Definition: gtklog.h:41
_PidginLogViewer::treeview
GtkWidget * treeview
The treeview representing said treestore.
Definition: gtklog.h:45
_PidginLogViewer::label
GtkWidget * label
The label at the top of the log viewer
Definition: gtklog.h:51
_PidginLogViewer::window
GtkWidget * window
The viewer's window
Definition: gtklog.h:43
_PidginLogViewer::imhtml
GtkWidget * imhtml
The imhtml to display said logs
Definition: gtklog.h:46
_PidginLogViewer::treestore
GtkTreeStore * treestore
The treestore containing said logs
Definition: gtklog.h:44
_PurpleAccount
Structure representing an account.
Definition: account.h:170
_PurpleContact
A contact.
Definition: blist.h:155