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 * status.h 00024 */ 00025 00026 #ifndef __STATUS__ 00027 #define __STATUS__ 00028 00029 #include <gtk/gtk.h> 00030 #include "account.h" 00031 00032 enum list_type 00033 { 00034 LIST_ONLINE, 00035 LIST_EDIT 00036 }; 00037 00038 struct callback_item 00039 { 00040 char name[255]; 00041 void (*callback_function)(); 00042 }; 00043 00044 #ifdef __cplusplus 00045 extern "C" { 00046 #endif 00047 00048 void add_contact_and_accounts(struct contact * c); 00049 void add_contact_line(struct contact * ec); 00050 void add_account_line(eb_account * ea); 00051 void add_group_line(grouplist * eg); 00052 void remove_account_line(eb_account * ea); 00053 void remove_contact_line(struct contact * ec); 00054 void remove_group_line(grouplist * eg); 00055 void buddy_update_status_and_log(eb_account * ea); 00056 void buddy_update_status(eb_account * ea); 00057 void contact_update_status(struct contact * ec); 00058 void buddy_login(eb_account * ea); 00059 void buddy_logoff(eb_account * ea); 00060 void eb_sign_on_all(GtkWidget *widget, gpointer foo) ; 00061 00062 void eb_import_window(GtkWidget *import_submenuitem); 00063 void eb_profile_window(GtkWidget *profile_submenuitem); 00064 void eb_set_status_window(GtkWidget *set_status_submenuitem); 00065 void eb_status_window(); 00066 GtkWidget* MakeStatusButton(eb_local_account * ela); 00067 void update_contact_list (); 00068 void update_user(eb_account * ea ); 00069 void update_contact_window_length (); 00070 void focus_statuswindow (void); 00071 #ifdef __cplusplus 00072 } /* extern "C" */ 00073 #endif 00074 00075 #endif 00076