textinput/ptihangulcore/inc/OssKeyboard.h
branchRCL_3
changeset 3 f5a1e66df979
equal deleted inserted replaced
0:eb1f2e154e89 3:f5a1e66df979
       
     1 /*
       
     2 * Copyright (c) 2005,2006 Choe Hwanjin
       
     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 #ifndef OSSKEYBOARD_H
       
    20 #define OSSKEYBOARD_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <e32base.h>
       
    24 
       
    25 typedef struct _HangulKeyboard HangulKeyboard;
       
    26 
       
    27 class COssKeyboard : public CBase
       
    28     {
       
    29 public:
       
    30     
       
    31     IMPORT_C static COssKeyboard* NewLC();
       
    32 
       
    33     IMPORT_C static COssKeyboard* NewL();
       
    34 
       
    35     IMPORT_C virtual ~COssKeyboard();
       
    36 
       
    37 private:
       
    38 
       
    39     COssKeyboard();
       
    40 
       
    41     void ConstructL();
       
    42     
       
    43 public:
       
    44     
       
    45     IMPORT_C void SetValue(const TInt& aKey,const TChar& aValue);
       
    46     
       
    47     IMPORT_C void SetType(const TInt& aType);
       
    48     
       
    49 private:
       
    50     
       
    51     HangulKeyboard* iHangulKeyboard;
       
    52 
       
    53     friend class COssHangulInputContext;
       
    54     
       
    55     };
       
    56 
       
    57 #endif // OSSKEYBOARD_H