epoc32/include/mw/osskeyboard.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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