diff 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
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h	Mon Aug 27 01:36:21 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.h	Mon Aug 27 02:29:15 2007 +0000
@@ -164,13 +164,18 @@
 #define MSIM_STATUS_CODE_AWAY                 5
 
 
-/* Inbox status bitfield values for MsimSession.inbox_status */
+/* Inbox status bitfield values for MsimSession.inbox_status. */
 #define MSIM_INBOX_MAIL                 (1 << 0)
 #define MSIM_INBOX_BLOG_COMMENT         (1 << 1)
 #define MSIM_INBOX_PROFILE_COMMENT      (1 << 2)
 #define MSIM_INBOX_FRIEND_REQUEST       (1 << 3)
 #define MSIM_INBOX_PICTURE_COMMENT      (1 << 4)
 
+/* Codes for msim_got_contact_list(), to tell what to do afterwards. */
+#define MSIM_CONTACT_LIST_INITIAL_FRIENDS	0
+#define MSIM_CONTACT_LIST_IMPORT_ALL_FRIENDS	1
+#define MSIM_CONTACT_LIST_IMPORT_TOP_FRIENDS	2
+
 #ifdef MSIM_USE_ATTENTION_API
 #define MsimAttentionType PurpleAttentionType
 #else