Yattm - unified GTK instant-messaging client | |
[Generated for version 0.2-17 - Mon Jan 6 19:01:23 GMT+1 2003] |
00001 /* 00002 * Yattm 00003 * 00004 * Copyright (C) 1999, Torrey Searle <tsearle@uci.edu> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 * 00020 */ 00021 00022 /* 00023 * info_window.h 00024 * header file for the info window 00025 * 00026 */ 00027 00028 #ifndef __INFO_WINDOW_H__ 00029 #define __INFO_WINDOW_H__ 00030 00031 00032 00033 #include <gtk/gtk.h> 00034 #include <stdio.h> 00035 #include "account.h" 00036 00037 00038 typedef struct _info_window 00039 { 00040 GtkWidget * window; 00041 GtkWidget * info; 00042 GtkWidget * scrollwindow; 00043 void (*cleanup)(struct _info_window *); 00044 void *info_data; 00045 char info_type; 00046 struct account * remote_account; 00047 eb_local_account * local_user; 00048 00049 } info_window; 00050 00051 00052 #ifdef __cplusplus 00053 extern "C" { 00054 #endif 00055 00056 info_window * eb_info_window_new( eb_local_account * local, struct account *); 00057 void eb_info_window_add_info( eb_account * remote_account, gchar* text, gint ignore_bg, gint ignore_fg, gint ignore_font ); 00058 void clear_info_window(info_window *iw); 00059 00060 #ifdef __cplusplus 00061 } /*extern "C" */ 00062 #endif 00063 00064 #endif