lowlevellibsandfws/pluginfw/Framework/frame/EComPatchDataConstantv2.cpp
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // All patchable constants need to be defined in a separate file.
       
    15 // Care should be taken not to define the constant data in the same source file in which
       
    16 // they are referred, lest the compiler inline's it. If inlined, the data has no storage
       
    17 // location and cannot be patched.
       
    18 // Hence, the definition of data must be put in a separate source file and they must be 
       
    19 // referred in other source files by using the 'extern' qualifier.
       
    20 // 
       
    21 //
       
    22 
       
    23 /**
       
    24  @file
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #include <e32def.h>
       
    29 
       
    30 //
       
    31 //This constant lets licensees specify a list of drives which they
       
    32 //do not want ECOM to scan, e.g. because the drives can never have
       
    33 //valid plug-ins. 
       
    34 //This is a 32-bit integer with each bit representing a drive to disable:
       
    35 //0x1 disables drive A, 0x2 disables drive B etc. There are only 25 drive
       
    36 //letters supported (A:->Y:) therefore the last 7 bits are ignored.
       
    37 //Note that Read-only internal drives cannot be disabled.
       
    38 #ifdef __EXE__
       
    39 	extern const TUint32 KDiscoveryDisabledDriveList = 0;
       
    40 #endif
       
    41 
       
    42 
       
    43 // This constant specifies the maximum number of resolver DLLs ECOM can cache.
       
    44 // When the cache queue is full, the next custom resolver DLL requested by
       
    45 // client will bump off the oldest DLL in the cache.
       
    46 // The default (unpatched) value is 4.
       
    47 #ifdef __EXE__
       
    48 	extern const TUint32 KCustomResolverCacheSize = 4;
       
    49 #endif
       
    50 
       
    51 
       
    52 // This constant specifies the timeout in microseconds that a resolver DLL is
       
    53 // kept in cache. When the time expires, the resolver DLL is released from
       
    54 // memory. The default (unpatched) value is 4000000.
       
    55 #ifdef __EXE__
       
    56 	extern const TUint32 KCustomResolverCacheTimeout = 4000000;
       
    57 #endif