diff -r 000000000000 -r e4d67989cc36 genericservices/systemagent/src/halsettings/halpatchdata.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/genericservices/systemagent/src/halsettings/halpatchdata.cpp Tue Feb 02 02:01:42 2010 +0200 @@ -0,0 +1,26 @@ +// Copyright (c) 2008-2009 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: +// + +#include + +// All the patchable variables need to be in a separate file. +// Care should be taken not to define the exported data in the same source file +// in which they are referred, lest the compiler inline's it. If inlined, the +// data cannot be patched. Hence, the definition of data must be put in a +// separate source file and they must be declared in other source files by +// #include "halpatchdata.h". + +extern const TUint32 KHalPenStatePersistenceDisabled = 0; +extern const TUint32 KHalNonSecureOffsetPersistenceDisabled = 0;