gntlog.h

Go to the documentation of this file.
00001 
00007 /* finch
00008  *
00009  * Finch 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 _FINCHLOG_H_
00028 #define _FINCHLOG_H_
00029 
00030 #include "log.h"
00031 #include "account.h"
00032 #include "gntwidget.h"
00033 
00034 typedef struct _FinchLogViewer FinchLogViewer;
00035 
00039 struct _FinchLogViewer {
00040     GList *logs;                 
00042     GntWidget   *window;    
00043     GntWidget   *tree;      
00044     GntWidget   *text;      
00045     GntWidget   *entry;     
00047     GntWidget   *label;
00048     PurpleLogReadFlags flags;      
00049     char        *search;    
00050 };
00051 
00052 
00053 
00054 void finch_log_show(PurpleLogType type, const char *screenname, PurpleAccount *account);
00055 void finch_log_show_contact(PurpleContact *contact);
00056 
00057 void finch_syslog_show(void);
00058 
00059 /**************************************************************************/
00061 /**************************************************************************/
00067 void finch_log_init(void);
00068 
00074 void *finch_log_get_handle(void);
00075 
00079 void finch_log_uninit(void);
00080 
00083 #endif