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