textinput/peninputvkbkr/inc/PeninputVkbKrUiStateNone.h
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 #ifndef PENINPUTVKBKRUISTATENONE_H
       
    19 #define PENINPUTVKBKRUISTATENONE_H
       
    20 
       
    21 #include "PeninputVkbKrUiStateBase.h"
       
    22 
       
    23 class CPtiEngine;
       
    24 
       
    25 class CPeninputVkbKrUiStateNone : public CPeninputVkbKrUiStateBase
       
    26     {
       
    27 public:
       
    28     
       
    29     static CPeninputVkbKrUiStateNone* NewLC(
       
    30         MPeninputUiStateMgr* aUiStateMgr, 
       
    31         MPeninputLayoutContext* aContext,
       
    32         CPtiEngine& aPtiEngine);
       
    33 
       
    34     static CPeninputVkbKrUiStateNone* NewL(
       
    35         MPeninputUiStateMgr* aUiStateMgr, 
       
    36         MPeninputLayoutContext* aContext,
       
    37         CPtiEngine& aPtiEngine);
       
    38 
       
    39     virtual ~CPeninputVkbKrUiStateNone();
       
    40 
       
    41 private:
       
    42 
       
    43     CPeninputVkbKrUiStateNone(
       
    44         MPeninputUiStateMgr* aUiStateMgr, 
       
    45         MPeninputLayoutContext* aContext,
       
    46         CPtiEngine& aPtiEngine);
       
    47 
       
    48     void ConstructL();
       
    49     
       
    50 private: // from CPeninputVkbKrUiStateBase 
       
    51     
       
    52     virtual TBool HandleKeyEventL(
       
    53         const TRawEvent& aData);
       
    54     
       
    55     virtual TBool HandleControlEvent(
       
    56         TInt aEventType,
       
    57         const TDesC& aEventData);
       
    58 
       
    59     };
       
    60 
       
    61 #endif // PENINPUTVKBKRUISTATENONE_H