sysstatemgmt/systemstatemgr/cmn/src/ssmpatchableconstantsdata.cpp
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 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: Define Patchable constants 
       
    14 //
       
    15 
       
    16 #include <e32std.h>
       
    17 
       
    18 //Care should be taken not to define the exported data in the same source file in which
       
    19 //they are referred, lets the compiler inline's it. If inlined, the data cannot be patched.
       
    20 //Hence, the definition of data must be put in a separate source file and they must be 
       
    21 //referred in other source files by using 'extern' qualifier
       
    22 
       
    23 #ifdef SYMBIAN_SSM_GRACEFUL_SHUTDOWN
       
    24 EXPORT_C extern const TUint32 KSsmGracefulShutdown = 0x0;
       
    25 #endif //SYMBIAN_SSM_GRACEFUL_SHUTDOWN
       
    26 
       
    27 EXPORT_C extern const TUint32 KSsmGracefulOffline = 0x0;
       
    28 
       
    29 EXPORT_C extern const TUint32 KSsmInvalidSim = 0x0;