Changeset 5c7b45c for protocols


Ignore:
Timestamp:
2010-07-04T13:36:08Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f537044
Parents:
c8eeadd
Message:

Auto joins for chatrooms.

Location:
protocols
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee.h

    rc8eeadd r5c7b45c  
    8282typedef struct bee_ui_funcs
    8383{
     84        void (*imc_connected)( struct im_connection *ic );
     85        void (*imc_disconnected)( struct im_connection *ic );
     86       
    8487        gboolean (*user_new)( bee_t *bee, struct bee_user *bu );
    8588        gboolean (*user_free)( bee_t *bee, struct bee_user *bu );
  • protocols/nogaim.c

    rc8eeadd r5c7b45c  
    287287        ic->acc->auto_reconnect_delay = 0;
    288288       
     289        if( ic->bee->ui->imc_connected )
     290                ic->bee->ui->imc_connected( ic );
     291       
    289292        /*
    290293        for( c = irc->chatrooms; c; c = c->next )
     
    328331        else
    329332                ic->flags |= OPT_LOGGING_OUT;
     333       
     334        if( ic->bee->ui->imc_disconnected )
     335                ic->bee->ui->imc_disconnected( ic );
    330336       
    331337        imcb_log( ic, "Signing off.." );
Note: See TracChangeset for help on using the changeset viewer.