webservices/inc/webservices.hrh
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2009 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 WEBSERVICES_VARIANT_HRH
       
    20 #define WEBSERVICES_VARIANT_HRH
       
    21 
       
    22 #include <platform_paths.hrh>
       
    23 
       
    24 // Disable UHEAP mark start / end in (ws)sen.exe process main thread(!):
       
    25 #ifndef _DEBUG
       
    26 MACRO _RD_SEN_DO_NOT_USE_UHEAP_MARKING
       
    27  #if !defined( _RD_SEN_DO_NOT_USE_UHEAP_MARKING )
       
    28 	#define _RD_SEN_DO_NOT_USE_UHEAP_MARKING 1
       
    29  #endif 
       
    30 #endif 
       
    31 
       
    32 
       
    33 
       
    34 #if !defined( WINS )
       
    35 macro RD_SEN_ENABLE_USE_OF_WSD_IN_SC_FOR_HW_TARGET
       
    36     #if !defined ( RD_SEN_ENABLE_USE_OF_WSD_IN_SC_FOR_ARMV5_TARGET )
       
    37     	#define RD_SEN_ENABLE_USE_OF_WSD_IN_SC_FOR_ARMV5_TARGET 1
       
    38     #endif
       
    39 #endif    
       
    40 
       
    41 macro RD_SEN_SC_MSG_DISPATCHER_ENABLED
       
    42  #if !defined ( RD_SEN_SC_MSG_DISPATCHER_ENABLED )
       
    43    #define RD_SEN_SC_MSG_DISPATCHER_ENABLED 1
       
    44 #endif
       
    45 
       
    46 //macro RD_SEN_SC_PROXY_ENABLED_BY_DEFAULT
       
    47 //#if !defined ( RD_SEN_SC_PROXY_ENABLED_BY_DEFAULT )
       
    48 //    #define RD_SEN_SC_PROXY_ENABLED_BY_DEFAULT 1
       
    49 //#endif
       
    50 //macro RD_SEN_USE_PUBSUB_FOR_OUTGOING_FILE_PROGRESS
       
    51 //#if !defined ( RD_SEN_USE_PUBSUB_FOR_OUTGOING_FILE_PROGRESS )
       
    52 //    #define RD_SEN_USE_PUBSUB_FOR_OUTGOING_FILE_PROGRESS 1
       
    53 //#endif
       
    54 #if defined ( RD_SEN_USE_PUBSUB_FOR_OUTGOING_FILE_PROGRESS )
       
    55 macro RD_SEN_USE_CONNAGENT_FOR_SOAP_PROGRESS
       
    56     #if !defined ( RD_SEN_USE_CONNAGENT_FOR_SOAP_PROGRESS )
       
    57         #define RD_SEN_USE_CONNAGENT_FOR_SOAP_PROGRESS 1
       
    58     #endif
       
    59 #endif // 
       
    60 
       
    61 macro RD_SEN_DISABLE_TRANSFER_PROGRESS_FOR_HC
       
    62 #if !defined ( RD_SEN_DISABLE_TRANSFER_PROGRESS_FOR_HC )
       
    63     #define RD_SEN_DISABLE_TRANSFER_PROGRESS_FOR_HC 1
       
    64 #endif
       
    65 
       
    66 /*
       
    67 macro RD_SEN_FORCE_LIBXML_SAX_PLUGIN_MIMETYPE
       
    68 #if !defined ( RD_SEN_FORCE_LIBXML_SAX_PLUGIN_MIMETYPE )
       
    69 	#define RD_SEN_FORCE_LIBXML_SAX_PLUGIN_MIMETYPE 1
       
    70 #endif
       
    71 */
       
    72 /*
       
    73 macro RD_SEN_BACKPORT_CHANGE_FOR_LIBXML2_UIDS_AND_WSSTAR_IMAGE_NAME_PREFIXES
       
    74 #if !defined ( RD_SEN_BACKPORT_CHANGE_FOR_LIBXML2_UIDS_AND_WSSTAR_IMAGE_NAME_PREFIXES )
       
    75 	#define RD_SEN_BACKPORT_CHANGE_FOR_LIBXML2_UIDS_AND_WSSTAR_IMAGE_NAME_PREFIXES 1
       
    76 #endif
       
    77 */
       
    78 //macro RD_SEN_DISABLE_TRANSPORT_STATUS_CODE_CALLBACK
       
    79 //#if !defined ( RD_SEN_DISABLE_TRANSPORT_STATUS_CODE_CALLBACK )
       
    80 //	#define RD_SEN_DISABLE_TRANSPORT_STATUS_CODE_CALLBACK 1
       
    81 //#endif
       
    82 
       
    83 // By defult should be turned off for platform release. For automated testing just enable this flag 
       
    84 macro RD_SEN_DISABLE_USER_PERMISSION_DIALOGS
       
    85 #if !defined ( RD_SEN_DISABLE_USER_PERMISSION_DIALOGS )
       
    86 	#define RD_SEN_DISABLE_USER_PERMISSION_DIALOGS 1
       
    87 #endif
       
    88 
       
    89 //macro RD_SEN_USE_NEW_SYSTEM_INCLUDE_DIR_FOR_WSSTAR_XML_ENG
       
    90 //#if !defined ( RD_SEN_USE_NEW_SYSTEM_INCLUDE_DIR_FOR_WSSTAR_XML_ENG )
       
    91 //	#define RD_SEN_USE_NEW_SYSTEM_INCLUDE_DIR_FOR_WSSTAR_XML_ENG 1
       
    92 //#endif
       
    93 
       
    94 /*
       
    95 macro RD_SEN_COMPILE_SIS_PACKAGE_FILES
       
    96 #if !defined ( RD_SEN_COMPILE_SIS_PACKAGE_FILES )
       
    97 	#define RD_SEN_COMPILE_SIS_PACKAGE_FILES 1
       
    98 #endif
       
    99 */
       
   100 // -------------------------------------
       
   101 // --- WS-* dedicated MACROS *START* ---
       
   102 // -------------------------------------
       
   103 
       
   104 // IF BELOW "do not prompt authinfo" MACRO IS DEFINED: attribute has to exist, otherwise logic defaults to: DO NOT PROMPT
       
   105 //MACRO _RD_SEN_WS_STAR_DO_NOT_PROMPT_AUTHINFO_BY_DEFAULT
       
   106 //#if !defined ( _RD_SEN_WS_STAR_DO_NOT_PROMPT_AUTHINFO_BY_DEFAULT )
       
   107 //    #define _RD_SEN_WS_STAR_DO_NOT_PROMPT_AUTHINFO_BY_DEFAULT 1
       
   108 //#endif    
       
   109 // ELSE: even when attribute does NOT exist, or when it does and has any other value but "false", default to: PROMPT
       
   110 
       
   111 //MACRO RD_SEN_WS_STAR_DISABLE_POLICY_HTTP_GET
       
   112 //#if !defined( RD_SEN_WS_STAR_DISABLE_POLICY_HTTP_GET )
       
   113 //	#define RD_SEN_WS_STAR_DISABLE_POLICY_HTTP_GET 1
       
   114 //#endif    
       
   115 
       
   116 MACRO RD_SEN_WS_STAR_DISABLE_DICTIONARY_FETCHING
       
   117 #if !defined( RD_SEN_WS_STAR_DISABLE_DICTIONARY_FETCHING )
       
   118 	#define RD_SEN_WS_STAR_DISABLE_DICTIONARY_FETCHING 1
       
   119 #endif    
       
   120 
       
   121 // **** RD_SEN_WS_STAR__WBXML -- START --
       
   122 // * Comment OUT these lines IF NOT USING WBXML Compression(!) 
       
   123 //MACRO RD_SEN_WS_STAR__WBXML 
       
   124 //#if !defined( RD_SEN_WS_STAR__WBXML )
       
   125 //    #define RD_SEN_WS_STAR__WBXML 1
       
   126 //#endif    
       
   127 // **** RD_SEN_WS_STAR__WBXML -- END --
       
   128 
       
   129 
       
   130 // **** RD_SEN_VTCP_SUPPORT -- START --
       
   131 // * Comment OUT these lines IF NOT USING VTCP
       
   132 MACRO RD_SEN_VTCP_SUPPORT
       
   133 #if !defined(RD_SEN_VTCP_SUPPORT )
       
   134     #define RD_SEN_VTCP_SUPPORT 1
       
   135 #endif    
       
   136 
       
   137 // * Comment OUT these lines IF NOT USING VTCP
       
   138 MACRO RD_SEN_ENABLE_VTCP_BY_TRANSPORTPROPERTIES
       
   139 #if !defined(RD_SEN_ENABLE_VTCP_BY_TRANSPORTPROPERTIES )
       
   140     #define RD_SEN_ENABLE_VTCP_BY_TRANSPORTPROPERTIES 1
       
   141 #endif  
       
   142 
       
   143 //**** RD_SEN_VTCP_SUPPORT -- END --
       
   144 
       
   145 // -----------------------------------
       
   146 // --- WS-* dedicated MACROS *END* ---
       
   147 // -----------------------------------
       
   148 
       
   149 
       
   150 
       
   151 
       
   152 // For Enabling ALR Feature in 3.2 and above SDK
       
   153 //Note: Must Disable for other SDK
       
   154 //macro __ENABLE_ALR__ 
       
   155 //#if !defined ( __ENABLE_ALR__ )
       
   156 //	#define __ENABLE_ALR__ 1
       
   157 //#endif
       
   158 
       
   159 
       
   160 //macro __TEST_RETRY_TTL //LongLived Retry logic
       
   161 //#if !defined ( __TEST_RETRY_TTL )
       
   162 //	#define __TEST_RETRY_TTL
       
   163 //#endif
       
   164 /*
       
   165 //To build vtcp and vtcp channel transport plugin
       
   166 macro __BUILD_VTCP_
       
   167 #if !defined ( __BUILD_VTCP_ )
       
   168 	#define __BUILD_VTCP_
       
   169 #endif
       
   170 */
       
   171 
       
   172 // To Encrypt/Decrypt the password
       
   173 // This macro will be enabled once adaptation API exposed to MW
       
   174 //macro __CRYPTO_HW__ 
       
   175 //#if !defined ( __CRYPTO_HW__ )
       
   176 //	#define __CRYPTO_HW__ 1
       
   177 //#endif
       
   178 
       
   179 //By default this macro will be enabled for TB 9.2 and more. 
       
   180 //It has to be disabled for other platforms
       
   181 macro __SINGLE_CLICK_CONNECTIVITY_ENABLED__ 
       
   182 #if !defined ( __SINGLE_CLICK_CONNECTIVITY_ENABLED__ )
       
   183 	#define __SINGLE_CLICK_CONNECTIVITY_ENABLED__ 1
       
   184 #endif
       
   185 
       
   186 
       
   187 #endif//WEBSERVICES_VARIANT_HRH