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 * globals.h 00024 * 00025 */ 00026 00027 00028 #include <gtk/gtk.h> 00029 #if defined(__MINGW32__) && defined(__IN_PLUGIN__) 00030 #define extern __declspec(dllimport) 00031 #endif 00032 00033 extern GList *groups; 00034 extern GList *accounts; 00035 extern GList *chat_rooms; 00036 extern GList *away_messages; 00037 extern gint length_contact_window; 00038 extern gint do_login_on_startup; 00039 extern gint do_applet_show_on_startup; 00040 extern gint do_logging; 00041 extern gint do_strip_html; 00042 extern gint do_play_sounds; 00043 extern gint do_play_send; 00044 extern gint do_play_receive; 00045 extern gint do_play_first; 00046 extern gint do_ignore_unknown; 00047 extern gint do_send_idle_time; 00048 extern gint is_away; 00049 extern gint do_raise_window; 00050 extern gint do_timestamp; 00051 extern gint do_online_sound; 00052 extern gint do_multi_line; 00053 extern gint do_enter_send; 00054 extern gint do_ignore_fore; 00055 extern gint do_ignore_back; 00056 extern gint do_ignore_font; 00057 extern gint do_convo_timestamp; 00058 extern gint do_typing_notify; 00059 extern gint do_send_typing_notify; 00060 extern gint do_escape_close; 00061 extern gint do_restore_last_conv; 00062 extern gint do_no_sound_when_away; 00063 extern gint do_no_sound_for_ignore; 00064 00065 //extern gchar *DefaultSoundPath; 00066 //extern gint use_typical_sound_method; 00067 //extern gint use_sounddevice; 00068 extern gint do_away_sound; 00069 extern gchar BuddyArriveFilename[1024]; 00070 extern gchar BuddyAwayFilename[1024]; 00071 extern gchar BuddyLeaveFilename[1024]; 00072 extern gchar SendFilename[1024]; 00073 extern gchar ReceiveFilename[1024]; 00074 extern gchar FirstMsgFilename[1024]; 00075 extern gfloat volume_sound; 00076 00077 extern GtkWidget *away_menu; 00078 char geometry[256]; 00079 00080 #ifdef HAVE_ICONV_H 00081 extern gint use_recoding; 00082 extern gchar local_encoding[]; 00083 extern gchar remote_encoding[]; 00084 #endif 00085 00086 #ifdef HAVE_ISPELL 00087 extern gint do_spell_checking; 00088 #endif 00089 00090 /* The location of our config files */ 00091 extern char config_dir[]; 00092 00093 /* use tabbed chat */ 00094 extern gint do_tabbed_chat; 00095 extern gint do_tabbed_chat_orient; 00096 00097 /* tabbed chat tab switching hotkeys */ 00098 extern GdkDeviceKey accel_next_tab; 00099 extern GdkDeviceKey accel_prev_tab; 00100 00101 /* alternate web browser */ 00102 extern gint use_alternate_browser; 00103 00104 /* auto resizing of contact list */ 00105 extern gint do_noautoresize; 00106 00107 /* current parent (for error dialogs) */ 00108 GtkWidget *current_parent_widget; 00109 00110 /* debug messages */ 00111 extern gint do_yattm_debug; 00112 extern gint do_yattm_debug_html; 00113 00114 #define DBG_HTML do_yattm_debug_html 00115 #define DBG_CORE do_yattm_debug 00116 00117 #include "debug.h" 00118 #if defined(__MINGW32__) && defined(__IN_PLUGIN__) 00119 #define extern extern 00120 #endif 00121