textinput/peninputhwrtrui/inc/truilanguagerelation.h
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2007 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:  TLanguageRelation class of TrainingUI
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef T_TRUILANGUAGERELATION_H
       
    20 #define T_TRUILANGUAGERELATION_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 class TLanguageRelation
       
    25     {
       
    26 public:
       
    27     TLanguageRelation( TInt aCode, TInt aLanguageScriptId );
       
    28     
       
    29     inline TInt LanguageCode() const
       
    30         {
       
    31         return iCode;
       
    32         };
       
    33     
       
    34     inline TInt LanguageScriptId() const
       
    35         {
       
    36         return iLanguageScriptId;
       
    37         };
       
    38   
       
    39 private:
       
    40     TInt iCode;
       
    41     TInt iLanguageScriptId;    
       
    42     };
       
    43 
       
    44 #endif // T_TRUILANGUAGERELATION_H