eapol/eapol_framework/eapol_symbian/eap_if/include/EapProcessInterface.inl
branchRCL_3
changeset 18 bad0cc58d154
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eapol/eapol_framework/eapol_symbian/eap_if/include/EapProcessInterface.inl	Tue Aug 31 15:16:37 2010 +0300
@@ -0,0 +1,58 @@
+/*
+* Copyright (c) 2001-2006 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:  Inline functions of CWlanEapolClient class.
+*
+*/
+
+/*
+* %version: 6 %
+*/
+
+#include <ecom/ecom.h>
+#include "EapTraceSymbian.h"
+// -----------------------------------------------------------------------------
+// -----------------------------------------------------------------------------
+//
+
+inline CEapProcessInterface* CEapProcessInterface::NewL(
+    TInt aUid,
+    MEapSendInterface * aPartner)
+    {
+     
+    EAP_TRACE_DEBUG_SYMBIAN(
+        (_L("CEapProcessInterface::NewL")));  
+
+    const TUid KTMPUid = { aUid };
+
+    EAP_TRACE_DEBUG_SYMBIAN(
+        (_L("CEapProcessInterface::NewL KTMPUid created ")));  
+
+    TAny* aInterface = REComSession::CreateImplementationL(
+        KTMPUid,
+        _FOFF( CEapProcessInterface, iInstanceIdentifier ),
+        aPartner);
+
+    EAP_TRACE_DEBUG_SYMBIAN(
+        (_L("CEapProcessInterface::NewL CreateImplementationL done")));  
+
+    return reinterpret_cast<CEapProcessInterface*>( aInterface );
+    }
+
+// -----------------------------------------------------------------------------
+// -----------------------------------------------------------------------------
+//
+inline CEapProcessInterface::~CEapProcessInterface()
+    {
+    REComSession::DestroyedImplementation( iInstanceIdentifier );
+    }