phoneengine/phonemodel/inc/pevirtualengine.h
changeset 21 92ab7f8d0eab
parent 1 838b0a10d15b
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    26 #include <etelmm.h>
    26 #include <etelmm.h>
    27 #include <exterror.h>
    27 #include <exterror.h>
    28 #include <fbs.h>
    28 #include <fbs.h>
    29 #include <mccecall.h>
    29 #include <mccecall.h>
    30 #include <mmtsy_names.h>
    30 #include <mmtsy_names.h>
    31 #include <NetworkHandlingDomainPSKeys.h>
    31 #include <networkhandlingdomainpskeys.h>
    32 #include <PhCltTypes.h>
    32 #include <phclttypes.h>
    33 #include <Profile.hrh>
    33 #include <Profile.hrh>
    34 #include <rmmcustomapi.h>
    34 #include <rmmcustomapi.h>
    35 #include <RSSSettings.h>
    35 #include <rsssettings.h>
    36 #include <sysutil.h>
    36 #include <sysutil.h>
    37 
    37 
    38 
    38 
    39 // CONSTANTS
    39 // CONSTANTS
    40 
    40 
    97 const TInt KPEMessagesFromPhoneEngineVariantFirst = KPEMessagesFromPhoneEngineGsmFirst;
    97 const TInt KPEMessagesFromPhoneEngineVariantFirst = KPEMessagesFromPhoneEngineGsmFirst;
    98 
    98 
    99 // Lifetimer data in hours and minutes
    99 // Lifetimer data in hours and minutes
   100 NONSHARABLE_STRUCT( TPELifeTimeData )                      
   100 NONSHARABLE_STRUCT( TPELifeTimeData )                      
   101     {
   101     {
   102 	TUint32 iHours;                         //range 0-999999 
   102     TUint32 iHours;                         //range 0-999999 
   103 	TUint8 iMinutes;                        //range 0-59
   103     TUint8 iMinutes;                        //range 0-59
   104     };
   104     };
   105 
   105 
   106 // Used when initializing number variables with non negative value range.
   106 // Used when initializing number variables with non negative value range.
   107 const TInt KPENumberInitValue = -1; 
   107 const TInt KPENumberInitValue = -1; 
   108 //CallId not used in SendErrorMessageL
   108 //CallId not used in SendErrorMessageL
   229     EPEStateMaximumState                = 1000
   229     EPEStateMaximumState                = 1000
   230     };
   230     };
   231 
   231 
   232 NONSHARABLE_STRUCT( TPEErrorInfo )
   232 NONSHARABLE_STRUCT( TPEErrorInfo )
   233     {
   233     {
   234 	//Symbian OS error code
   234     //Symbian OS error code
   235 	TInt iErrorCode;
   235     TInt iErrorCode;
   236 	//Call Id number, equals KPECallIdNotUsed if call id is not available or is
   236     //Call Id number, equals KPECallIdNotUsed if call id is not available or is
   237 	//invalid for this error condition
   237     //invalid for this error condition
   238 	TInt iCallId;
   238     TInt iCallId;
   239 	// Error type( Cch or Ccp )
   239     // Error type( Cch or Ccp )
   240 	TPEErrorType iErrorType;
   240     TPEErrorType iErrorType;
   241     };
   241     };
   242     
   242     
   243 enum TPECallType
   243 enum TPECallType
   244     { // maintain compatibility with P&S type enum
   244     { // maintain compatibility with P&S type enum
   245     // Used to initialize call type information
   245     // Used to initialize call type information
   310 
   310 
   311 //VoiceMailBoxNumbers
   311 //VoiceMailBoxNumbers
   312 NONSHARABLE_STRUCT( TPEVoiceMailBoxNumberInfo )
   312 NONSHARABLE_STRUCT( TPEVoiceMailBoxNumberInfo )
   313     {
   313     {
   314     TPEPhoneNumber iVMBXL1; // Line 1 VoiceMailBoxNumber
   314     TPEPhoneNumber iVMBXL1; // Line 1 VoiceMailBoxNumber
   315 	TPEPhoneNumber iVMBXL2; // Line 2 VoiceMailBoxNumber
   315     TPEPhoneNumber iVMBXL2; // Line 2 VoiceMailBoxNumber
   316 	TPEPhoneNumber iDTMFVMBXL1; // Line 1 DTMFVoiceMailBoxNumber
   316     TPEPhoneNumber iDTMFVMBXL1; // Line 1 DTMFVoiceMailBoxNumber
   317 	TPEPhoneNumber iDTMFVMBXL2; // Line 2 DTMFVoiceMailBoxNumber
   317     TPEPhoneNumber iDTMFVMBXL2; // Line 2 DTMFVoiceMailBoxNumber
   318     };
   318     };
   319 
   319 
   320 
   320 
   321 // Contains information of PhoneIdentity paramteres
   321 // Contains information of PhoneIdentity paramteres
   322 NONSHARABLE_STRUCT( TPEPhoneIdentityParameters )
   322 NONSHARABLE_STRUCT( TPEPhoneIdentityParameters )
   323     {
   323     {
   324 	TPEManufacturer iManufacturer;
   324     TPEManufacturer iManufacturer;
   325 	TPEModel iModel;
   325     TPEModel iModel;
   326 	TPERevision iRevision;
   326     TPERevision iRevision;
   327 	TPESerialNumber iSerialNumber;
   327     TPESerialNumber iSerialNumber;
   328     };
   328     };
   329 
   329 
   330 // Contains information of call audio route parameters
   330 // Contains information of call audio route parameters
   331 NONSHARABLE_STRUCT( TPEPhoneAudioRouteParameters )
   331 NONSHARABLE_STRUCT( TPEPhoneAudioRouteParameters )
   332     {
   332     {
   333 	TPEAudioOutput iAudioOutput;
   333     TPEAudioOutput iAudioOutput;
   334 	TPEAudioOutput iPreviousOutput;
   334     TPEAudioOutput iPreviousOutput;
   335 	TBool iShowNote;
   335     TBool iShowNote;
   336     };
   336     };
   337 
   337 
   338 // Enumerate definitions for MMI Service Codes from MMETel API:
   338 // Enumerate definitions for MMI Service Codes from MMETel API:
   339 
   339 
   340 // FUNCTION PROTOTYPES
   340 // FUNCTION PROTOTYPES
   417 
   417 
   418         EPEMessageUnattendedTransferRequest,
   418         EPEMessageUnattendedTransferRequest,
   419 
   419 
   420         EPEMessageRemoteForwarding,
   420         EPEMessageRemoteForwarding,
   421         EPEMessageMovedPermanently,        
   421         EPEMessageMovedPermanently,        
   422         EPEMessageMultipleChoices,     
   422         EPEMessageMultipleChoices,        
   423         EPEMessageColpNumberAvailable,
       
   424 
   423 
   425         // Contact messages                   3000 - 3999
   424         // Contact messages                   3000 - 3999
   426         EPEMessageThumbnailLoadingCompleted  = 3000,
   425         EPEMessageThumbnailLoadingCompleted  = 3000,
   427 
   426 
   428         // Error messages                     4000 - 4999
   427         // Error messages                     4000 - 4999
   844         EPEMessageAcceptUnattendedTransfer,
   843         EPEMessageAcceptUnattendedTransfer,
   845         EPEMessageRejectUnattendedTransfer,
   844         EPEMessageRejectUnattendedTransfer,
   846 
   845 
   847         EPEMessageDoUnattendedTransfer,
   846         EPEMessageDoUnattendedTransfer,
   848         EPEMessageForwardCallToAddress,
   847         EPEMessageForwardCallToAddress,
   849 
   848 // <-- QT PHONE START --> 
       
   849         EPEMessageDialServiceCall,
       
   850 // <-- QT PHONE END --> 
   850         // Contact messages                   3000 - 3999
   851         // Contact messages                   3000 - 3999
   851 
   852 
   852         // Error messages                     4000 - 4999
   853         // Error messages                     4000 - 4999
   853 
   854 
   854         // Network messages                   5000 - 5999
   855         // Network messages                   5000 - 5999