textinput/peninputfingerhwrar/src/peninputfingerhwrarproxy.cpp
branchRCL_3
changeset 3 f5a1e66df979
child 5 a47de9135b21
equal deleted inserted replaced
0:eb1f2e154e89 3:f5a1e66df979
       
     1 /*
       
     2 * Copyright (c) 2005-2008 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:  ECom entry point for finger hwr
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <implementationproxy.h>
       
    21 #include <peninputlayoutplugininterface.h>
       
    22 #include "peninputfingerhwrarlayout.h"
       
    23 
       
    24 
       
    25 /******************************************************
       
    26 
       
    27 	CFepUiLayoutInterface Implementation
       
    28 
       
    29 *******************************************************/
       
    30 
       
    31 // An implementation of the CFepUiLayoutInterface definition
       
    32 class CPeninputFingerHwrArLayoutImpl : public CFepUiLayoutInterface
       
    33     {
       
    34 public:
       
    35     // Standardised safe construction which leaves nothing the cleanup stack.
       
    36     static CPeninputFingerHwrArLayoutImpl* NewL( TAny* aInitParams );
       
    37 
       
    38     // Implementation of CFepUiLayoutInterface::CreateFepUiLayoutL
       
    39     MPenUiLayoutBase* CreateFepUiLayoutL( MLayoutOwner* aLayoutOwner, 
       
    40         const TAny*  aInitData );
       
    41     };
       
    42 
       
    43 // Construction and destruction functions
       
    44 CPeninputFingerHwrArLayoutImpl* 
       
    45     CPeninputFingerHwrArLayoutImpl::NewL( TAny* /*aInitParams*/ )
       
    46     {
       
    47     CPeninputFingerHwrArLayoutImpl* self = new( ELeave ) CPeninputFingerHwrArLayoutImpl();
       
    48     return self;
       
    49     }
       
    50 
       
    51 // Implementation of CPeninputFingerHwrArLayout
       
    52 MPenUiLayoutBase* CPeninputFingerHwrArLayoutImpl::CreateFepUiLayoutL( 
       
    53     MLayoutOwner* aLayoutOwner,
       
    54     const TAny* aInitData )
       
    55     {
       
    56     CPeninputFingerHwrArLayout* uiLayout = 
       
    57         CPeninputFingerHwrArLayout::NewL( aLayoutOwner, aInitData );
       
    58     return uiLayout;
       
    59     }
       
    60 
       
    61 /******************************************************
       
    62 
       
    63 	ECom Implementation Proxy
       
    64 
       
    65 *******************************************************/
       
    66 
       
    67 // Map the interface UIDs to implementation factory functions
       
    68 const TImplementationProxy ImplementationTable[] =
       
    69     {
       
    70     IMPLEMENTATION_PROXY_ENTRY( 0x2001E2C4, CPeninputFingerHwrArLayoutImpl::NewL )
       
    71     };
       
    72 
       
    73 // Exported proxy for instantiation method resolution
       
    74 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    75     {
       
    76     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    77 
       
    78     return ImplementationTable;
       
    79     }
       
    80 
       
    81 //End of file