Mercurial > pidgin
comparison src/gaim.h @ 1457:c6f9d0cdaa00
[gaim-migrate @ 1467]
all of toc in one file; rewritten file transfer. no get file yet; just send file. but why would you want to send files to people anyway? ;)
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 01 Feb 2001 11:29:15 +0000 |
parents | 6650776468b3 |
children | 4c62ead808a2 |
comparison
equal
deleted
inserted
replaced
1456:6650776468b3 | 1457:c6f9d0cdaa00 |
---|---|
352 | 352 |
353 /* something to distinguish */ | 353 /* something to distinguish */ |
354 gboolean is_chat; | 354 gboolean is_chat; |
355 }; | 355 }; |
356 | 356 |
357 struct file_transfer { | |
358 GtkWidget *window; | |
359 char *cookie; | |
360 char *ip; | |
361 char *message; | |
362 int port; | |
363 int size; | |
364 int accepted; | |
365 char *filename; | |
366 char *lfilename; | |
367 char *user; | |
368 FILE *f; | |
369 int fd; | |
370 char UID[2048]; | |
371 struct gaim_connection *gc; | |
372 }; | |
373 | |
374 #define CONVERSATION_TITLE "Gaim - %s" | 357 #define CONVERSATION_TITLE "Gaim - %s" |
375 #define LOG_CONVERSATION_TITLE "Gaim - %s (logged)" | 358 #define LOG_CONVERSATION_TITLE "Gaim - %s (logged)" |
376 | |
377 #define VOICE_UID "09461341-4C7F-11D1-8222-444553540000" | |
378 #define FILE_SEND_UID "09461343-4C7F-11D1-8222-444553540000" | |
379 #define IMAGE_UID "09461345-4C7F-11D1-8222-444553540000" | |
380 #define B_ICON_UID "09461346-4C7F-11D1-8222-444553540000" | |
381 #define STOCKS_UID "09461347-4C7F-11D1-8222-444553540000" | |
382 #define FILE_GET_UID "09461348-4C7F-11D1-8222-444553540000" | |
383 #define GAMES_UID "0946134a-4C7F-11D1-8222-444553540000" | |
384 | 359 |
385 #define AOL_SRCHSTR "/community/aimcheck.adp/url=" | 360 #define AOL_SRCHSTR "/community/aimcheck.adp/url=" |
386 | 361 |
387 /* These should all be runtime selectable */ | 362 /* These should all be runtime selectable */ |
388 | 363 |
807 extern void show_font_dialog(struct conversation *c, GtkWidget *font); | 782 extern void show_font_dialog(struct conversation *c, GtkWidget *font); |
808 extern void cancel_font(GtkWidget *widget, struct conversation *c); | 783 extern void cancel_font(GtkWidget *widget, struct conversation *c); |
809 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); | 784 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); |
810 extern void set_color_selection(GtkWidget *selection, GdkColor color); | 785 extern void set_color_selection(GtkWidget *selection, GdkColor color); |
811 | 786 |
812 /* Functions in rvous.c */ | |
813 extern void accept_file_dialog(struct file_transfer *); | |
814 | |
815 /* Functions in browser.c */ | 787 /* Functions in browser.c */ |
816 extern void open_url(GtkWidget *, char *); | 788 extern void open_url(GtkWidget *, char *); |
817 extern void open_url_nw(GtkWidget *, char *); | 789 extern void open_url_nw(GtkWidget *, char *); |
818 extern void add_bookmark(GtkWidget *, char *); | 790 extern void add_bookmark(GtkWidget *, char *); |
819 | 791 |