adaptationlayer/tsy/nokiatsy_dll/inc/cmmphonebookalphastring.h
changeset 0 63b37f68c1ce
equal deleted inserted replaced
-1:000000000000 0:63b37f68c1ce
       
     1 /*
       
     2 * Copyright (c) 2009 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 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 _CMMPHONEBOOKALPHASTRING_H
       
    20 #define _CMMPHONEBOOKALPHASTRING_H
       
    21 
       
    22 #ifdef INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32base.h>
       
    26 
       
    27 // CONSTANTS
       
    28     // None
       
    29 
       
    30 // MACROS
       
    31     // None
       
    32 
       
    33 // DATA TYPES
       
    34     // None
       
    35 
       
    36 // EXTERNAL DATA STRUCTURES
       
    37     // None
       
    38 
       
    39 // FUNCTION PROTOTYPES
       
    40     // None
       
    41 
       
    42 // FORWARD DECLARATION
       
    43     // None
       
    44 
       
    45 // CLASS DECLARATION
       
    46 
       
    47 /**
       
    48 * cmmmPhonebookAlphaString class is used to handle SIMphonebook-specific data
       
    49 * for AAS and GAS.
       
    50 */
       
    51 class CMmPhonebookAlphaString : public CBase
       
    52     {
       
    53     public:
       
    54 
       
    55         /**
       
    56         * Destructor.
       
    57         */
       
    58         virtual ~CMmPhonebookAlphaString()
       
    59             {
       
    60             };
       
    61 
       
    62         /**
       
    63         * C++ default constructor.
       
    64         */
       
    65         inline CMmPhonebookAlphaString()
       
    66             {
       
    67             iLocation = 0;
       
    68             iAasString.Zero();
       
    69             iGasString.Zero();
       
    70             iType = RMmCustomAPI::EAas;
       
    71             };
       
    72 
       
    73     public: // PB SIM Store related data
       
    74 
       
    75         // Keeps track of alphastring location
       
    76         TUint16 iLocation;
       
    77 
       
    78         // Buffer of Additional Alpha String
       
    79         TBuf<40> iAasString;
       
    80 
       
    81         // Buffer of Group Alpha String
       
    82         TBuf<40> iGasString;
       
    83 
       
    84         // Separate AAS and GAS
       
    85         RMmCustomAPI::TFileType iType;
       
    86 
       
    87     };
       
    88 #endif // INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS
       
    89 
       
    90 #endif // _CMMPHONEBOOKALPHASTRING_H
       
    91 
       
    92 // End of File