bluetoothengine/bthid/layouts/inc/norwegian.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 NORWEGIAN_H
       
    20 #define NORWEGIAN_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32svr.h>
       
    25 
       
    26 #include "layout.h"
       
    27 #include "modifier.h"
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 class CNorwegianLayout : public CDeadKeyLayout
       
    32     {
       
    33 public:
       
    34 
       
    35     static CKeyboardLayout* NewL();
       
    36 
       
    37     // Report what layouts are supported:
       
    38     virtual TInt LayoutId() const;
       
    39 
       
    40     // Layout has additional Caps Lock keys:
       
    41     virtual TBool
       
    42             ChangesWithCapsLock(TInt aHidKey, THidModifier aModifiers) const;
       
    43 
       
    44 private:
       
    45 
       
    46     /* C++ constructor */
       
    47     CNorwegianLayout();
       
    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  //NORWEGIAN_H
       
    66 //End of file
       
    67