os/ossrv/genericservices/systemagent/src/halsettings/halpatchdata.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2008-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 patchable variables need to be in a separate file.
    19 // Care should be taken not to define the exported data in the same source file 
    20 // in which they are referred, lest the compiler inline's it. If inlined, the 
    21 // data cannot be patched. Hence, the definition of data must be put in a 
    22 // separate source file and they must be declared in other source files by 
    23 // #include "halpatchdata.h".
    24 
    25 extern const TUint32 KHalPenStatePersistenceDisabled = 0;
    26 extern const TUint32 KHalNonSecureOffsetPersistenceDisabled = 0;