lowlevellibsandfws/pluginfw/Framework/frame/EComPatchDataConstant.cpp
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 2006-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 //
       
    15 
       
    16 #include <e32base.h>
       
    17 
       
    18 //all the constant value needs to be in a separate file
       
    19 //Care should be taken not to define the exported data in the same source file in which
       
    20 //they are referred, lest the compiler inline's it. If inlined, the data cannot be patched.
       
    21 //Hence, the definition of data must be put in a separate source file and they must be 
       
    22 //referred in other source files by using 'extern' qualifier
       
    23 
       
    24 EXPORT_C extern const TInt KListImplBufferSize=2048;