- Timestamp:
- 2010-06-07T15:11:09Z (14 years ago)
- Branches:
- master
- Children:
- 0e8b3e8
- Parents:
- 4aa0f6b
- Location:
- protocols
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee.h
r4aa0f6b r56699f0 68 68 char *status_msg; 69 69 70 time_t login_time, idle_time; 71 70 72 bee_t *bee; 71 73 void *ui_data; … … 123 125 * - 'state' and 'message' can be NULL */ 124 126 G_MODULE_EXPORT void imcb_buddy_status( struct im_connection *ic, const char *handle, int flags, const char *state, const char *message ); 125 /* Not implemented yet! */G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle );127 G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ); 126 128 /* Call when a handle says something. 'flags' and 'sent_at may be just 0. */ 127 129 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, guint32 flags, time_t sent_at ); -
protocols/bee_user.c
r4aa0f6b r56699f0 192 192 } 193 193 194 void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ) 195 { 196 bee_t *bee = ic->bee; 197 bee_user_t *bu; 198 199 if( !( bu = bee_user_by_handle( bee, ic, handle ) ) ) 200 return; 201 202 bu->login_time = login; 203 bu->idle_time = idle; 204 } 205 194 206 void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at ) 195 207 { -
protocols/oscar/oscar.c
r4aa0f6b r56699f0 938 938 tmp = normalize(info->sn); 939 939 imcb_buddy_status(ic, tmp, flags, state_string, NULL); 940 /* imcb_buddy_times(ic, tmp, signon, time_idle); */940 imcb_buddy_times(ic, tmp, signon, time_idle); 941 941 942 942 -
protocols/purple/purple.c
r4aa0f6b r56699f0 687 687 imcb_buddy_status( ic, bud->name, flags, purple_status_get_name( as ), 688 688 purple_status_get_attr_string( as, "message" ) ); 689 690 imcb_buddy_times( ic, bud->name, 691 purple_presence_get_login_time( bud->presence ), 692 purple_presence_get_idle_time( bud->presence ) ); 689 693 } 690 694 } -
protocols/yahoo/yahoo.c
r4aa0f6b r56699f0 613 613 imcb_buddy_status( ic, who, flags, state_string, msg ); 614 614 615 /* Not implemented yet...616 615 if( stat == YAHOO_STATUS_IDLE ) 617 imcb_buddy_times( ic, who, 0, away ); 618 */ 616 imcb_buddy_times( ic, who, 0, idle ); 619 617 } 620 618
Note: See TracChangeset
for help on using the changeset viewer.