ncdengine/provider/protocol/inc/ncdrequestconstants.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCD_REQUEST_CONSTANTS_HH
       
    20 #define NCD_REQUEST_CONSTANTS_HH
       
    21 
       
    22 #include "ncdprotocoltypes.h"
       
    23 
       
    24 #ifndef RD_XML_ENGINE_API_CHANGE
       
    25 typedef TSerializationOptions TXmlEngSerializationOptions;
       
    26 static const char* KSerializationOptionUtf8 = "UTF-8";
       
    27 #else
       
    28 _LIT8( KSerializationOptionUtf8, "UTF-8" );
       
    29 #endif
       
    30 
       
    31 _LIT8( KDefaultNamespaceUri, "http://nokia.com/preminet/protocol/v/2/0" );
       
    32 
       
    33 _LIT8( KCdpNamespacePrefix, "cp" );
       
    34 _LIT8( KCdpNamespaceUri, "http://nokia.com/preminet/protocol/configuration/v/1/0" );
       
    35 
       
    36 _LIT8( KXsNamespacePrefix, "xs" );
       
    37 _LIT8( KXsNamespaceUri, "http://www.w3.org/2001/XMLSchema" );
       
    38 
       
    39 _LIT8( KXsiNamespacePrefix, "xsi");
       
    40 _LIT8( KXsiNamespaceUri, "http://www.w3.org/2001/XMLSchema-instance");
       
    41 
       
    42 _LIT8( KPreminetReqVersion, "2.0");
       
    43 _LIT8( KConfigurationReqVersion, "1.0");
       
    44 _LIT8( KDefaultRequestType, "preminet" );
       
    45 
       
    46 #endif //NCD_REQUEST_CONSTANTS_HH