cryptoservices/filebasedcertificateandkeystores/test/thwkeystore/client/thwkeystore.cpp
changeset 15 da2ae96f639b
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
       
     1 /*
       
     2 * Copyright (c) 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <ecom/implementationproxy.h>
       
    21 #include "thwtokentypeclient.h"
       
    22 
       
    23 const TInt KHardwareImplementationId = 0x101FFFF4;
       
    24 
       
    25 static CCTTokenType* NewFunctionL();
       
    26 
       
    27 CCTTokenType* NewFunctionL()
       
    28 	{
       
    29 	CCTTokenType* hardwareKeyStore = CHardwareTokenTypeClient::NewL();
       
    30 	return hardwareKeyStore;
       
    31 	}
       
    32 
       
    33 const TImplementationProxy ImplementationTable[] =
       
    34 	{
       
    35 	IMPLEMENTATION_PROXY_ENTRY(KHardwareImplementationId, NewFunctionL)
       
    36 	};
       
    37 
       
    38 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    39 	{
       
    40 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    41 	return (ImplementationTable);
       
    42 	}