00001 00006 /* finch 00007 * 00008 * Finch 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 _FINCHLOG_H_ 00027 #define _FINCHLOG_H_ 00028 00029 #include "log.h" 00030 #include "account.h" 00031 #include "gntwidget.h" 00032 00033 typedef struct _FinchLogViewer FinchLogViewer; 00034 00038 struct _FinchLogViewer { 00039 GList *logs; 00041 GntWidget *window; 00042 GntWidget *tree; 00043 GntWidget *text; 00044 GntWidget *entry; 00046 GntWidget *label; 00047 PurpleLogReadFlags flags; 00048 char *search; 00049 }; 00050 00051 00052 00053 void finch_log_show(PurpleLogType type, const char *screenname, PurpleAccount *account); 00054 void finch_log_show_contact(PurpleContact *contact); 00055 00056 void finch_syslog_show(void); 00057 00058 /**************************************************************************/ 00060 /**************************************************************************/ 00066 void finch_log_init(void); 00067 00073 void *finch_log_get_handle(void); 00074 00078 void finch_log_uninit(void); 00079 00082 #endif