bluetoothengine/bthid/layouts/inc/danish.h
changeset 0 f63038272f30
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     1 /*
       
     2 * Copyright (c) 2008 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:  This is the implementation of application class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DANISH_H
       
    20 #define DANISH_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32svr.h>
       
    25 #include "layout.h"
       
    26 #include "modifier.h"
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 class CDanishLayout : public CDeadKeyLayout
       
    31     {
       
    32     public:
       
    33 
       
    34         static CKeyboardLayout* NewL();
       
    35 
       
    36         // Layout has additional Caps Lock keys:
       
    37         virtual TBool ChangesWithCapsLock(TInt aHidKey,
       
    38                                           THidModifier aModifiers) const;
       
    39 
       
    40         // Report what layouts are supported:
       
    41         virtual TInt LayoutId() const;
       
    42 
       
    43 
       
    44     private:
       
    45 
       
    46         /* C++ constructor */
       
    47         CDanishLayout();
       
    48 
       
    49         // Standard look-up table:
       
    50         static const TInt KColumnMap[];
       
    51         static const TUint16 KKeyCodes[];
       
    52 
       
    53         // Special cases:
       
    54         static const TSpecialKey KSpecialCases[];
       
    55 
       
    56         // Dead key tables:
       
    57         static const TIndexPair KDeadKeyIndex[];
       
    58         static const TKeyPair KDeadKeyAcute[];
       
    59         static const TKeyPair KDeadKeyGrave[];
       
    60         static const TKeyPair KDeadKeyDiaeresis[];
       
    61         static const TKeyPair KDeadKeyCircumflex[];
       
    62         static const TKeyPair KDeadKeyTilde[];
       
    63     };
       
    64 
       
    65 #endif  //DANISH_H
       
    66 
       
    67 //End of file