textinput/peninputhwrfscn/src/peninputhwrfscnproxy.cpp
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  Implementation for chinese peninput full screen hwr
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <implementationproxy.h>
       
    21 #include <peninputlayoutplugininterface.h>
       
    22 #include "peninputhwrfscnlayout.h"
       
    23 
       
    24 
       
    25 /******************************************************
       
    26 
       
    27 	CFepUiLayoutInterface Implementation
       
    28 
       
    29 *******************************************************/
       
    30 
       
    31 // An implementation of the CFepUiLayoutInterface definition
       
    32 class CPeninputHwrfscnLayoutImpl : public CFepUiLayoutInterface
       
    33     {
       
    34 public:
       
    35     // Standardised safe construction which leaves nothing the cleanup stack.
       
    36     static CPeninputHwrfscnLayoutImpl* 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 CPeninputHwrfscnLayoutImpl* 
       
    45     CPeninputHwrfscnLayoutImpl::NewL( TAny* /*aInitParams*/ )
       
    46     {
       
    47     CPeninputHwrfscnLayoutImpl* self = new( ELeave ) CPeninputHwrfscnLayoutImpl();
       
    48     return self;
       
    49     }
       
    50 
       
    51 // Implementation of CPeninputHwrfscnLayoutImpl
       
    52 MPenUiLayoutBase* CPeninputHwrfscnLayoutImpl::CreateFepUiLayoutL( 
       
    53     MLayoutOwner* aLayoutOwner,
       
    54     const TAny* aInitData )
       
    55     {
       
    56     CPeninputHwrfscnLayout* uiLayout = 
       
    57         CPeninputHwrfscnLayout::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     //    {{0x2000B132},    CPeninputHwrfscnLayoutImpl::NewL}
       
    71     IMPLEMENTATION_PROXY_ENTRY( 0x2000B132, CPeninputHwrfscnLayoutImpl::NewL )
       
    72     };
       
    73 
       
    74 // Exported proxy for instantiation method resolution
       
    75 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    76     {
       
    77     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    78 
       
    79     return ImplementationTable;
       
    80     }
       
    81 
       
    82 //End of file