sl@0: /* sl@0: * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: #include sl@0: #include sl@0: #include "cdummytokentypeclient.h" sl@0: sl@0: #ifdef MANAGER_INTERFACE_ONE sl@0: const TInt KDummyImplementationId = 0x101FAAA2; sl@0: #else sl@0: #ifdef KEYSTORE_INTERFACE sl@0: const TInt KDummyImplementationId = 0x101FAAA4; sl@0: #else sl@0: #ifdef MANAGER_INTERFACE_TWO sl@0: const TInt KDummyImplementationId = 0x101FAAA6; sl@0: #endif sl@0: #endif sl@0: #endif sl@0: sl@0: // Create a client session on the tokentype server sl@0: static CCTTokenType* NewFunctionL(); sl@0: sl@0: CCTTokenType* NewFunctionL() sl@0: { sl@0: CCTTokenType* dummyKeyStore = CDummyTokenTypeClient::NewL(); sl@0: return dummyKeyStore; sl@0: } sl@0: sl@0: const TImplementationProxy ImplementationTable[] = sl@0: { sl@0: IMPLEMENTATION_PROXY_ENTRY(KDummyImplementationId, NewFunctionL) sl@0: }; sl@0: sl@0: EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) sl@0: { sl@0: aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); sl@0: return (ImplementationTable); sl@0: }