IMPSengine/messageencoder/wbxml/inc/impswbxmlcommon.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Common WBXML related definitions used in message
       
    15 *               encoder and decoder
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CImpsWbXmlCommon_H
       
    21 #define CImpsWbXmlCommon_H
       
    22 
       
    23 // CONSTANTS
       
    24 const TInt KImpsSpace                              = 0x20;
       
    25 
       
    26 // WBXML 
       
    27 const TInt KImpsWbXmlVersion                       = 3;
       
    28 const TUint KImpsDefaultCharset                     = HTTP_utf_8;
       
    29 const TInt KImpsMessageRootElement                 = 0x09;
       
    30 const TInt KImpsTokenMask                          = 0xff3f;
       
    31 const TInt KImpsMaskCodePage                       = 0xff00;
       
    32 const TInt KImpsTokenEmpty                         = 0x0040;
       
    33 const TInt KImpsByteMask                           = 0xff;
       
    34 const TInt KImpsWbXmlMaxStringLength               = 400;
       
    35 const TInt KImpsWbXmlMaxBufferSize                 = 1000;
       
    36 const TInt KImpsWbXmlPublicIdUnknown               = 1;
       
    37 const TInt KImpsWvCsp11PublicIdentifier            = 0x10;
       
    38 const TInt KImpsWvCsp12PublicIdentifier            = 0x11;
       
    39 const TInt KImpsWbXmlPublicID                      = 1;
       
    40 
       
    41 // WV NAMESPACES
       
    42 const TInt KImpsNameSpaceCspMessage                = 1;
       
    43 const TInt KImpsNameSpaceTransactionContent        = 2;
       
    44 const TInt KImpsNameSpacePresenceSubList           = 3;
       
    45 
       
    46 // WV CODEPAGES
       
    47 const TInt KImpsCodePagePresence                   = 0x0500;
       
    48 
       
    49 // DTD
       
    50 const   TInt KImpsHeaderDtd11Count =              12;
       
    51 const   TInt KImpsTransactionDtd11Count =         249;
       
    52 const   TInt KImpsPresenceDtd11Count =            54;
       
    53 
       
    54 _LIT8( KImpsWbXmlMessageMimeType,           "application/vnd.wv.csp.wbxml" );
       
    55 _LIT8( KImpsMessageVersion11,               "1.1");
       
    56 _LIT8( KImpsMessageVersion12,               "1.2");
       
    57 _LIT8( KImpsPresenceSubList,                "PresenceSubList");
       
    58 _LIT8( KImpsEntityList,                     "EntityList");
       
    59 _LIT8( KImpsAddList,                        "AddList");
       
    60 _LIT8( KImpsRemoveList,                     "RemoveList");
       
    61 _LIT8( KImpsAddNickList,                    "AddNickList");
       
    62 _LIT8( KImpsRemoveNickList,                 "RemoveNickList");
       
    63 _LIT8( KImpsContactListProperties,          "ContactListProperties");
       
    64 _LIT8( KImpsHttp8,                          "http://");
       
    65 _LIT8( KImpsHttps8,                         "https://");
       
    66 _LIT8( KImpsOpen,                           "OPEN");
       
    67 _LIT8( KImpsClosed,                         "CLOSED");
       
    68 _LIT8( KImpsPWD,                            "PWD");
       
    69 _LIT8( KImpsSHA,                            "SHA");
       
    70 _LIT8( KImpsMD4,                            "MD4");
       
    71 _LIT8( KImpsMD5,                            "MD5");
       
    72 _LIT8( KImpsMD6,                            "MD6");
       
    73 _LIT8( KImpsHTTPS,                          "HTTPS");
       
    74 _LIT8( KImpsBASE64_8,                       "BASE64");
       
    75 _LIT8( KImpsNone_8,                         "None");
       
    76 _LIT8( KImpsAPIClient_8,					"APIClient");
       
    77 
       
    78 
       
    79 _LIT( KPcData,                              "PCDATA" );
       
    80 _LIT( KEmpty,                               "EMPTY" );
       
    81 _LIT( KImpsEmpty,                           "");
       
    82 _LIT( KImpsTrue,                            "T");
       
    83 _LIT( KImpsFalse,                           "F");
       
    84 
       
    85 _LIT( KImpsWvCspMessage,                    "WV-CSP-Message");
       
    86 _LIT( KImpsAnyContent,                      "AnyContent");
       
    87 _LIT( KImpsAcceptedCharSet,                 "AcceptedCharSet");
       
    88 _LIT( KImpsAcceptedContentType,             "AcceptedContentType");
       
    89 _LIT( KImpsUserID,                          "UserID");
       
    90 _LIT( KImpsContactList,                     "ContactList");
       
    91 _LIT( KImpsMobilePhone,                     "MOBILE_PHONE");
       
    92 _LIT( KImpsComputer,                        "COMPUTER");
       
    93 _LIT( KImpsPda,                             "PDA");
       
    94 _LIT( KImpsCli,                             "CLI");
       
    95 _LIT( KImpsOther,                           "OTHER");
       
    96 _LIT( KImpsAvailable,                       "AVAILABLE");
       
    97 _LIT( KImpsNotAvailable,                    "NOT_AVAILABLE");
       
    98 _LIT( KImpsDiscreet,                        "DISCREET");
       
    99 _LIT( KImpsUser,                            "User");
       
   100 _LIT( KImpsGroup,                           "Group");
       
   101 _LIT( KImpsGroupID,                         "GroupID");
       
   102 _LIT( KImpsScreenName,                      "ScreenName");
       
   103 _LIT( KImpsNickName,                        "NickName");
       
   104 _LIT( KImpsName,                            "Name");
       
   105 _LIT( KImpsHttp,                            "http://");
       
   106 _LIT( KImpsHttps,                           "https://");
       
   107 _LIT( KImpsType,                            "Type");
       
   108 _LIT( KImpsTopic,                           "Topic");
       
   109 _LIT( KImpsPrivateMessaging,                "PrivateMessaging");
       
   110 _LIT( KImpsPrivilegeLevel,                  "PrivilegeLevel");
       
   111 _LIT( KImpsSearchable,                      "Searchable");
       
   112 _LIT( KImpsOpen16,                          "Open");
       
   113 _LIT( KImpsActiveUsers,                     "ActiveUsers");
       
   114 _LIT( KImpsMaxActiveUsers,                  "MaxActiveUsers");
       
   115 _LIT( KImpsAutoJoin,                        "AutoJoin");
       
   116 _LIT( KImpsAccessType,                      "Accesstype");
       
   117 _LIT( KImpsRestricted,                      "Restricted");
       
   118 _LIT( KImpsPublic,                          "Public");
       
   119 _LIT( KImpsPrivate,                         "Private");
       
   120 _LIT( KImpsAdmin,                           "Admin");
       
   121 _LIT( KImpsMod,                             "Mod");
       
   122 _LIT( KImpsBASE64,                          "BASE64");
       
   123 _LIT( KImpsNone,                            "None");
       
   124 _LIT( KImpstextplain,                       "text/plain");
       
   125 _LIT( KImpsIM,                              "IM");
       
   126 _LIT( KImpsDisplayName,                     "DisplayName");
       
   127 _LIT( KImpsDefault,                         "Default");
       
   128 _LIT( KImpsApplicationVndWapMmsMessage,     "application/vnd.wap.mms-message");
       
   129 _LIT( KImpsApplicationXSms,     			"application/x-sms");
       
   130 _LIT( KImpsAutoDelete,                      "AutoDelete");
       
   131 _LIT( KImpsValidity,                        "Validity");
       
   132 _LIT( KImpsDenied,                          "DENIED");
       
   133 _LIT( KImpsGranted,                         "GRANTED");
       
   134 _LIT( KImpsPending,                         "PENDING");
       
   135 
       
   136 
       
   137 
       
   138 _LIT( KImpsStatus,                          "Status");
       
   139 _LIT( KImpsAPIClient,						"APIClient");
       
   140 
       
   141 
       
   142 _LIT8( KImpsCSP12Xmlns,                        " xmlns=\"http://www.openmobilealliance.org/DTD/WV-CSP\"" );
       
   143 _LIT8( KImpsPA12Xmlns,                        " xmlns=\"http://www.openmobilealliance.org/DTD/WV-PA\"" );
       
   144 _LIT8( KImpsTRC12Xmlns,                        " xmlns=\"http://www.openmobilealliance.org/DTD/WV-TRC\"" );
       
   145 
       
   146 _LIT8(KAPIClientAttributeValue, 				"www.nokia.com/apiclient");
       
   147 _LIT8(KAPIClientAttribute, 						"xmlns");
       
   148 
       
   149 
       
   150 
       
   151                           
       
   152 // CSP WBXML tokens
       
   153 const TInt KImpsWbXmlAcceptance                    = 0x0005;
       
   154 const TInt KImpsWbXmlAddNickList                   = 0x0007;
       
   155 const TInt KImpsWbXmlSName                         = 0x0008;
       
   156 const TInt KImpsWbXmlContactList                   = 0x000c;
       
   157 const TInt KImpsWbXmlWV_CSP_Message                = 0x0009;
       
   158 const TInt KImpsWbXmlClientID                      = 0x000a;
       
   159 const TInt KImpsWbXmlCode                          = 0x000b;
       
   160 const TInt KImpsWbXmlContentData                   = 0x000d;
       
   161 const TInt KImpsWbXmlContentEncoding               = 0x000e;
       
   162 const TInt KImpsWbXmlContentSize                   = 0x000f;
       
   163 const TInt KImpsWbXmlDescription                   = 0x0012;
       
   164 const TInt KImpsWbXmlGroup                         = 0x0015;
       
   165 const TInt KImpsWbXmlDetailedResult                = 0x0013;
       
   166 const TInt KImpsWbXmlGroupID                       = 0x0016;
       
   167 const TInt KImpsWbXmlInUse                         = 0x0018;
       
   168 const TInt KImpsWbXmlMessageID                     = 0x001b;
       
   169 const TInt KImpsWbXmlMessageURI                    = 0x001c;
       
   170 const TInt KImpsWbXmlName                          = 0x001e;
       
   171 const TInt KImpsWbXmlNickList                      = 0x001f;
       
   172 const TInt KImpsWbXmlPoll                          = 0x0021;
       
   173 const TInt KImpsWbXmlPresence                      = 0x0022;
       
   174 const TInt KImpsWbXmlPresenceSubList               = 0x0023;
       
   175 const TInt KImpsWbXmlSender                        = 0x002c;
       
   176 const TInt KImpsWbXmlSession                       = 0x002d;
       
   177 const TInt KImpsWbXmlSessionDescriptor             = 0x002e;
       
   178 const TInt KImpsWbXmlSessionID                     = 0x002f;
       
   179 const TInt KImpsWbXmlSessionType                   = 0x0030;
       
   180 const TInt KImpsWbXmlTransaction                   = 0x0032;
       
   181 const TInt KImpsWbXmlTransactionContent            = 0x0033;
       
   182 const TInt KImpsWbXmlTransactionDescriptor         = 0x0034;
       
   183 const TInt KImpsWbXmlTransactionID                 = 0x0035;
       
   184 const TInt KImpsWbXmlTransactionMode               = 0x0036;
       
   185 const TInt KImpsWbXmlURL                           = 0x0037;
       
   186 const TInt KImpsWbXmlUserID                        = 0x003a;
       
   187 const TInt KImpsWbXmlValue                         = 0x003d;
       
   188 const TInt KImpsWbXmlStatus                        = 0x0031;
       
   189 const TInt KImpsWbXmlResult                        = 0x002a;
       
   190 const TInt KImpsWbXmlRecipient                     = 0x0027;
       
   191 const TInt KImpsWbXmlUser                          = 0x0039;
       
   192 const TInt KImpsWbXmlScreenName                    = 0x002b;
       
   193 const TInt KImpsWbXmlURLList                       = 0x0038;
       
   194 const TInt KImpsWbXmlMSISDN                        = 0x001d;
       
   195 const TInt KImpsWbXmlUserList                      = 0x003b;
       
   196 const TInt KImpsWbXmlNickName                      = 0x0020;
       
   197 const TInt KImpsWbXmlGroupList                     = 0x0017;
       
   198 const TInt KImpsWbXmlRemoveNickList                = 0x0029;
       
   199 const TInt KImpsWbXmlValidity                      = 0x003c;
       
   200 const TInt KImpsWbXmlMessageCount                  = 0x001a;
       
   201 const TInt KImpsWbXmlDateTime                      = 0x0011;
       
   202 const TInt KImpsWbXmlEntityList                    = 0x0014;
       
   203 const TInt KImpsWbXmlAddList                       = 0x0006;
       
   204 const TInt KImpsWbXmlRemoveList                    = 0x0028;
       
   205 const TInt KImpsWbXmlProperty                      = 0x0025;
       
   206 const TInt KImpsWbXmlLogo                          = 0x0019;
       
   207 const TInt KImpsWbXmlContentType                   = 0x0010;
       
   208 const TInt KImpsWbXmlQualifier                     = 0x0026;
       
   209 const TInt KImpsWbXmlPresenceValue                 = 0x0024;
       
   210 
       
   211 const TInt KImpsWbXmlAllFunctions                  = 0x0105;
       
   212 const TInt KImpsWbXmlAllFunctionsRequest           = 0x0106;
       
   213 const TInt KImpsWbXmlCancelInviteRequest           = 0x0107;
       
   214 const TInt KImpsWbXmlCancelInviteUserRequest       = 0x0108;
       
   215 const TInt KImpsWbXmlCapabilityRequest             = 0x010b;
       
   216 const TInt KImpsWbXmlCapabilityList                = 0x010a;
       
   217 const TInt KImpsWbXmlCompletionFlag                = 0x0134;
       
   218 const TInt KImpsWbXmlInviteType                    = 0x0118;
       
   219 const TInt KImpsWbXmlSearchElement                 = 0x0124;
       
   220 const TInt KImpsWbXmlPassword                      = 0x0121;
       
   221 const TInt KImpsWbXmlSessionCookie                 = 0x0130;
       
   222 const TInt KImpsWbXmlSearchString                  = 0x0133;
       
   223 const TInt KImpsWbXmlDigestBytes                   = 0x010e;
       
   224 const TInt KImpsWbXmlInviteID                      = 0x0114;
       
   225 const TInt KImpsWbXmlInviteNote                    = 0x0115;
       
   226 const TInt KImpsWbXmlResponseNote                  = 0x0123;
       
   227 const TInt KImpsWbXmlPollingRequest                = 0x0122;
       
   228 const TInt KImpsWbXmlLoginRequest                  = 0x011d;
       
   229 const TInt KImpsWbXmlLoginResponse                 = 0x011e;
       
   230 const TInt KImpsWbXmlServiceRequest                = 0x012E;
       
   231 const TInt KImpsWbXmlServiceResponse               = 0x012F;
       
   232 const TInt KImpsWbXmlClientCapabilityRequest       = 0x010c;
       
   233 const TInt KImpsWbXmlClientCapabilityResponse      = 0x010D;
       
   234 const TInt KImpsWbXmlStopSearchRequest             = 0x0131;
       
   235 const TInt KImpsWbXmlSearchRequest                 = 0x012b;
       
   236 const TInt KImpsWbXmlSearchResponse                = 0x012c;
       
   237 const TInt KImpsWbXmlInviteRequest                 = 0x0116;
       
   238 const TInt KImpsWbXmlLogoutRequest                 = 0x011f;
       
   239 const TInt KImpsWbXmlDisconnect                    = 0x0110;
       
   240 const TInt KImpsWbXmlKeepAliveRequest              = 0x011b;
       
   241 const TInt KImpsWbXmlKeepAliveResponse             = 0x0129;
       
   242 const TInt KImpsWbXmlInviteResponse                = 0x0117;
       
   243 const TInt KImpsWbXmlInviteUserRequest             = 0x0119;
       
   244 const TInt KImpsWbXmlInviteUserResponse            = 0x011a;
       
   245 const TInt KImpsWbXmlGetSPInfoRequest              = 0x0112;
       
   246 const TInt KImpsWbXmlGetSPInfoResponse             = 0x0113;
       
   247 const TInt KImpsWbXmlDigestSchema                  = 0x010f;
       
   248 const TInt KImpsWbXmlNonce                         = 0x0120;
       
   249 const TInt KImpsWbXmlSearchPairList                = 0x012a;
       
   250 const TInt KImpsWbXmlSearchLimit                   = 0x0128;
       
   251 const TInt KImpsWbXmlSearchID                      = 0x0126;
       
   252 const TInt KImpsWbXmlSearchIndex                   = 0x0127;
       
   253 const TInt KImpsWbXmlSearchFindings                = 0x0125;
       
   254 const TInt KImpsWbXmlSearchResult                  = 0x012d;
       
   255 const TInt KImpsWbXmlKeepAliveTime                 = 0x011c;
       
   256 const TInt KImpsWbXmlTimeToLive                    = 0x0132;
       
   257 const TInt KImpsWbXmlFunctions                     = 0x0111;
       
   258 
       
   259 const TInt KImpsWbxmlReceiveList                   = 0x0136;
       
   260 const TInt KImpsWbxmlAutoSubscribe                 = 0x041E;
       
   261 
       
   262 const TInt KImpsWbXmlWVCSPFeat                     = 0x023c;
       
   263 const TInt KImpsWbXmlGroupFeat                     = 0x021f;
       
   264 const TInt KImpsWbXmlPresenceFeat                  = 0x022f;
       
   265 const TInt KImpsWbXmlIMFeat                        = 0x0223;
       
   266 const TInt KImpsWbXmlFundamentalFeat               = 0x0211;
       
   267 const TInt KImpsWbXmlServiceFunc                   = 0x0235;
       
   268 const TInt KImpsWbXmlSearchFunc                    = 0x0234;
       
   269 const TInt KImpsWbXmlInviteFunc                    = 0x0227;
       
   270 const TInt KImpsWbXmlPresenceAuthFunc              = 0x022d;
       
   271 const TInt KImpsWbXmlPresenceDeliverFunc           = 0x022e;
       
   272 const TInt KImpsWbXmlAttListFunc                   = 0x0206;
       
   273 const TInt KImpsWbXmlContListFunc                  = 0x020c;
       
   274 const TInt KImpsWbXmlIMSendFunc                    = 0x0225;
       
   275 const TInt KImpsWbXmlIMAuthFunc                    = 0x0222;
       
   276 const TInt KImpsWbXmlIMReceiveFunc                 = 0x0224;
       
   277 const TInt KImpsWbXmlGroupMgmtFunc                 = 0x0220;
       
   278 const TInt KImpsWbXmlGroupUseFunc                  = 0x0221;
       
   279 const TInt KImpsWbXmlGroupAuthFunc                 = 0x021e;
       
   280 const TInt KImpsWbXmlSRCH                          = 0x0238;
       
   281 const TInt KImpsWbXmlSTSRC                         = 0x0239;
       
   282 const TInt KImpsWbXmlINVIT                         = 0x0226;
       
   283 const TInt KImpsWbXmlCAINV                         = 0x0209;
       
   284 const TInt KImpsWbXmlGCLI                          = 0x0214;
       
   285 const TInt KImpsWbXmlCCLI                          = 0x020B;
       
   286 const TInt KImpsWbXmlDCLI                          = 0x020F;
       
   287 const TInt KImpsWbXmlMCLS                          = 0x0229;
       
   288 const TInt KImpsWbXmlGETWL                         = 0x021B;
       
   289 const TInt KImpsWbXmlGETSPI                        = 0x021A;
       
   290 const TInt KImpsWbXmlREACT                         = 0x0230;
       
   291 const TInt KImpsWbXmlCAAUT                         = 0x0208;
       
   292 const TInt KImpsWbXmlUPDPR                         = 0x023B;
       
   293 const TInt KImpsWbXmlCALI                          = 0x020A;
       
   294 const TInt KImpsWbXmlMDELIV                        = 0x021A;
       
   295 const TInt KImpsWbXmlGETLM                         = 0x0217;
       
   296 const TInt KImpsWbXmlSETD                          = 0x0236;
       
   297 const TInt KImpsWbXmlFWMSG                         = 0x0212;
       
   298 const TInt KImpsWbXmlGETPR                         = 0x0219;
       
   299 const TInt KImpsWbXmlDALI                          = 0x020E;
       
   300 const TInt KImpsWbXmlGALS                          = 0x0213;
       
   301 const TInt KImpsWbXmlGETM                          = 0x0218;
       
   302 const TInt KImpsWbXmlREJCM                         = 0x0231;
       
   303 const TInt KImpsWbXmlNOTIF                         = 0x022C;
       
   304 const TInt KImpsWbXmlNEWM                          = 0x022B;
       
   305 const TInt KImpsWbXmlGLBLU                         = 0x021C;
       
   306 const TInt KImpsWbXmlBLENT                         = 0x0207;
       
   307 const TInt KImpsWbXmlCREAG                         = 0x020D;
       
   308 const TInt KImpsWbXmlDELGR                         = 0x0210;
       
   309 const TInt KImpsWbXmlGETGP                         = 0x0216;
       
   310 const TInt KImpsWbXmlSETGP                         = 0x0237;
       
   311 const TInt KImpsWbXmlSUBGCN                        = 0x023A;
       
   312 const TInt KImpsWbXmlADDGM                         = 0x0205;
       
   313 const TInt KImpsWbXmlGETGM                         = 0x0215;
       
   314 const TInt KImpsWbXmlREJEC                         = 0x0232;
       
   315 const TInt KImpsWbXmlMBRAC                         = 0x0228;
       
   316 const TInt KImpsWbXmlGRCHN                         = 0x021D;
       
   317 const TInt KImpsWbXmlRMVGM                         = 0x0233;
       
   318 
       
   319 const TInt KImpsWbXmlInitialDeliveryMethod         = 0x030b;
       
   320 const TInt KImpsWbXmlAnyContent                    = 0x0309;
       
   321 const TInt KImpsWbXmlSupportedBearer               = 0x030f;
       
   322 const TInt KImpsWbXmlSupportedCIRMethod            = 0x0310;
       
   323 const TInt KImpsWbXmlAcceptedTransferEncoding      = 0x0308;
       
   324 const TInt KImpsWbXmlAcceptedCharset               = 0x0305;
       
   325 const TInt KImpsWbXmlAcceptedContentType           = 0x0307;
       
   326 const TInt KImpsWbXmlAcceptedContentLength         = 0x0306;
       
   327 const TInt KImpsWbXmlMultiTrans                    = 0x030c;
       
   328 const TInt KImpsWbXmlParserSize                    = 0x030d;
       
   329 const TInt KImpsWbXmlUDPPort                       = 0x0313;
       
   330 const TInt KImpsWbXmlTCPPort                       = 0x0312;
       
   331 const TInt KImpsWbXmlServerPollMin                 = 0x030e;
       
   332 const TInt KImpsWbXmlDefaultLanguage               = 0x030a;
       
   333 const TInt KImpsWbXmlTCPAddress                    = 0x0311;
       
   334 
       
   335 const TInt KImpsWbXmlDefaultContactList            = 0x040a;
       
   336 const TInt KImpsWbXmlDefaultList                   = 0x040b;
       
   337 const TInt KImpsWbXmlGetPresenceRequest            = 0x0412;
       
   338 const TInt KImpsWbXmlListManageRequest             = 0x0416;
       
   339 const TInt KImpsWbXmlSubscribePresenceRequest      = 0x041d;
       
   340 const TInt KImpsWbXmlUnsubscribePresenceRequest    = 0x0418;
       
   341 const TInt KImpsWbXmlPresenceNotificationRequest   = 0x041b;
       
   342 const TInt KImpsWbXmlGetWatcherListRequest         = 0x0414;
       
   343 const TInt KImpsWbXmlGetWatcherListResponse        = 0x0415;
       
   344 const TInt KImpsWbXmlGetPresenceResponse           = 0x0413;
       
   345 const TInt KImpsWbXmlPresenceAuthRequest           = 0x0419;
       
   346 const TInt KImpsWbXmlGetListRequest                = 0x0410;
       
   347 const TInt KImpsWbXmlGetListResponse               = 0x0411;
       
   348 const TInt KImpsWbXmlCreateListRequest             = 0x0408;
       
   349 const TInt KImpsWbXmlPresenceAuthUser              = 0x041a;
       
   350 const TInt KImpsWbXmlCancelAuthRequest             = 0x0405;
       
   351 const TInt KImpsWbXmlUpdatePresenceRequest         = 0x041c;
       
   352 const TInt KImpsWbXmlDeleteListRequest             = 0x040d;
       
   353 const TInt KImpsWbXmlCreateAttributeListRequest    = 0x0407;
       
   354 const TInt KImpsWbXmlDeleteAttributeListRequest    = 0x040c;
       
   355 const TInt KImpsWbXmlGetAttributeListRequest       = 0x040e;
       
   356 const TInt KImpsWbXmlGetAttributeListResponse      = 0x040f;
       
   357 const TInt KImpsWbXmlListManageResponse            = 0x0417;
       
   358 const TInt KImpsWbXmlDefaultAttributeList          = 0x0409;
       
   359 const TInt KImpsWbXmlContactListProperties         = 0x0406;
       
   360 
       
   361 const TInt KImpsWbXmlAccuracy                      = 0x0505;
       
   362 const TInt KImpsWbXmlAddress                       = 0x0506;
       
   363 const TInt KImpsWbXmlAddrPref                      = 0x0507;
       
   364 const TInt KImpsWbXmlAlias                         = 0x0508;
       
   365 const TInt KImpsWbXmlAltitude                      = 0x0509;
       
   366 const TInt KImpsWbXmlBuilding                      = 0x050a;
       
   367 const TInt KImpsWbXmlCaddr                         = 0x050b;
       
   368 const TInt KImpsWbXmlCity                          = 0x050c;
       
   369 const TInt KImpsWbXmlClientInfo                    = 0x050d;
       
   370 const TInt KImpsWbXmlClientProducer                = 0x050e;
       
   371 const TInt KImpsWbXmlPrClientType                  = 0x050f;
       
   372 const TInt KImpsWbXmlClientType                    = 0x050f;
       
   373 const TInt KImpsWbXmlClientVersion                 = 0x0510;
       
   374 const TInt KImpsWbXmlCommC                         = 0x0511;
       
   375 const TInt KImpsWbXmlCommCap                       = 0x0512;
       
   376 const TInt KImpsWbXmlContactInfo                   = 0x0513;
       
   377 const TInt KImpsWbXmlContainedvCard                = 0x0514;
       
   378 const TInt KImpsWbXmlCountry                       = 0x0515;
       
   379 const TInt KImpsWbXmlCrossing1                     = 0x0516;
       
   380 const TInt KImpsWbXmlCrossing2                     = 0x0517;
       
   381 const TInt KImpsWbXmlDevManufacturer               = 0x0518;
       
   382 const TInt KImpsWbXmlDirectContent                 = 0x0519;
       
   383 const TInt KImpsWbXmlFreeTextLocation              = 0x051a;
       
   384 const TInt KImpsWbXmlGeoLocation                   = 0x051b;
       
   385 const TInt KImpsWbXmlLanguage                      = 0x051c;
       
   386 const TInt KImpsWbXmlLatitude                      = 0x051d;
       
   387 const TInt KImpsWbXmlLongitude                     = 0x051e;
       
   388 const TInt KImpsWbXmlModel                         = 0x051f;
       
   389 const TInt KImpsWbXmlNamedArea                     = 0x0520;
       
   390 const TInt KImpsWbXmlOnlineStatus                  = 0x0521;
       
   391 const TInt KImpsWbXmlPLMN                          = 0x0522;
       
   392 const TInt KImpsWbXmlPrefC                         = 0x0523;
       
   393 const TInt KImpsWbXmlPreferredContacts             = 0x0524;
       
   394 const TInt KImpsWbXmlPreferredLanguage             = 0x0525;
       
   395 const TInt KImpsWbXmlReferredContent               = 0x0526;
       
   396 const TInt KImpsWbXmlReferredvCard                 = 0x0527;
       
   397 const TInt KImpsWbXmlRegistration                  = 0x0528;
       
   398 const TInt KImpsWbXmlStatusContent                 = 0x0529;
       
   399 const TInt KImpsWbXmlStatusMood                    = 0x052a;
       
   400 const TInt KImpsWbXmlStatusText                    = 0x052b;
       
   401 const TInt KImpsWbXmlStreet                        = 0x052c;
       
   402 const TInt KImpsWbXmlTimeZone                      = 0x052d;
       
   403 const TInt KImpsWbXmlUserAvailability              = 0x052e;
       
   404 const TInt KImpsWbXmlCap                           = 0x052f;
       
   405 const TInt KImpsWbXmlCname                         = 0x0530;
       
   406 const TInt KImpsWbXmlContact                       = 0x0531;
       
   407 const TInt KImpsWbXmlCpriority                     = 0x0532;
       
   408 const TInt KImpsWbXmlCstatus                       = 0x0533;
       
   409 const TInt KImpsWbXmlNote                          = 0x0534;
       
   410 const TInt KImpsWbXmlZone                          = 0x0535;
       
   411 
       
   412 const TInt KImpsWbXmlBlockList                     = 0x0605;
       
   413 const TInt KImpsWbXmlBlockUserRequest              = 0x0606;
       
   414 const TInt KImpsWbXmlDeliveryMethod                = 0x0607;
       
   415 const TInt KImpsWbXmlDeliveryReport                = 0x0608;
       
   416 const TInt KImpsWbXmlDeliveryReportRequest         = 0x0609;
       
   417 const TInt KImpsWbXmlForwardMessageRequest         = 0x060a;
       
   418 const TInt KImpsWbXmlGetBlockedListRequest         = 0x060b;
       
   419 const TInt KImpsWbXmlGetBlockedListResponse        = 0x060c;
       
   420 const TInt KImpsWbXmlGetMessageListRequest         = 0x060d;
       
   421 const TInt KImpsWbXmlGetMessageListResponse        = 0x060e;
       
   422 const TInt KImpsWbXmlGetMessageRequest             = 0x060f;
       
   423 const TInt KImpsWbXmlGetMessageResponse            = 0x0610;
       
   424 const TInt KImpsWbXmlGrantList                     = 0x0611;
       
   425 const TInt KImpsWbXmlMessageDelivered              = 0x0612;
       
   426 const TInt KImpsWbXmlMessageInfo                   = 0x0613;
       
   427 const TInt KImpsWbXmlMessageNotification           = 0x0614;
       
   428 const TInt KImpsWbXmlNewMessage                    = 0x0615;
       
   429 const TInt KImpsWbXmlRejectMessageRequest          = 0x0616;
       
   430 const TInt KImpsWbXmlSendMessageRequest            = 0x0617;
       
   431 const TInt KImpsWbXmlSendMessageResponse           = 0x0618;
       
   432 const TInt KImpsWbXmlSetDeliveryMethodRequest      = 0x0619;
       
   433 const TInt KImpsWbXmlDeliveryTime                  = 0x061a;
       
   434 
       
   435 const TInt KImpsWbXmlJoinGroup                     = 0x0721;
       
   436 const TInt KImpsWbXmlJoinedRequest                 = 0x0710;
       
   437 const TInt KImpsWbXmlSubscribeNotification         = 0x0722;
       
   438 const TInt KImpsWbXmlSubscribeType                 = 0x0723;
       
   439 const TInt KImpsWbXmlCreateGroupRequest            = 0x0707;
       
   440 const TInt KImpsWbXmlDeleteGroupRequest            = 0x0708;
       
   441 const TInt KImpsWbXmlJoinGroupRequest              = 0x0711;
       
   442 const TInt KImpsWbXmlJoinGroupResponse             = 0x0712;
       
   443 const TInt KImpsWbXmlLeaveGroupRequest             = 0x0713;
       
   444 const TInt KImpsWbXmlLeaveGroupResponse            = 0x0714;
       
   445 const TInt KImpsWbXmlGetGroupMembersRequest        = 0x0709;
       
   446 const TInt KImpsWbXmlGetGroupMembersResponse       = 0x070a;
       
   447 const TInt KImpsWbXmlAddGroupMembersRequest        = 0x0705;
       
   448 const TInt KImpsWbXmlRemoveGroupMembersRequest     = 0x071b;
       
   449 const TInt KImpsWbXmlGetGroupPropsRequest          = 0x070b;
       
   450 const TInt KImpsWbXmlGetGroupPropsResponse         = 0x070c;
       
   451 const TInt KImpsWbXmlSetGroupPropsRequest          = 0x071c;
       
   452 const TInt KImpsWbXmlMemberAccessRequest           = 0x0716;
       
   453 const TInt KImpsWbXmlRejectListRequest             = 0x0719;
       
   454 const TInt KImpsWbXmlRejectListResponse            = 0x071a;
       
   455 const TInt KImpsWbXmlSubscribeGroupNoticeRequest   = 0x071d;
       
   456 const TInt KImpsWbXmlSubscribeGroupNoticeResponse  = 0x071e;
       
   457 const TInt KImpsWbXmlGroupChangeNotice             = 0x070d;
       
   458 const TInt KImpsWbXmlGroupProperties               = 0x070e;
       
   459 const TInt KImpsWbXmlWelcomeNote                   = 0x0720;
       
   460 const TInt KImpsWbXmlAdmin                         = 0x0706;
       
   461 const TInt KImpsWbXmlMod                           = 0x0717;
       
   462 const TInt KImpsWbXmlUsers                         = 0x071f;
       
   463 const TInt KImpsWbXmlJoined                        = 0x070f;
       
   464 const TInt KImpsWbXmlLeft                          = 0x0715;
       
   465 const TInt KImpsWbXmlOwnProperties                 = 0x0718;
       
   466 
       
   467 // CSP wbxml element value tokens
       
   468 const TInt KImpsWbXmlDataNotFound                  = 0xff;
       
   469 const TInt KImpsWbXmlAccessType                    = 0x00;
       
   470 const TInt KImpsWbXmlActiveUsers                   = 0x01;
       
   471 const TInt KImpsWbXmlAdminValue                    = 0x02;
       
   472 const TInt KImpsWbXmlApplicationVndWapMmsMessage   = 0x04;
       
   473 const TInt KImpsWbXmlApplicationXSms   			   = 0x05;
       
   474 const TInt KImpsWbXmlAutoJoin                      = 0x06;
       
   475 const TInt KImpsWbXmlBASE64                        = 0x07;
       
   476 const TInt KImpsWbXmlClosed                        = 0x08;
       
   477 const TInt KImpsWbXmlDefault                       = 0x09;
       
   478 const TInt KImpsWbXmlDisplayName                   = 0x0a;
       
   479 const TInt KImpsWbXmlFalse                         = 0x0b;
       
   480 const TInt KImpsWbXmlG                             = 0x0c;
       
   481 const TInt KImpsWbXmlGR                            = 0x0d;
       
   482 const TInt KImpsWbXmlHttp                          = 0x0e;
       
   483 const TInt KImpsWbXmlHttps                         = 0x0f;
       
   484 const TInt KImpsWbXmlImage                         = 0x10;
       
   485 const TInt KImpsWbXmlInband                        = 0x11;
       
   486 const TInt KImpsWbXmlIM                            = 0x12;
       
   487 const TInt KImpsWbXmlMaxActiveUsers                = 0x13;
       
   488 const TInt KImpsWbXmlModValue                      = 0x14;
       
   489 const TInt KImpsWbXmlNameValue                     = 0x15;
       
   490 const TInt KImpsWbXmlNone                          = 0x16;
       
   491 const TInt KImpsWbXmlDeliveryMethodN               = 0x17;
       
   492 const TInt KImpsWbXmlOpen                          = 0x18;
       
   493 const TInt KImpsWbXmlOutband                       = 0x19;
       
   494 const TInt KImpsWbXmlPR                            = 0x1a;
       
   495 const TInt KImpsWbXmlPrivate                       = 0x1b;
       
   496 const TInt KImpsWbXmlPrivateMessaging              = 0x1c;
       
   497 const TInt KImpsWbXmlPrivilegeLevel                = 0x1d;
       
   498 const TInt KImpsWbXmlPublic                        = 0x1e;
       
   499 const TInt KImpsWbXmlDeliveryMethodP               = 0x1f;
       
   500 const TInt KImpsWbXmlRequest                       = 0x20;
       
   501 const TInt KImpsWbXmlResponse                      = 0x21;
       
   502 const TInt KImpsWbXmlRestricted                    = 0x22;
       
   503 const TInt KImpsWbXmlScreenname                    = 0x23;
       
   504 const TInt KImpsWbXmlSearchable                    = 0x24;
       
   505 const TInt KImpsWbXmlS                             = 0x25;
       
   506 const TInt KImpsWbXmlSC                            = 0x26;
       
   507 const TInt KImpsWbXmltext                          = 0x27;
       
   508 const TInt KImpsWbXmlTextPlain                     = 0x28;
       
   509 const TInt KImpsWbXmlTopic                         = 0x2b;
       
   510 const TInt KImpsWbXmlTrue                          = 0x2c;
       
   511 const TInt KImpsWbXmlType                          = 0x2d;
       
   512 const TInt KImpsWbXmlU                             = 0x2e;
       
   513 const TInt KImpsWbXmlUS                            = 0x2f;
       
   514 
       
   515 const TInt KImpsWbXmlAutoDelete					   = 0x31;
       
   516 const TInt KImpsWbXmlValidityValue	   			   = 0x33;
       
   517 const TInt KImpsWbXmlDenied 					   = 0x34;
       
   518 const TInt KImpsWbXmlGranted 					   = 0x35;
       
   519 const TInt KImpsWbXmlPending 					   = 0x34;
       
   520 	
       
   521 
       
   522 const TInt KImpsWbXmlGROUP_ID                      = 0x3d;
       
   523 const TInt KImpsWbXmlGROUP_NAME                    = 0x3e;
       
   524 const TInt KImpsWbXmlGROUP_TOPIC                   = 0x3f;
       
   525 const TInt KImpsWbXmlGROUP_USER_ID_JOINED          = 0x40;
       
   526 const TInt KImpsWbXmlGROUP_USER_ID_OWNER           = 0x41;
       
   527 const TInt KImpsWbXmlHTTP                          = 0x42;
       
   528 const TInt KImpsWbXmlSMS                           = 0x43;
       
   529 const TInt KImpsWbXmlSTCP                          = 0x44;
       
   530 const TInt KImpsWbXmlSUDP                          = 0x45;
       
   531 const TInt KImpsWbXmlUSER_ALIAS                    = 0x46;
       
   532 const TInt KImpsWbXmlUSER_FIRST_NAME               = 0x48;
       
   533 const TInt KImpsWbXmlUSER_EMAIL_ADDRESS            = 0x47;
       
   534 const TInt KImpsWbXmlUSER_ID                       = 0x49;
       
   535 const TInt KImpsWbXmlUSER_LAST_NAME                = 0x4a;
       
   536 const TInt KImpsWbXmlUSER_ONLINE_STATUS            = 0x4c;
       
   537 const TInt KImpsWbXmlUSER_MOBILE_NUMBER            = 0x4b;
       
   538 const TInt KImpsWbXmlWAPSMS                        = 0x4d;
       
   539 const TInt KImpsWbXmlWAPUDP                        = 0x4e;
       
   540 const TInt KImpsWbXmlWSP                           = 0x4f;
       
   541 
       
   542 const TInt KImpsWbXmlANGRY                         = 0x5b;
       
   543 const TInt KImpsWbXmlANXIOUS                       = 0x5c;
       
   544 const TInt KImpsWbXmlAshamed                       = 0x5d;
       
   545 const TInt KImpsWbXmlAudioCall                     = 0x5e;
       
   546 const TInt KImpsWbXmlAvailable                     = 0x5f;
       
   547 
       
   548 const TInt KImpsWbXmlBored                         = 0x60;
       
   549 const TInt KImpsWbXmlCALL                          = 0x61;
       
   550 const TInt KImpsWbXmlCli                           = 0x62;
       
   551 const TInt KImpsWbXmlComputer                      = 0x63;
       
   552 const TInt KImpsWbXmlDiscreet                      = 0x64;
       
   553 const TInt KImpsWbXmlEMAIL                         = 0x65;
       
   554 const TInt KImpsWbXmlExcited                       = 0x66;
       
   555 const TInt KImpsWbXmlHappy                         = 0x67;
       
   556 const TInt KImpsWbXmlCapIM                         = 0x68;
       
   557 const TInt KImpsWbXmlIM_OFFLINE                    = 0x69;
       
   558 const TInt KImpsWbXmlIM_ONLINE                     = 0x6a;
       
   559 const TInt KImpsWbXmlIN_LOVE                       = 0x6b;
       
   560 const TInt KImpsWbXmlINVICIBLE                     = 0x6c;
       
   561 const TInt KImpsWbXmlJEALOUS                       = 0x6d;
       
   562 const TInt KImpsWbXmlMMS                           = 0x6e;
       
   563 const TInt KImpsWbXmlMobilePhone                   = 0x6f;
       
   564 
       
   565 const TInt KImpsWbXmlNotAvailable                  = 0x70;
       
   566 const TInt KImpsWbXmlOther                         = 0x71;   
       
   567 const TInt KImpsWbXmlPda                           = 0x72;
       
   568 const TInt KImpsWbXmlSAD                           = 0x73;    
       
   569 const TInt KImpsWbXmlSLEEPY                        = 0x74;
       
   570 const TInt KImpsWbXmlSms                           = 0x75;
       
   571 const TInt KImpsWbXmlVideoCall                     = 0x76;
       
   572 const TInt KImpsWbXmlVideoStream                   = 0x77;
       
   573 
       
   574 // CSP wbxml attribute value tokens
       
   575 const TInt KImpsWbXmlCsp11Xmlns                      = 0x05;
       
   576 const TInt KImpsWbXmlPa11Xmlns                       = 0x06;
       
   577 const TInt KImpsWbXmlTrc11Xmlns                      = 0x07;
       
   578 const TInt KImpsWbXmlCsp12Xmlns                      = 0x08;
       
   579 const TInt KImpsWbXmlPa12Xmlns                       = 0x09;
       
   580 const TInt KImpsWbXmlTrc12Xmlns                      = 0x0A;
       
   581 // FORWARD DECLARATIONS
       
   582 class MImpsKey;
       
   583 
       
   584 #endif      // ?INCLUDE_H   
       
   585             
       
   586 // End of File