gtklog.h
Go to the documentation of this file.
/* pidgin
*
* Pidgin is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#ifndef _PIDGINLOG_H_
#define _PIDGINLOG_H_
#include "pidgin.h"
#include "log.h"
#include "account.h"
typedef struct _PidginLogViewer PidginLogViewer;
struct _PidginLogViewer {
GList *logs;
GtkWidget *window;
GtkTreeStore *treestore;
GtkWidget *treeview;
GtkWidget *imhtml;
GtkWidget *entry;
PurpleLogReadFlags flags;
char *search;
GtkWidget *label;
};
void pidgin_log_show(PurpleLogType type, const char *buddyname, PurpleAccount *account);
void pidgin_log_show_contact(PurpleContact *contact);
void pidgin_syslog_show(void);
/**************************************************************************/
/**************************************************************************/
void pidgin_log_init(void);
void *pidgin_log_get_handle(void);
void pidgin_log_uninit(void);
#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