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