comparison libpurple/protocols/mxit/protocol.h @ 30422:30d0d4756fac

* Separate the ClientVersion from the supported ProtocolVersion. * Increment the protocol version we use from v5.9 to v6.0, and update the Login Request packet accordingly. * Protocol v6.0 supports Invite Rejection messages, so if an invite we sent was rejected then display it in the buddy tooltip.
author andrew.victor@mxit.com
date Thu, 20 May 2010 09:29:46 +0000
parents 207662bad69c
children 08d9cdac2b3c
comparison
equal deleted inserted replaced
30421:6e4fa807abd4 30422:30d0d4756fac
83 #define MXIT_PING_INTERVAL ( 5 * 60 ) /* ping the server after X seconds of being idle (5 minutes) */ 83 #define MXIT_PING_INTERVAL ( 5 * 60 ) /* ping the server after X seconds of being idle (5 minutes) */
84 #define MXIT_ACK_TIMEOUT ( 30 ) /* timeout after waiting X seconds for an ack from the server (30 seconds) */ 84 #define MXIT_ACK_TIMEOUT ( 30 ) /* timeout after waiting X seconds for an ack from the server (30 seconds) */
85 85
86 /* MXit client version */ 86 /* MXit client version */
87 #define MXIT_CP_DISTCODE "P" /* client distribution code (magic, do not touch!) */ 87 #define MXIT_CP_DISTCODE "P" /* client distribution code (magic, do not touch!) */
88 #define MXIT_CP_RELEASE "5.9.0" /* client protocol release version supported */ 88 #define MXIT_CP_RELEASE "5.9.0" /* client version */
89 #define MXIT_CP_ARCH "Y" /* client architecture series (Y not for Yoda but for PC-client) */ 89 #define MXIT_CP_ARCH "Y" /* client architecture series (Y not for Yoda but for PC-client) */
90 #define MXIT_CLIENT_ID "LP" /* client ID as specified by MXit */ 90 #define MXIT_CLIENT_ID "LP" /* client ID as specified by MXit */
91 #define MXIT_CP_PLATFORM "PURPLE" /* client platform */ 91 #define MXIT_CP_PLATFORM "PURPLE" /* client platform */
92 #define MXIT_CP_VERSION MXIT_CP_DISTCODE"-"MXIT_CP_RELEASE"-"MXIT_CP_ARCH"-"MXIT_CP_PLATFORM 92 #define MXIT_CP_VERSION MXIT_CP_DISTCODE"-"MXIT_CP_RELEASE"-"MXIT_CP_ARCH"-"MXIT_CP_PLATFORM
93 #define MXIT_CP_PROTO_VESION 60 /* client protocol version */
93 94
94 /* set operating system name */ 95 /* set operating system name */
95 #if defined( __APPLE__ ) 96 #if defined( __APPLE__ )
96 #define MXIT_CP_OS "apple" 97 #define MXIT_CP_OS "apple"
97 #elif defined( _WIN32 ) 98 #elif defined( _WIN32 )