comparison src/gaim.h @ 3060:4f2f12bf4408

[gaim-migrate @ 3074] Code cleanups by Robert McQueen. Michael Golden replaced the multiple per-account signon windows with a single signon window showing the status of all your accounts committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 16 Mar 2002 00:32:53 +0000
parents 1143524a2eaf
children a7e03c5d2205
comparison
equal deleted inserted replaced
3059:966c4e460ebb 3060:4f2f12bf4408
277 #define OPT_SOUND_NAS 0x00004000 277 #define OPT_SOUND_NAS 0x00004000
278 #define OPT_SOUND_ARTSC 0x00008000 278 #define OPT_SOUND_ARTSC 0x00008000
279 #define OPT_SOUND_ESD 0x00010000 279 #define OPT_SOUND_ESD 0x00010000
280 #define OPT_SOUND_CMD 0x00020000 280 #define OPT_SOUND_CMD 0x00020000
281 281
282 #define BUDDY_ARRIVE 0 282 /* remember to also change the struct in sound.c */
283 #define BUDDY_LEAVE 1 283 #define SND_BUDDY_ARRIVE 0
284 #define RECEIVE 2 284 #define SND_BUDDY_LEAVE 1
285 #define FIRST_RECEIVE 3 285 #define SND_RECEIVE 2
286 #define SEND 4 286 #define SND_FIRST_RECEIVE 3
287 #define CHAT_JOIN 5 287 #define SND_SEND 4
288 #define CHAT_LEAVE 6 288 #define SND_CHAT_JOIN 5
289 #define CHAT_YOU_SAY 7 289 #define SND_CHAT_LEAVE 6
290 #define CHAT_SAY 8 290 #define SND_CHAT_YOU_SAY 7
291 #define POUNCE_DEFAULT 9 291 #define SND_CHAT_SAY 8
292 #define SND_POUNCE_DEFAULT 9
292 #define NUM_SOUNDS 10 293 #define NUM_SOUNDS 10
293 extern char *sound_file[NUM_SOUNDS]; 294 extern char *sound_file[NUM_SOUNDS];
295
296 /* global sound struct */
297 struct sound_struct {
298 char *label;
299 guint opt;
300 unsigned char *snd;
301 size_t snd_size;
302 };
303 extern struct sound_struct sounds[];
294 304
295 extern guint away_options; 305 extern guint away_options;
296 #define OPT_AWAY_DISCARD 0x00000001 306 #define OPT_AWAY_DISCARD 0x00000001
297 #define OPT_AWAY_BACK_ON_IM 0x00000002 307 #define OPT_AWAY_BACK_ON_IM 0x00000002
298 #define OPT_AWAY_TIK_HACK 0x00000004 308 #define OPT_AWAY_TIK_HACK 0x00000004