eapol/eapol_framework/eapol_symbian/am/include/eaptlspeap_db_api_inc/EapFastPacStore.inl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/eapol/eapol_framework/eapol_symbian/am/include/eaptlspeap_db_api_inc/EapFastPacStore.inl Mon May 24 20:32:47 2010 +0300
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2008 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: WAPI authentication protocols.
+*
+*/
+
+/*
+* %version: %
+*/
+
+#include "EapTraceSymbian.h"
+
+inline CEapFastPacStore* CEapFastPacStore::NewL()
+{
+ EAP_TRACE_DEBUG_SYMBIAN((_L("CEapFastPacStore::NewL(): start")));
+
+ // This call finds and loads the correct DLL and after that calls the
+ // entry function in the interface implementation in the DLL.
+ TAny* ptr = 0;
+
+ const TUid KimplementationUid = { 0x2002BC93 };
+
+ TRAPD( err, ptr = REComSession::CreateImplementationL(
+ KimplementationUid,
+ _FOFF(CEapFastPacStore, iDtor_ID_Key)));
+
+ EAP_TRACE_DEBUG_SYMBIAN((_L("CEapFastPacStore::NewL(): CreateImplementationL(Uid=0x%08x), err=%d, returns ptr=0x%08x\n"),
+ KimplementationUid.iUid,
+ err,
+ ptr));
+
+
+ User::LeaveIfError(err);
+
+ return reinterpret_cast<CEapFastPacStore *>(ptr);
+}
+
+// end