ncdengine/inc/ncdprovideroptions.h
author Pat Downey <patd@symbian.org>
Tue, 18 May 2010 13:42:18 +0100
changeset 35 4a49a8c90306
parent 0 ba25891c3a9e
permissions -rw-r--r--
Merge docml changeset, iby creation mods and sqlite_secure (bug 2548).

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   Contains provider options
*
*/


#ifndef NCD_PROVIDER_OPTIONS_H
#define NCD_PROVIDER_OPTIONS_H

/**
 * Bitflags that can be used to control provider behaviour when it is 
 * being created.
 * 
 * The default provider behaviour is the opposite of these flags.
 * 
 * @see MCatalogsEngine::CreateProviderL
 *  
 */  
enum TNcdProviderOptions
    {
    /**
     * Disable node cache cleaner 
     */ 
    ENcdProviderDisableNodeCacheCleaner = 1,
    
    /**
     * Enable client cache cleaning when the SIM is changed
     */
    ENcdProviderEnableSimChangeCacheCleaning = 2,
    
    /**
     * Enable IMEI sending in configuration requests
     */
    ENcdProviderSendImei = 4,
    
    /**
     * Disable HEAD request from downloads
     * 
     * @note Names of downloaded files won't be correct 
     * @note If content's MIME type is received as OMA DD, JAD or DRM content in
     * downloadableContent-element then HEAD request is sent.
     */
    ENcdProviderDisableHttpHeadRequest = 8
    
    };

#endif // NCD_PROVIDER_OPTIONS_H