authenticationservices/authenticationserver/source/common/authpatchdata.cpp
changeset 19 ece3df019add
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/authenticationservices/authenticationserver/source/common/authpatchdata.cpp	Tue Nov 24 09:06:03 2009 +0200
@@ -0,0 +1,28 @@
+/*
+* 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 the License "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 <e32base.h>
+
+// All the patchable variables in the authcommon.dll 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 
+// #including "authpatchdata.h".
+
+EXPORT_C extern const TUint8 KEnablePostMarketAuthenticationPlugins = 0x00;