|
1 /* |
|
2 * Copyright (c) 2008-2008 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 "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 Generic WLAN Plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 3 % |
|
20 */ |
|
21 |
|
22 #ifndef WLANPLUGINCLIENT_INL |
|
23 #define WLANPLUGINCLIENT_INL |
|
24 |
|
25 // --------------------------------------------------------- |
|
26 // CGenericWlanPluginClient::NewL |
|
27 // --------------------------------------------------------- |
|
28 inline CGenericWlanPluginClient* CGenericWlanPluginClient::NewL( const TUid uid ) |
|
29 { |
|
30 TAny* interface = REComSession::CreateImplementationL( uid, |
|
31 _FOFF( CGenericWlanPluginClient, iInstanceIdentifier ) ); |
|
32 return reinterpret_cast<CGenericWlanPluginClient*>( interface ); |
|
33 } |
|
34 |
|
35 // --------------------------------------------------------- |
|
36 // CGenericWlanPluginClient::~CGenericWlanPluginClient |
|
37 // --------------------------------------------------------- |
|
38 inline CGenericWlanPluginClient::~CGenericWlanPluginClient() |
|
39 { |
|
40 REComSession::DestroyedImplementation( iInstanceIdentifier ); |
|
41 } |
|
42 |
|
43 // --------------------------------------------------------- |
|
44 // CGenericWlanPluginClient::ListImplementationsL |
|
45 // --------------------------------------------------------- |
|
46 inline void CGenericWlanPluginClient::ListImplementationsL( |
|
47 RImplInfoPtrArray& aImplInfoArray) |
|
48 { |
|
49 const TUid KGenericWlanPluginInterfaceUid = { 0x20012484 }; |
|
50 |
|
51 REComSession::ListImplementationsL(KGenericWlanPluginInterfaceUid, |
|
52 aImplInfoArray); |
|
53 } |
|
54 |
|
55 #endif // WLANPLUGINCLIENT_INL |