Changeset 5c7b45c
- Timestamp:
- 2010-07-04T13:36:08Z (14 years ago)
- Branches:
- master
- Children:
- f537044
- Parents:
- c8eeadd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_im.c
rc8eeadd r5c7b45c 30 30 31 31 static const struct irc_user_funcs irc_user_im_funcs; 32 33 static void bee_irc_imc_connected( struct im_connection *ic ) 34 { 35 irc_t *irc = (irc_t*) ic->bee->ui_data; 36 37 irc_channel_auto_joins( irc, ic->acc ); 38 } 39 40 static void bee_irc_imc_disconnected( struct im_connection *ic ) 41 { 42 /* Maybe try to send /QUITs here instead of later on. */ 43 } 32 44 33 45 static gboolean bee_irc_user_new( bee_t *bee, bee_user_t *bu ) … … 823 835 824 836 const struct bee_ui_funcs irc_ui_funcs = { 837 bee_irc_imc_connected, 838 bee_irc_imc_disconnected, 839 825 840 bee_irc_user_new, 826 841 bee_irc_user_free, -
protocols/bee.h
rc8eeadd r5c7b45c 82 82 typedef struct bee_ui_funcs 83 83 { 84 void (*imc_connected)( struct im_connection *ic ); 85 void (*imc_disconnected)( struct im_connection *ic ); 86 84 87 gboolean (*user_new)( bee_t *bee, struct bee_user *bu ); 85 88 gboolean (*user_free)( bee_t *bee, struct bee_user *bu ); -
protocols/nogaim.c
rc8eeadd r5c7b45c 287 287 ic->acc->auto_reconnect_delay = 0; 288 288 289 if( ic->bee->ui->imc_connected ) 290 ic->bee->ui->imc_connected( ic ); 291 289 292 /* 290 293 for( c = irc->chatrooms; c; c = c->next ) … … 328 331 else 329 332 ic->flags |= OPT_LOGGING_OUT; 333 334 if( ic->bee->ui->imc_disconnected ) 335 ic->bee->ui->imc_disconnected( ic ); 330 336 331 337 imcb_log( ic, "Signing off.." );
Note: See TracChangeset
for help on using the changeset viewer.