phoneengine/phonemodel/inc/cpephonemodel.h
branchRCL_3
changeset 62 5266b1f337bd
parent 61 41a7f70b3818
child 69 8baf28733c3d
equal deleted inserted replaced
61:41a7f70b3818 62:5266b1f337bd
    35 class CPEEngineInfo;
    35 class CPEEngineInfo;
    36 class CPEGsmAudioData;
    36 class CPEGsmAudioData;
    37 class CPEExternalDataHandler;
    37 class CPEExternalDataHandler;
    38 class CPEMessageHandler;
    38 class CPEMessageHandler;
    39 class CPESimStateMonitor;
    39 class CPESimStateMonitor;
       
    40 class CPEIdleStatusMonitor;
    40 class MEngineMonitor;
    41 class MEngineMonitor;
    41 class MPEContactHandling;
    42 class MPEContactHandling;
    42 class MPECallHandling;
    43 class MPECallHandling;
    43 class MPELogHandling;
    44 class MPELogHandling;
    44 class MCCEDtmfInterface;
    45 class MCCEDtmfInterface;
    45 class CPEAudioFactory;
    46 class CPEAudioFactory;
    46 class MPEServiceHandling;
    47 class MPEServiceHandling;
    47 class CPERemotePartyInfoMediator;
    48 class CPERemotePartyInfoMediator;
    48 class PhoneServices;
       
    49 
    49 
    50 // CLASS DECLARATION
    50 // CLASS DECLARATION
    51 
    51 
    52 // DESCRIPTION
    52 // DESCRIPTION
    53 // Handles phone related events from the phone application.
    53 // Handles phone related events from the phone application.
    73             EPEMessageHandler,
    73             EPEMessageHandler,
    74             EPESimChangedMonitor,
    74             EPESimChangedMonitor,
    75             EPESimStatusMonitorStart,
    75             EPESimStatusMonitorStart,
    76             EPELogHandlingPhaseTwo,
    76             EPELogHandlingPhaseTwo,
    77             EPEContactHandlingPhaseTwo,
    77             EPEContactHandlingPhaseTwo,
    78             EPEMediatorCommandHandler,
    78             EPEMediatorCommandHandler
    79             EPEPhoneServices,
       
    80             EPENetworkHandling
       
    81             };
    79             };
    82 
    80 
    83         /**
    81         /**
    84         * Two-phased constructor.
    82         * Two-phased constructor.
    85         * 
    83         * 
   269          * @return info indicating wheather message sending needs to be delayed.         
   267          * @return info indicating wheather message sending needs to be delayed.         
   270          */
   268          */
   271         TBool DelayMessageSending( const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage, 
   269         TBool DelayMessageSending( const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage, 
   272                                    const TInt aCallId ); 
   270                                    const TInt aCallId ); 
   273         
   271         
   274        /**
       
   275          * Gets call error from callinfo
       
   276          */ 
       
   277         void SetCallError( TInt aCallId );
       
   278 
       
   279 
   272 
   280     private:    //Data
   273     private:    //Data
   281 
   274 
   282         // Starts Phone Engine's modules asynchronically.
   275         // Starts Phone Engine's modules asynchronically.
   283         CPEActiveStarter* iActiveStarter;
   276         CPEActiveStarter* iActiveStarter;
   302         CPEExternalDataHandler* iExternalDataHandler;
   295         CPEExternalDataHandler* iExternalDataHandler;
   303         // SIM changed monitor
   296         // SIM changed monitor
   304         CPESimStateMonitor* iSimChangedMonitor;
   297         CPESimStateMonitor* iSimChangedMonitor;
   305         // SIM state monitor
   298         // SIM state monitor
   306         CPESimStateMonitor* iSimStatusMonitor;
   299         CPESimStateMonitor* iSimStatusMonitor;
       
   300         // Idle status monitor
       
   301         CPEIdleStatusMonitor* iIdleStatusMonitor;
   307         // DosServer connect error code.
   302         // DosServer connect error code.
   308         TInt iErrorCode;
   303         TInt iErrorCode;
   309         // Stepper counter
   304         // Stepper counter
   310         TInt iStep;
   305         TInt iStep;
   311         // CCE interface
   306         // CCE interface
   324         // Call Id for callback
   319         // Call Id for callback
   325         TInt iCallBackCallId ;
   320         TInt iCallBackCallId ;
   326         
   321         
   327         // Mediator command handler
   322         // Mediator command handler
   328         CPERemotePartyInfoMediator* iMediatorCommunicationHandler;
   323         CPERemotePartyInfoMediator* iMediatorCommunicationHandler;
   329         
   324 
   330         // Phone Services offered via Qt Highway
       
   331         PhoneServices* iPhoneServices;
       
   332         
       
   333         // Mobile call info.
       
   334         RMobileCall::TMobileCallInfoV3* iCallInfo;
       
   335     };
   325     };
   336 
   326 
   337 #endif // CPEPHONEMODEL_H  
   327 #endif // CPEPHONEMODEL_H  
   338             
   328             
   339 // End of File
   329 // End of File