equal
deleted
inserted
replaced
1 imlauncherplugin.inl |
1 /* |
|
2 * Copyright (c) 2004 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 "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Interface for the IM application launching |
|
15 * |
|
16 */ |
|
17 |
|
18 inline CImLauncherPlugin::CImLauncherPlugin() |
|
19 { |
|
20 } |
|
21 |
|
22 inline CImLauncherPlugin::~CImLauncherPlugin() |
|
23 { |
|
24 // Destroy any instance variables and then |
|
25 // inform the framework that this specific |
|
26 // instance of the interface has been destroyed. |
|
27 REComSession::DestroyedImplementation(iDtor_ID_Key); |
|
28 } |
|
29 |
|
30 inline CImLauncherPlugin* CImLauncherPlugin::NewL(const TDesC8& aApplicationId) |
|
31 { |
|
32 // Set up the interface find for the default resolver. |
|
33 TEComResolverParams resolverParams; |
|
34 resolverParams.SetDataType(aApplicationId); |
|
35 resolverParams.SetWildcardMatch(EFalse); |
|
36 TAny* ptr = REComSession::CreateImplementationL( |
|
37 KImLauncherPluginUid, |
|
38 _FOFF(CImLauncherPlugin,iDtor_ID_Key), |
|
39 resolverParams); |
|
40 |
|
41 return REINTERPRET_CAST(CImLauncherPlugin*, ptr); |
|
42 } |