Mercurial > pidgin.yaz
comparison libpurple/protocols/mxit/protocol.h @ 30717:08d9cdac2b3c
A few changes to the Profile.
For the user's profile we now also request the 'flags' attribute.
The DoB-Locked flag indicates if the user is allowed to change their
date-of-birth. If it it locked, make the DoB field read-only.
For your buddies profile, request the 'lastseen' attribute.
For offline contacts we now show on the profile page when last
they were online.
author | andrew.victor@mxit.com |
---|---|
date | Mon, 19 Jul 2010 08:39:45 +0000 |
parents | 30d0d4756fac |
children | 44f53d3fc54f |
comparison
equal
deleted
inserted
replaced
30716:8816f2c9ae43 | 30717:08d9cdac2b3c |
---|---|
188 #define CP_PROFILE_FIRSTNAME "firstname" /* First name (UTF8 String) */ | 188 #define CP_PROFILE_FIRSTNAME "firstname" /* First name (UTF8 String) */ |
189 #define CP_PROFILE_LASTNAME "lastname" /* Last name (UTF8 String) */ | 189 #define CP_PROFILE_LASTNAME "lastname" /* Last name (UTF8 String) */ |
190 #define CP_PROFILE_EMAIL "email" /* Email address (UTF8 String) */ | 190 #define CP_PROFILE_EMAIL "email" /* Email address (UTF8 String) */ |
191 #define CP_PROFILE_MOBILENR "mobilenumber" /* Mobile Number (UTF8 String) */ | 191 #define CP_PROFILE_MOBILENR "mobilenumber" /* Mobile Number (UTF8 String) */ |
192 #define CP_PROFILE_REGCOUNTRY "registeredcountry" /* Registered Country Code (UTF8 String) */ | 192 #define CP_PROFILE_REGCOUNTRY "registeredcountry" /* Registered Country Code (UTF8 String) */ |
193 #define CP_PROFILE_FLAGS "flags" /* Profile flags (Bitset) */ | |
194 #define CP_PROFILE_LASTSEEN "lastseen" /* Last-Online timestamp */ | |
193 | 195 |
194 /* extended profile field types */ | 196 /* extended profile field types */ |
195 #define CP_PROF_TYPE_BOOL 0x02 /* boolean profile attribute type */ | 197 #define CP_PROFILE_TYPE_BOOL 0x02 /* boolean profile attribute type */ |
196 #define CP_PROF_TYPE_INT 0x05 /* integer profile attribute type */ | 198 #define CP_PROFILE_TYPE_INT 0x05 /* integer profile attribute type */ |
197 #define CP_PROF_TYPE_UTF8 0x0A /* UTF8 string profile attribute type */ | 199 #define CP_PROFILE_TYPE_UTF8 0x0A /* UTF8 string profile attribute type */ |
198 #define CP_PROF_TYPE_DATE 0x0B /* date-time profile attribute type */ | 200 #define CP_PROFILE_TYPE_DATE 0x0B /* date-time profile attribute type */ |
199 | 201 |
202 /* profile flags */ | |
203 #define CP_PROF_DOBLOCKED 0x40 /* date-of-birth cannot be changed */ | |
200 | 204 |
201 /* define this to enable protocol debugging (very verbose logging) */ | 205 /* define this to enable protocol debugging (very verbose logging) */ |
202 #define DEBUG_PROTOCOL | 206 #define DEBUG_PROTOCOL |
203 | 207 |
204 | 208 |