- Timestamp:
- 2010-08-21T22:25:37Z (14 years ago)
- Branches:
- master
- Children:
- c00dd71
- Parents:
- a758ec1
- Location:
- protocols
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee.c
ra758ec1 r0ebf919 40 40 s = set_add( &b->set, "auto_reconnect_delay", "5*3<900", set_eval_account_reconnect_delay, b ); 41 41 s = set_add( &b->set, "debug", "false", set_eval_bool, b ); 42 s = set_add( &b->set, "mobile_is_away", "false", set_eval_bool, b ); 42 43 s = set_add( &b->set, "save_on_quit", "true", set_eval_bool, b ); 43 44 s = set_add( &b->set, "status", NULL, set_eval_away_status, b ); -
protocols/bee.h
ra758ec1 r0ebf919 56 56 void bee_free( bee_t *b ); 57 57 58 /* TODO(wilmer): Kill at least the OPT_ flags that have an equivalent here. */ 58 59 typedef enum 59 60 { 60 61 BEE_USER_ONLINE = 1, /* Compatibility with old OPT_LOGGED_IN flag */ 61 62 BEE_USER_AWAY = 4, /* Compatibility with old OPT_AWAY flag */ 63 BEE_USER_MOBILE = 8, /* Compatibility with old OPT_MOBILE flag */ 62 64 BEE_USER_LOCAL = 256, /* Locally-added contacts (not in real contact list) */ 63 65 } bee_user_flags_t; -
protocols/bee_user.c
ra758ec1 r0ebf919 190 190 bu->status_msg = g_strdup( message ); 191 191 192 if( bu->status == NULL && ( flags & OPT_MOBILE ) && 193 set_getbool( &bee->set, "mobile_is_away" ) ) 194 { 195 bu->flags |= BEE_USER_AWAY; 196 bu->status = g_strdup( "Mobile" ); 197 } 198 192 199 if( bee->ui->user_status ) 193 200 bee->ui->user_status( bee, bu, old ); -
protocols/nogaim.h
ra758ec1 r0ebf919 63 63 #define OPT_LOGGING_OUT 0x00000002 64 64 #define OPT_AWAY 0x00000004 65 #define OPT_MOBILE 0x00000008 65 66 #define OPT_DOES_HTML 0x00000010 66 67 #define OPT_LOCALBUDDY 0x00000020 /* For nicks local to one groupchat */ -
protocols/oscar/oscar.c
ra758ec1 r0ebf919 898 898 flags |= OPT_AWAY; 899 899 } 900 901 /* Maybe this should be done just for AIM contacts, not sure. */ 902 if (info->flags & AIM_FLAG_WIRELESS) 903 flags |= OPT_MOBILE; 900 904 901 905 if (info->present & AIM_USERINFO_PRESENT_ICQEXTSTATUS) {
Note: See TracChangeset
for help on using the changeset viewer.