comparison libpurple/protocols/myspace/myspace.h @ 19462:105305518622

On login, get contacts from server using msim_get_contact_list(). This is part of #2658.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Mon, 27 Aug 2007 02:29:15 +0000
parents a62c9b9c4596
children 11c727b19201
comparison
equal deleted inserted replaced
19461:1b5e786d137a 19462:105305518622
162 #define MSIM_STATUS_CODE_ONLINE 1 162 #define MSIM_STATUS_CODE_ONLINE 1
163 #define MSIM_STATUS_CODE_IDLE 2 163 #define MSIM_STATUS_CODE_IDLE 2
164 #define MSIM_STATUS_CODE_AWAY 5 164 #define MSIM_STATUS_CODE_AWAY 5
165 165
166 166
167 /* Inbox status bitfield values for MsimSession.inbox_status */ 167 /* Inbox status bitfield values for MsimSession.inbox_status. */
168 #define MSIM_INBOX_MAIL (1 << 0) 168 #define MSIM_INBOX_MAIL (1 << 0)
169 #define MSIM_INBOX_BLOG_COMMENT (1 << 1) 169 #define MSIM_INBOX_BLOG_COMMENT (1 << 1)
170 #define MSIM_INBOX_PROFILE_COMMENT (1 << 2) 170 #define MSIM_INBOX_PROFILE_COMMENT (1 << 2)
171 #define MSIM_INBOX_FRIEND_REQUEST (1 << 3) 171 #define MSIM_INBOX_FRIEND_REQUEST (1 << 3)
172 #define MSIM_INBOX_PICTURE_COMMENT (1 << 4) 172 #define MSIM_INBOX_PICTURE_COMMENT (1 << 4)
173
174 /* Codes for msim_got_contact_list(), to tell what to do afterwards. */
175 #define MSIM_CONTACT_LIST_INITIAL_FRIENDS 0
176 #define MSIM_CONTACT_LIST_IMPORT_ALL_FRIENDS 1
177 #define MSIM_CONTACT_LIST_IMPORT_TOP_FRIENDS 2
173 178
174 #ifdef MSIM_USE_ATTENTION_API 179 #ifdef MSIM_USE_ATTENTION_API
175 #define MsimAttentionType PurpleAttentionType 180 #define MsimAttentionType PurpleAttentionType
176 #else 181 #else
177 /* Different kinds of attention alerts. Not yet in libpurple, so define 182 /* Different kinds of attention alerts. Not yet in libpurple, so define