textinput/peninputvkbkr/src/PeninputVkbKrLayoutImp.cpp
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  peninput VKB data manager
       
    15 *
       
    16 */
       
    17 
       
    18 #include <AknFepGlobalEnums.h>
       
    19 
       
    20 #include "PeninputVkbKrLayoutImp.h"
       
    21 #include "PeninputVkbKrLayout.h"
       
    22 
       
    23 // ---------------------------------------------------------------------------
       
    24 // Constructors & Destructors
       
    25 // ---------------------------------------------------------------------------
       
    26 //
       
    27 
       
    28 CPeninputVkbKrLayoutImp* CPeninputVkbKrLayoutImp::NewVkbL( TAny* /*aInitParams*/ )
       
    29     {
       
    30     CPeninputVkbKrLayoutImp* self = 
       
    31         new(ELeave) CPeninputVkbKrLayoutImp(EPluginInputModeVkb);
       
    32     CleanupStack::PushL(self);
       
    33     self->ConstructL();
       
    34     CleanupStack::Pop(self);
       
    35     return self;
       
    36     }
       
    37 
       
    38 CPeninputVkbKrLayoutImp* CPeninputVkbKrLayoutImp::NewFsqL( TAny* /*aInitParams*/ )
       
    39     {
       
    40     CPeninputVkbKrLayoutImp* self = 
       
    41         new(ELeave) CPeninputVkbKrLayoutImp(EPluginInputModeFSQ);
       
    42     CleanupStack::PushL(self);
       
    43     self->ConstructL();
       
    44     CleanupStack::Pop(self);
       
    45     return self;
       
    46     }
       
    47 
       
    48 CPeninputVkbKrLayoutImp::CPeninputVkbKrLayoutImp(
       
    49         const TInt& aInputMode)
       
    50     : iInputMode(aInputMode)
       
    51     {
       
    52     // See ConstructL() for initialisation completion.
       
    53     }
       
    54 
       
    55 CPeninputVkbKrLayoutImp::~CPeninputVkbKrLayoutImp()
       
    56     {
       
    57     }
       
    58 
       
    59 void CPeninputVkbKrLayoutImp::ConstructL()
       
    60     {
       
    61     }
       
    62 
       
    63 // ---------------------------------------------------------------------------
       
    64 // from CFepUiLayoutInterface
       
    65 // ---------------------------------------------------------------------------
       
    66 //
       
    67 
       
    68 CFepUiLayout* CPeninputVkbKrLayoutImp::CreateFepUiLayoutL(
       
    69         MLayoutOwner* aLayoutOwner,
       
    70         const TAny* aData)
       
    71     {
       
    72     CPeninputVkbKrLayout* aUiLayout = 
       
    73         CPeninputVkbKrLayout::NewL(aLayoutOwner,aData,iInputMode);
       
    74     return aUiLayout;
       
    75     }