Mercurial > pidgin
comparison src/multi.h @ 2401:86c9b44a35ae
[gaim-migrate @ 2414]
multi.h no longer depends on gtk.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Mon, 01 Oct 2001 07:16:27 +0000 |
| parents | 78fab38249a2 |
| children | 6e3dc0b3b9b1 |
comparison
equal
deleted
inserted
replaced
| 2400:596f14073f4f | 2401:86c9b44a35ae |
|---|---|
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef _GAIMMULTI_H_ | 22 #ifndef _GAIMMULTI_H_ |
| 23 #define _GAIMMULTI_H_ | 23 #define _GAIMMULTI_H_ |
| 24 | 24 |
| 25 #include <gtk/gtk.h> | |
| 26 #include "gaim.h" | 25 #include "gaim.h" |
| 27 | 26 |
| 28 /* ok. now the fun begins. first we create a connection structure */ | 27 /* ok. now the fun begins. first we create a connection structure */ |
| 29 struct gaim_connection { | 28 struct gaim_connection { |
| 30 int edittype; | 29 int edittype; /* CUI: this is ui-specific and should be removed */ |
| 31 | 30 |
| 32 /* we need to do either oscar or TOC */ | 31 /* we need to do either oscar or TOC */ |
| 33 /* we make this as an int in case if we want to add more protocols later */ | 32 /* we make this as an int in case if we want to add more protocols later */ |
| 34 int protocol; | 33 int protocol; |
| 35 struct prpl *prpl; | 34 struct prpl *prpl; |
| 56 char displayname[128]; | 55 char displayname[128]; |
| 57 char password[32]; | 56 char password[32]; |
| 58 int options; /* same as aim_user options */ | 57 int options; /* same as aim_user options */ |
| 59 guint keepalive; | 58 guint keepalive; |
| 60 /* stuff needed for per-connection idle times */ | 59 /* stuff needed for per-connection idle times */ |
| 61 guint idle_timer; | 60 guint idle_timer; /* CUI: we need to figure out what to do about idle reporting */ |
| 62 time_t login_time; | 61 time_t login_time; |
| 63 time_t lastsent; | 62 time_t lastsent; |
| 64 int is_idle; | 63 int is_idle; |
| 65 time_t correction_time; | 64 time_t correction_time; |
| 66 | 65 |
| 72 char *away; | 71 char *away; |
| 73 int is_auto_away; | 72 int is_auto_away; |
| 74 | 73 |
| 75 int evil; | 74 int evil; |
| 76 gboolean wants_to_die; /* defaults to FALSE */ | 75 gboolean wants_to_die; /* defaults to FALSE */ |
| 77 | |
| 78 /* email notification (MSN and Yahoo) */ | |
| 79 GtkWidget *email_win; | |
| 80 GtkWidget *email_label; | |
| 81 }; | 76 }; |
| 82 | 77 |
| 83 struct proto_user_opt { | 78 struct proto_user_opt { |
| 84 char *label; | 79 char *label; |
| 85 char *def; | 80 char *def; |
| 105 | 100 |
| 106 struct aim_user *new_user(const char *, int, int); | 101 struct aim_user *new_user(const char *, int, int); |
| 107 struct gaim_connection *new_gaim_conn(struct aim_user *); | 102 struct gaim_connection *new_gaim_conn(struct aim_user *); |
| 108 void destroy_gaim_conn(struct gaim_connection *); | 103 void destroy_gaim_conn(struct gaim_connection *); |
| 109 | 104 |
| 110 void account_editor(GtkWidget *, GtkWidget *); | |
| 111 void regenerate_user_list(); | 105 void regenerate_user_list(); |
| 112 | 106 |
| 113 void account_online(struct gaim_connection *); | 107 void account_online(struct gaim_connection *); |
| 114 void account_offline(struct gaim_connection *); | 108 void account_offline(struct gaim_connection *); |
| 115 | 109 |
