1 /* |
|
2 * Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Inline functions of CWlanEapolClient class. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 6 % |
|
20 */ |
|
21 |
|
22 #include <ecom/ecom.h> |
|
23 #include "EapTraceSymbian.h" |
|
24 // ----------------------------------------------------------------------------- |
|
25 // ----------------------------------------------------------------------------- |
|
26 // |
|
27 |
|
28 inline CEapProcessInterface* CEapProcessInterface::NewL( |
|
29 TInt aUid, |
|
30 MEapSendInterface * aPartner) |
|
31 { |
|
32 |
|
33 EAP_TRACE_DEBUG_SYMBIAN( |
|
34 (_L("CEapProcessInterface::NewL"))); |
|
35 |
|
36 const TUid KTMPUid = { aUid }; |
|
37 |
|
38 EAP_TRACE_DEBUG_SYMBIAN( |
|
39 (_L("CEapProcessInterface::NewL KTMPUid created "))); |
|
40 |
|
41 TAny* aInterface = REComSession::CreateImplementationL( |
|
42 KTMPUid, |
|
43 _FOFF( CEapProcessInterface, iInstanceIdentifier ), |
|
44 aPartner); |
|
45 |
|
46 EAP_TRACE_DEBUG_SYMBIAN( |
|
47 (_L("CEapProcessInterface::NewL CreateImplementationL done"))); |
|
48 |
|
49 return reinterpret_cast<CEapProcessInterface*>( aInterface ); |
|
50 } |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // ----------------------------------------------------------------------------- |
|
54 // |
|
55 inline CEapProcessInterface::~CEapProcessInterface() |
|
56 { |
|
57 REComSession::DestroyedImplementation( iInstanceIdentifier ); |
|
58 } |
|