equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 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: Soft Token plugin interface inline. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __SOFTTOKENPLUGIN_INL__ |
|
19 #define __SOFTTOKENPLUGIN_INL__ |
|
20 |
|
21 _LIT8(KDefaultImplementation,"*"); |
|
22 _LIT8(KDefaultPluginImpl,"softtokenplugin"); // default_data = "softtokenplugin"; |
|
23 |
|
24 inline CSoftTokenPluginIf::~CSoftTokenPluginIf() |
|
25 { |
|
26 // Destroy any instance variables and then |
|
27 // inform the framework that this specific |
|
28 // instance of the interface has been destroyed. |
|
29 REComSession::DestroyedImplementation(iDtor_ID_Key); |
|
30 } |
|
31 |
|
32 inline CSoftTokenPluginIf* CSoftTokenPluginIf::NewL() |
|
33 { |
|
34 return REINTERPRET_CAST(CSoftTokenPluginIf*, |
|
35 REComSession::CreateImplementationL(KCSoftTokenImplUid, |
|
36 _FOFF(CSoftTokenPluginIf,iDtor_ID_Key))); |
|
37 } |
|
38 #endif // __SOFTTOKENPLUGIN_INL__ |
|