cellular/telephonysettings/tsrc/public/basic/PhoneSettingsTest/inc/PhoneSettingsTestParser.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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: Declaration of CPhoneSettingsTestParser class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef PHONESETTINGSTESTPARSER_H
       
    21 #define PHONESETTINGSTESTPARSER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include    <nwdefs.h> 
       
    25 #include    <e32base.h>
       
    26 #include    <etelmm.h>
       
    27 #include    <RMmCustomAPI.h>
       
    28 #include    <RSSSettings.h> 
       
    29 #include    <MPsetCallWaiting.h>
       
    30 #include    <MPsetNetworkSelect.h>
       
    31 #include    <PsetSAObserver.h>
       
    32 #include    "PhoneSettingsTest.hrh"
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 class MPhoneSettingsTestMessageHandler; 
       
    36 
       
    37 // CLASS DECLARATION
       
    38 
       
    39 /**
       
    40 *  Class for parsing test result data to log/UI
       
    41 *
       
    42 *  @lib 
       
    43 *  @since 
       
    44 */
       
    45 class CPhoneSettingsTestParser : public CBase
       
    46     {        
       
    47     public:  // Constructors and destructor
       
    48         
       
    49         /**
       
    50         * Two-phased constructor.
       
    51         * @param aMessageHandler Reference to class 
       
    52         * implementing abstract class MPhoneSettingsTestMessageHandler 
       
    53         */
       
    54         static CPhoneSettingsTestParser* NewL(MPhoneSettingsTestMessageHandler& aMessageHandler);
       
    55         
       
    56         /**
       
    57         * Destructor.
       
    58         */
       
    59         virtual ~CPhoneSettingsTestParser();
       
    60 
       
    61     public: // New functions
       
    62         
       
    63         /**
       
    64         * Parser function for data type TServiceGroup
       
    65         *
       
    66         */ 
       
    67 		void ParseTServiceGroup(TServiceGroup& aServiceGroup);
       
    68 
       
    69         /**
       
    70         * Parser function for data type TBarringProgram
       
    71         *
       
    72         */ 
       
    73 		void ParseTBarringProgram(TBarringProgram& aBarringProgram);
       
    74 
       
    75         /**
       
    76         * Parser function for data type TBasicServiceGroups
       
    77         *
       
    78         */ 
       
    79 		void ParseTBasicServiceGroups(TBasicServiceGroups& aBasicServiceGroups);
       
    80 
       
    81         /**
       
    82         * Parser function for data type TMobilePhonePasswordChangeV2
       
    83         *
       
    84         */ 
       
    85 		void ParseTMobilePhonePasswordChangeV2( 
       
    86 		    RMobilePhone::TMobilePhonePasswordChangeV2& aTMobilePhonePasswordChangeV2);
       
    87 
       
    88         /**
       
    89         * Parser function for data type TSSSettingsSetting
       
    90         *
       
    91         */ 
       
    92 		void ParseTSSSettingsSetting(TSSSettingsSetting& aSsSetting);
       
    93 				
       
    94         /**
       
    95         * Parser function for data type TCallDivertSetting
       
    96         *
       
    97         */ 
       
    98         void ParseTCallDivertSetting(TCallDivertSetting& aDivertSetting);		
       
    99 		
       
   100         /**
       
   101         * Parser function for data type TCallDivertingCondition
       
   102         *
       
   103         */ 
       
   104         void ParseTCallDivertingCondition(TCallDivertingCondition& aDivertingCondition);
       
   105     
       
   106         /**
       
   107         * Parser function for data type TDivertingSetting
       
   108         *
       
   109         */ 
       
   110         void ParseTDivertingSetting(TDivertingSetting& aDivertingSetting); 
       
   111 
       
   112         /**
       
   113         * Parser function for data type TDivertingStatus
       
   114         *
       
   115         */ 
       
   116         void ParseTDivertingStatus(TDivertingStatus& aDivertingStatus); 
       
   117     
       
   118         /**
       
   119         * Parser function for data type TSetCallWaiting
       
   120         *
       
   121         */ 
       
   122         void ParseTSetCallWaiting(MPsetCallWaiting::TSetCallWaiting& aSetCallWaiting); 
       
   123     
       
   124         /**
       
   125         * Parser function for data type TCurrentNetworkInfo
       
   126         *
       
   127         */ 
       
   128         void ParseTCurrentNetworkInfo(
       
   129             MPsetNetworkSelect::TCurrentNetworkInfo& aCurrentNetworkInfo); 
       
   130     
       
   131         /**
       
   132         * Parser function for data type TSelectMode
       
   133         *
       
   134         */ 
       
   135         void ParseTSelectMode(MPsetNetworkSelect::TSelectMode& aSelectMode); 
       
   136 
       
   137         /**
       
   138         * Parser function for data type TNetworkId
       
   139         *
       
   140         */ 
       
   141         void ParseTNetworkId(MPsetNetworkSelect::TNetworkId& aNetworkId);  
       
   142 
       
   143         /**
       
   144         * Parser function for data type TNetworkStatus
       
   145         *
       
   146         */ 
       
   147         void ParseTNetworkStatus(MPsetNetworkSelect::TNetworkStatus& aNetworkStatus); 
       
   148 
       
   149         /**
       
   150         * Parser function for data type TNetworkAccess
       
   151         *
       
   152         */ 
       
   153         void ParseTNetworkAccess(MPsetNetworkSelect::TNetworkAccess& aNetworkAccess);   
       
   154     
       
   155         /**
       
   156         * Parser function for data type TNetworkInfo
       
   157         *
       
   158         */ 
       
   159         void ParseTNetworkInfo(MPsetNetworkSelect::TNetworkInfo& aNetworkInfo); 
       
   160 
       
   161         /**
       
   162         * Parser function for data type TNetworkModeCaps
       
   163         *
       
   164         */ 
       
   165         void ParseTNetworkModeCaps(RMmCustomAPI::TNetworkModeCaps& aNetworkModeCaps); 
       
   166 
       
   167         /**
       
   168         * Parser function for data type TUnconditionalCFStatus
       
   169         *
       
   170         */ 
       
   171         void ParseTUnconditionalCFStatus(TUnconditionalCFStatus& aUnconditionalCFStatus); 
       
   172 
       
   173         /**
       
   174         * Parser function for data type TSelectedLine
       
   175         *
       
   176         */ 
       
   177         void ParseTSelectedLine(TSelectedLine& aSelectedLine); 
       
   178 
       
   179         /**
       
   180         * Parser function for data type TCallDivertNotifySetting
       
   181         *
       
   182         */ 
       
   183         void ParseTCallDivertNotifySetting(TCallDivertNotifySetting& aCallDivertNotifySetting);
       
   184 
       
   185         /**
       
   186         * Parser function for data type TBool
       
   187         *
       
   188         */ 		
       
   189 		void ParseTBool(TBool aBool);		
       
   190 		
       
   191     private: // Functions 
       
   192 
       
   193         /**
       
   194         * C++ default constructor.
       
   195         * @param aMessageHandler Reference to class 
       
   196         * implementing abstract class MPhoneSettingsTestMessageHandler 
       
   197         */
       
   198         CPhoneSettingsTestParser(MPhoneSettingsTestMessageHandler& aMessageHandler);
       
   199 
       
   200         /**
       
   201         * By default Symbian 2nd phase constructor is private.
       
   202         */
       
   203         void ConstructL();
       
   204 
       
   205     private:    // Data
       
   206 
       
   207         // Reference to message handler
       
   208 		MPhoneSettingsTestMessageHandler& iMessageHandler;  
       
   209     };
       
   210 
       
   211 #endif      // PHONESETTINGSTESTPARSER_H
       
   212             
       
   213 // End of File