phoneengine/phonemodel/inc/cpephonemodel.h
branchRCL_3
changeset 24 41a7f70b3818
parent 0 5f000ab63145
child 25 5266b1f337bd
equal deleted inserted replaced
23:40a3f856b14d 24:41a7f70b3818
    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;
       
    41 class MEngineMonitor;
    40 class MEngineMonitor;
    42 class MPEContactHandling;
    41 class MPEContactHandling;
    43 class MPECallHandling;
    42 class MPECallHandling;
    44 class MPELogHandling;
    43 class MPELogHandling;
    45 class MCCEDtmfInterface;
    44 class MCCEDtmfInterface;
    46 class CPEAudioFactory;
    45 class CPEAudioFactory;
    47 class MPEServiceHandling;
    46 class MPEServiceHandling;
    48 class CPERemotePartyInfoMediator;
    47 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
    79             };
    81             };
    80 
    82 
    81         /**
    83         /**
    82         * Two-phased constructor.
    84         * Two-phased constructor.
    83         * 
    85         * 
   267          * @return info indicating wheather message sending needs to be delayed.         
   269          * @return info indicating wheather message sending needs to be delayed.         
   268          */
   270          */
   269         TBool DelayMessageSending( const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage, 
   271         TBool DelayMessageSending( const MEngineMonitor::TPEMessagesFromPhoneEngine aMessage, 
   270                                    const TInt aCallId ); 
   272                                    const TInt aCallId ); 
   271         
   273         
       
   274        /**
       
   275          * Gets call error from callinfo
       
   276          */ 
       
   277         void SetCallError( TInt aCallId );
       
   278 
   272 
   279 
   273     private:    //Data
   280     private:    //Data
   274 
   281 
   275         // Starts Phone Engine's modules asynchronically.
   282         // Starts Phone Engine's modules asynchronically.
   276         CPEActiveStarter* iActiveStarter;
   283         CPEActiveStarter* iActiveStarter;
   295         CPEExternalDataHandler* iExternalDataHandler;
   302         CPEExternalDataHandler* iExternalDataHandler;
   296         // SIM changed monitor
   303         // SIM changed monitor
   297         CPESimStateMonitor* iSimChangedMonitor;
   304         CPESimStateMonitor* iSimChangedMonitor;
   298         // SIM state monitor
   305         // SIM state monitor
   299         CPESimStateMonitor* iSimStatusMonitor;
   306         CPESimStateMonitor* iSimStatusMonitor;
   300         // Idle status monitor
       
   301         CPEIdleStatusMonitor* iIdleStatusMonitor;
       
   302         // DosServer connect error code.
   307         // DosServer connect error code.
   303         TInt iErrorCode;
   308         TInt iErrorCode;
   304         // Stepper counter
   309         // Stepper counter
   305         TInt iStep;
   310         TInt iStep;
   306         // CCE interface
   311         // CCE interface
   319         // Call Id for callback
   324         // Call Id for callback
   320         TInt iCallBackCallId ;
   325         TInt iCallBackCallId ;
   321         
   326         
   322         // Mediator command handler
   327         // Mediator command handler
   323         CPERemotePartyInfoMediator* iMediatorCommunicationHandler;
   328         CPERemotePartyInfoMediator* iMediatorCommunicationHandler;
   324 
   329         
       
   330         // Phone Services offered via Qt Highway
       
   331         PhoneServices* iPhoneServices;
       
   332         
       
   333         // Mobile call info.
       
   334         RMobileCall::TMobileCallInfoV3* iCallInfo;
   325     };
   335     };
   326 
   336 
   327 #endif // CPEPHONEMODEL_H  
   337 #endif // CPEPHONEMODEL_H  
   328             
   338             
   329 // End of File
   339 // End of File