phoneengine/phonemodel/inc/cpemessagehandler.h
changeset 21 92ab7f8d0eab
parent 1 838b0a10d15b
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    21 #define CPEMESSAGEHANDLER_H
    21 #define CPEMESSAGEHANDLER_H
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include <pevirtualengine.h>
    24 #include <pevirtualengine.h>
    25 #include "DosSvrServices.h"
    25 #include "DosSvrServices.h"
    26 #include <CPhCltCommandHandler.h>
    26 #include <cphcltcommandhandler.h>
    27 #include <cphcltdialdata.h>
    27 #include <cphcltdialdata.h>
    28 
    28 
    29 #include "mpecallhandling.h"
    29 #include "mpecallhandling.h"
       
    30 // <-- QT PHONE START -->
       
    31 #include "mpecallcontrolif.h" 
       
    32 // <-- QT PHONE END --> 
    30 
    33 
    31 // CONSTANTS
    34 // CONSTANTS
    32 const TInt KModeNormal = 0;  // Normal System mode  
    35 const TInt KModeNormal = 0;  // Normal System mode  
    33 const TInt KModeFligth = 1;  // Flight mode 
    36 const TInt KModeFligth = 1;  // Flight mode 
    34 const TInt KModePDA    = 2;  // PDA mode 
    37 const TInt KModePDA    = 2;  // PDA mode 
   102 *  Handles phone related messages from the MPEPhoneModelInternal object.
   105 *  Handles phone related messages from the MPEPhoneModelInternal object.
   103 *
   106 *
   104 *  @lib phoneenginebase.dll
   107 *  @lib phoneenginebase.dll
   105 *  @since S60_5.0
   108 *  @since S60_5.0
   106 */
   109 */
   107 NONSHARABLE_CLASS( CPEMessageHandler ) : public CBase
   110 // <-- QT PHONE START --> 
       
   111 NONSHARABLE_CLASS( CPEMessageHandler ) : public CBase, public MPECallControlIF
       
   112 // <-- QT PHONE END --> 
   108     {
   113     {
   109     public:  // Destructor
   114     public:  // Destructor
   110 
   115 
   111         /**
   116         /**
   112         * Two-phased constructor.
   117         * Two-phased constructor.
   502         * @return possible error code from the ServiceHandling subsystem
   507         * @return possible error code from the ServiceHandling subsystem
   503         */
   508         */
   504         TInt HandleServiceEnabled();
   509         TInt HandleServiceEnabled();
   505         
   510         
   506         /**
   511         /**
   507          * Handles remote party information changed   
   512          * Handles remote party information changed         
   508          * @param aCallId is the identification number of the call.               
       
   509          * @since Series60_5.2         
   513          * @since Series60_5.2         
   510          */
   514          */
   511         void HandleRemotePartyInfoChanged( const TInt aCallId );
   515         void HandleRemotePartyInfoChanged( );
   512 
   516 
   513         /**
   517         /**
   514         * Handles swap message from the phone application 
   518         * Handles swap message from the phone application 
   515         * @return possible error code from the CallHandling subsystem.
   519         * @return possible error code from the CallHandling subsystem.
   516         */
   520         */
   590  
   594  
   591         /**
   595         /**
   592         * Handle disable service
   596         * Handle disable service
   593         */     
   597         */     
   594         void HandleDisableService();
   598         void HandleDisableService();
   595    
   599 
       
   600 // <-- QT PHONE START -->   
       
   601         /**
       
   602         * Handle dial service call
       
   603         */ 
       
   604         TInt HandleDialServiceCall(
       
   605             const TBool aClientCall );
       
   606 // <-- QT PHONE END -->
       
   607         
   596     private: // New functions
   608     private: // New functions
   597         
   609         
   598         /**
   610         /**
   599         * C++ default constructor.
   611         * C++ default constructor.
   600         */
   612         */
   824         //
   836         //
   825         TBool iBtaaDisconnected;
   837         TBool iBtaaDisconnected;
   826         //Client Information, member variable because emergency call from phone client
   838         //Client Information, member variable because emergency call from phone client
   827         //is not allowed to allocate memory. 
   839         //is not allowed to allocate memory. 
   828         CPEClientInformation* iClientInformation;
   840         CPEClientInformation* iClientInformation;
   829 		// Dial Data
   841         // Dial Data
   830 		CPhCltDialData* iClientDialData;
   842         CPhCltDialData* iClientDialData;
   831         // Instances will contain the results of the parsing
   843         // Instances will contain the results of the parsing
   832         CPhoneGsmParserResult* iResult;
   844         CPhoneGsmParserResult* iResult;
   833         // Handles emergency number from the parser.
   845         // Handles emergency number from the parser.
   834         // Not owned
   846         // Not owned
   835         CPEParserEmergencyNumberHandler* iEmergencyNumberHandler;
   847         CPEParserEmergencyNumberHandler* iEmergencyNumberHandler;