appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifuilangname.h
changeset 29 26b6f0522fd8
parent 25 98b66e4fb0be
child 30 398876c4ffa7
child 33 8110bf1194d1
equal deleted inserted replaced
25:98b66e4fb0be 29:26b6f0522fd8
     1 /*
       
     2 * Copyright (c) 2008-2010 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:   Defines class for language id amd name pairs
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SISXUILANGNAME_H
       
    20 #define SISXUILANGNAME_H
       
    21 
       
    22 #include <e32base.h>        // CBase
       
    23 
       
    24 class TResourceReader;
       
    25 
       
    26 
       
    27 class CLangName : public CBase
       
    28     {
       
    29 public:     // constructors and destructor
       
    30     static CLangName* NewL( TResourceReader& aReader );
       
    31     ~CLangName();
       
    32     
       
    33 public:     // new functions
       
    34     TLanguage Id() const;
       
    35     TPtrC Name() const;
       
    36 
       
    37 private:    // new functions
       
    38     CLangName();
       
    39     void ConstructFromResourceL( TResourceReader& aReader );
       
    40 
       
    41 private:    // data
       
    42     TLanguage iId;
       
    43     HBufC* iName;
       
    44     };
       
    45 
       
    46 #endif // SISXUILANGNAME_H