ncdengine/inc/ncdprovideroptions.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2008 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:   Contains provider options
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCD_PROVIDER_OPTIONS_H
       
    20 #define NCD_PROVIDER_OPTIONS_H
       
    21 
       
    22 /**
       
    23  * Bitflags that can be used to control provider behaviour when it is 
       
    24  * being created.
       
    25  * 
       
    26  * The default provider behaviour is the opposite of these flags.
       
    27  * 
       
    28  * @see MCatalogsEngine::CreateProviderL
       
    29  *  
       
    30  */  
       
    31 enum TNcdProviderOptions
       
    32     {
       
    33     /**
       
    34      * Disable node cache cleaner 
       
    35      */ 
       
    36     ENcdProviderDisableNodeCacheCleaner = 1,
       
    37     
       
    38     /**
       
    39      * Enable client cache cleaning when the SIM is changed
       
    40      */
       
    41     ENcdProviderEnableSimChangeCacheCleaning = 2,
       
    42     
       
    43     /**
       
    44      * Enable IMEI sending in configuration requests
       
    45      */
       
    46     ENcdProviderSendImei = 4,
       
    47     
       
    48     /**
       
    49      * Disable HEAD request from downloads
       
    50      * 
       
    51      * @note Names of downloaded files won't be correct 
       
    52      * @note If content's MIME type is received as OMA DD, JAD or DRM content in
       
    53      * downloadableContent-element then HEAD request is sent.
       
    54      */
       
    55     ENcdProviderDisableHttpHeadRequest = 8
       
    56     
       
    57     };
       
    58 
       
    59 #endif // NCD_PROVIDER_OPTIONS_H