gtklog.h

Go to the documentation of this file.
00001 
00006 /* pidgin
00007  *
00008  * Pidgin is the legal property of its developers, whose names are too numerous
00009  * to list here.  Please refer to the COPYRIGHT file distributed with this
00010  * source distribution.
00011  * 
00012  * This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program; if not, write to the Free Software
00024  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
00025  */
00026 #ifndef _PIDGINLOG_H_
00027 #define _PIDGINLOG_H_
00028 
00029 #include "pidgin.h"
00030 #include "log.h"
00031 
00032 #include "account.h"
00033 
00034 typedef struct _PidginLogViewer PidginLogViewer;
00035 
00039 struct _PidginLogViewer {
00040     GList *logs;                 
00042     GtkWidget        *window;    
00043     GtkTreeStore     *treestore; 
00044     GtkWidget        *treeview;  
00045     GtkWidget        *imhtml;    
00046     GtkWidget        *entry;     
00048     PurpleLogReadFlags flags;      
00049     char             *search;    
00050     GtkWidget        *label;     
00051 };
00052 
00053 
00054 
00055 void pidgin_log_show(PurpleLogType type, const char *screenname, PurpleAccount *account);
00056 void pidgin_log_show_contact(PurpleContact *contact);
00057 
00058 void pidgin_syslog_show(void);
00059 
00060 /**************************************************************************/
00062 /**************************************************************************/
00068 void pidgin_log_init(void);
00069 
00075 void *pidgin_log_get_handle(void);
00076 
00080 void pidgin_log_uninit(void);
00081 
00084 #endif