|
1 /* |
|
2 * Copyright (c) 2001-2009 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 CEAPPluginConfigurationIf |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 10 % |
|
20 */ |
|
21 |
|
22 #ifndef __EAPPLUGINCONFIGURATIONIF_INL__ |
|
23 #define __EAPPLUGINCONFIGURATIONIF_INL__ |
|
24 |
|
25 |
|
26 // --------------------------------------------------------- |
|
27 // CEAPPluginConfigurationIf::NewL |
|
28 // --------------------------------------------------------- |
|
29 // |
|
30 inline CEAPPluginConfigurationIf* CEAPPluginConfigurationIf::NewL( |
|
31 const TDesC8& aMatchString ) |
|
32 { |
|
33 TEComResolverParams resolverParams; |
|
34 resolverParams.SetDataType(aMatchString); |
|
35 |
|
36 TAny* ptr = REComSession::CreateImplementationL( |
|
37 KEapPluginConfigInterfaceUid, |
|
38 _FOFF( CEAPPluginConfigurationIf, iDtor_ID_Key ), |
|
39 resolverParams ); |
|
40 |
|
41 return REINTERPRET_CAST( CEAPPluginConfigurationIf*, ptr ); |
|
42 } |
|
43 |
|
44 |
|
45 // --------------------------------------------------------- |
|
46 // CEAPPluginConfigurationIf::~CEAPPluginConfigurationIf |
|
47 // --------------------------------------------------------- |
|
48 // |
|
49 inline CEAPPluginConfigurationIf::~CEAPPluginConfigurationIf() |
|
50 { |
|
51 // Unload DLL |
|
52 REComSession::DestroyedImplementation( iDtor_ID_Key ); |
|
53 } |
|
54 |
|
55 |
|
56 #endif // __EAPPLUGINCONFIGURATIONIF_INL__ |
|
57 |
|
58 // End of file. |