phone_plat/phone_application_commands_api/inc/phoneappcommands.hrh
branchRCL_3
changeset 57 94dc1107e8b2
parent 14 24062c24fe38
child 61 41a7f70b3818
equal deleted inserted replaced
44:3c221667e687 57:94dc1107e8b2
     1 /*
     1 /*
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description:
    15 *     This file contains declarations for commands of PhoneAppS60.
    15 *     This file contains declarations for commands of PhoneAppS60.
    16 *     The file can be included in C++ or resource file.
    16 *     The file can be included in C++ or resource file.
    17 *     
    17 *
    18 *
    18 *
    19 */
    19 */
    20 
    20 
    21 
    21 
    22 #ifndef PHONEAPPCOMMANDS_HRH
    22 #ifndef PHONEAPPCOMMANDS_HRH
    26 #include    <bldvariant.hrh>
    26 #include    <bldvariant.hrh>
    27 
    27 
    28 //  CONSTANTS
    28 //  CONSTANTS
    29 
    29 
    30 #define KPhoneCmdBase 6000
    30 #define KPhoneCmdBase 6000
    31 enum 
    31 enum
    32     {
    32     {
    33     // commands for all
    33     // commands for all
    34     EPhoneCmdDoNothing = KPhoneCmdBase,
    34     EPhoneCmdDoNothing = KPhoneCmdBase,
    35     EPhoneCmdCancel,
    35     EPhoneCmdCancel,
    36     EPhoneCmdOptions,
    36     EPhoneCmdOptions,
   130     EPhoneInCallCmdDtmfListQuery,
   130     EPhoneInCallCmdDtmfListQuery,
   131     EPhoneInCallCmdDtmfManualQuery,
   131     EPhoneInCallCmdDtmfManualQuery,
   132     EPhoneInCallCmdCancelSendingDtmfString,
   132     EPhoneInCallCmdCancelSendingDtmfString,
   133     EPhoneInCallCmdContinueSendingDtmfString,
   133     EPhoneInCallCmdContinueSendingDtmfString,
   134     EPhoneInCallCmdVoiceMode,
   134     EPhoneInCallCmdVoiceMode,
   135     EPhoneInCallCmdSendToCallerMenu,    
   135     EPhoneInCallCmdSendToCallerMenu,
   136     EPhoneInCallCmdSendNew,
   136     EPhoneInCallCmdSendNew,
   137     EPhoneInCallCmdSendFile,
   137     EPhoneInCallCmdSendFile,
   138     EPhoneInCallCmdProcessSend, // NOT IN MENU!
   138     EPhoneInCallCmdProcessSend, // NOT IN MENU!
   139     EPhoneInCallCmdDrop,
   139     EPhoneInCallCmdDrop,
   140     EPhoneInCallCmdPrivate,
   140     EPhoneInCallCmdPrivate,
   141     EPhoneInCallCmdCbaJoin,	// NOT IN MENU!
   141     EPhoneInCallCmdCbaJoin,    // NOT IN MENU!
   142     EPhoneInCallCmdDialer,
   142     EPhoneInCallCmdDialer,
   143 
   143 
   144     // Enable video
   144     // Enable video
   145     EPhoneInCallCmdEnableVideo,
   145     EPhoneInCallCmdEnableVideo,
   146     // Disable video
   146     // Disable video
   158     EPhoneInCallCmdConferenceUnhold, // JMK
   158     EPhoneInCallCmdConferenceUnhold, // JMK
   159     EPhoneInCallCmdNewCallFind,
   159     EPhoneInCallCmdNewCallFind,
   160     EPhoneInCallCmdNewCallCall,
   160     EPhoneInCallCmdNewCallCall,
   161     EPhoneInCallCmdGoToIdle,
   161     EPhoneInCallCmdGoToIdle,
   162     EPhoneInCallCmdParticipants,
   162     EPhoneInCallCmdParticipants,
   163     
   163 
   164     // CDMA specific
   164     // CDMA specific
   165     EPhoneInCallCmdMulticall3WayCall,
   165     EPhoneInCallCmdMulticall3WayCall,
   166     EPhoneInCallCmdMulticallIgnore,
   166     EPhoneInCallCmdMulticallIgnore,
   167     EPhoneInCallCmdFlash,
   167     EPhoneInCallCmdFlash,
   168     EPhoneInCallCmdHelp,
   168     EPhoneInCallCmdHelp,
   179     EPhoneCmdSettingsUiBack,
   179     EPhoneCmdSettingsUiBack,
   180     EPhoneCmdSettingsUiOpen,
   180     EPhoneCmdSettingsUiOpen,
   181     EPhoneCmdSettingsUiExit,
   181     EPhoneCmdSettingsUiExit,
   182     // Settings GUI - Data Parameters GUI (commands specific to DataParameters)
   182     // Settings GUI - Data Parameters GUI (commands specific to DataParameters)
   183     EPhoneCmdDataParametersRestoreSettings,
   183     EPhoneCmdDataParametersRestoreSettings,
   184     EPhoneCmdRelease,	
   184     EPhoneCmdRelease,
   185     // DTMF specific
   185     // DTMF specific
   186     EPhoneCmdDtmfSearch,
   186     EPhoneCmdDtmfSearch,
   187     EPhoneCmdDtmfOk,
   187     EPhoneCmdDtmfOk,
   188     EPhoneCmdDtmfSpeedDialOk,
   188     EPhoneCmdDtmfSpeedDialOk,
   189     EPhoneInCallCmdDtmfListViewSearch,    
   189     EPhoneInCallCmdDtmfListViewSearch,
   190     // other commands
   190     // other commands
   191     EPhoneCmdWaitNoteOk,
   191     EPhoneCmdWaitNoteOk,
   192     EPhoneCmdVideoCallMemoryLowNoteDismissed,
   192     EPhoneCmdVideoCallMemoryLowNoteDismissed,
   193     EPhoneCmdSecurityInd, // NOT to leave
   193     EPhoneCmdSecurityInd, // NOT to leave
   194     EPhoneInCallCmdSwitchToVideo,
   194     EPhoneInCallCmdSwitchToVideo,
   195     EPhoneInCallCmdSwitchToVoice,
   195     EPhoneInCallCmdSwitchToVoice,
   196     EPhoneCmdYesSwitchToVideo,
   196     EPhoneCmdYesSwitchToVideo,
   197     EPhoneCmdNoSwitchToVideo,
   197     EPhoneCmdNoSwitchToVideo,
   198     EPhoneCmdYesSwitchToVoice,
   198     EPhoneCmdYesSwitchToVoice,
   199     EPhoneCmdNoSwitchToVoice,    
   199     EPhoneCmdNoSwitchToVoice,
   200     EPhoneMediatorSetPhoneNumber,
   200     EPhoneMediatorSetPhoneNumber,
   201     EPhoneCmdCoverUiShowMultimediaRingingTone,
   201     EPhoneCmdCoverUiShowMultimediaRingingTone,
   202     EPhoneInCallCmdLockKeypad,
   202     EPhoneInCallCmdLockKeypad,
   203     EPhoneInCallCmdLockScreen,
   203     EPhoneInCallCmdLockScreen,
   204     EPhoneCmdYesVideoFailedNoMemorySwitchToVoice,
   204     EPhoneCmdYesVideoFailedNoMemorySwitchToVoice,
   205     EPhoneCmdNoVideoFailedNoMemorySwitchToVoice,
   205     EPhoneCmdNoVideoFailedNoMemorySwitchToVoice,
   206     EPhoneInCallCmdSetVolumeLevel,
   206     EPhoneInCallCmdSetVolumeLevel,
   207     
   207 
   208     //Dialer commands
   208     //Dialer commands
   209     EPhoneDialerCmdLog,
   209     EPhoneDialerCmdLog,
   210     EPhoneDialerCmdContacts,
   210     EPhoneDialerCmdContacts,
   211     EPhoneDialerCmdClear,  
   211     EPhoneDialerCmdClear,
   212     EPhoneDialerCallHandling,
   212     EPhoneDialerCallHandling,
   213     EPhoneDialerCmdTouchInput,
   213     EPhoneDialerCmdTouchInput,
   214     EPhoneDialerCmdSpeedDial,
   214     EPhoneDialerCmdSpeedDial,
   215     EPhoneDialerCmdEditText,
   215     EPhoneDialerCmdEditText,
   216     EPhoneDialerCallSettings,	
   216     EPhoneDialerCallSettings,
   217     EPhoneDtmfDialerCancel,	
   217     EPhoneDtmfDialerCancel,
   218     EPhoneDtmfDialerExit,
   218     EPhoneDtmfDialerExit,
   219     EPhoneIsDTMFDialerVisible,
   219     EPhoneIsDTMFDialerVisible,
   220     EPhoneDialerCmdHelp,
   220     EPhoneDialerCmdHelp,
   221     EPhoneDialerCmdHelpDtmf,
   221     EPhoneDialerCmdHelpDtmf,
   222     EPhoneIsCustomizedDialerVisible,
   222     EPhoneIsCustomizedDialerVisible,
   230     EPhoneDialerInvalidNumber,
   230     EPhoneDialerInvalidNumber,
   231     EPhoneCmdUpdateCba,
   231     EPhoneCmdUpdateCba,
   232     EPhoneCmdBlockingDialogLaunched,
   232     EPhoneCmdBlockingDialogLaunched,
   233     EPhoneCmdBlockingDialogClosed,
   233     EPhoneCmdBlockingDialogClosed,
   234 
   234 
       
   235     // Update cba in case of emergency call
       
   236     EPhoneCmdUpdateEmergencyCba,
       
   237 
   235     EPhoneCmdLast
   238     EPhoneCmdLast
   236     };
   239     };
   237     
   240 
   238     
   241 
   239 // Command range for custom menu commands.
   242 // Command range for custom menu commands.
   240 // Custom commands can be used for menu extensions.
   243 // Custom commands can be used for menu extensions.
   241 #define KPhoneCustomCmdBase 8000
   244 #define KPhoneCustomCmdBase 8000
   242 #define KPhoneCustomCmdLast 8500
   245 #define KPhoneCustomCmdLast 8500
   243 
   246