phone_plat/phone_application_commands_api/inc/phoneappcommands.hrh
branchRCL_3
changeset 61 41a7f70b3818
parent 57 94dc1107e8b2
child 62 5266b1f337bd
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
     1 /*
     1 /*
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2008 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,
    71     EPhoneNumberAcqCmdPbkOperation,
    71     EPhoneNumberAcqCmdPbkOperation,
    72     EPhoneNumberAcqCmdSave,
    72     EPhoneNumberAcqCmdSave,
    73     EPhoneNumberAcqCmdAddToName,
    73     EPhoneNumberAcqCmdAddToName,
    74     EPhoneNumberAcqCmdCall,
    74     EPhoneNumberAcqCmdCall,
    75     EPhoneNumberAcqCmdVideoCall,
    75     EPhoneNumberAcqCmdVideoCall,
    76     EPhoneNumberAcqCmdSpeedDial,
       
    77     EPhoneNumberAcqCmdSendCommand,
    76     EPhoneNumberAcqCmdSendCommand,
    78     EPhoneNumberAcqCmdSendMessage,
    77     EPhoneNumberAcqCmdSendMessage,
    79     EPhoneNumberAcqCmdHashCheck,  // NOT IN MENU.
    78     EPhoneNumberAcqCmdHashCheck,  // NOT IN MENU.
    80     EPhoneNumberAcqSecurityDialer, // NOT IN MENU.
    79     EPhoneNumberAcqSecurityDialer, // NOT IN MENU.
    81 
    80 
   130     EPhoneInCallCmdDtmfListQuery,
   129     EPhoneInCallCmdDtmfListQuery,
   131     EPhoneInCallCmdDtmfManualQuery,
   130     EPhoneInCallCmdDtmfManualQuery,
   132     EPhoneInCallCmdCancelSendingDtmfString,
   131     EPhoneInCallCmdCancelSendingDtmfString,
   133     EPhoneInCallCmdContinueSendingDtmfString,
   132     EPhoneInCallCmdContinueSendingDtmfString,
   134     EPhoneInCallCmdVoiceMode,
   133     EPhoneInCallCmdVoiceMode,
   135     EPhoneInCallCmdSendToCallerMenu,
   134     EPhoneInCallCmdSendToCallerMenu,    
   136     EPhoneInCallCmdSendNew,
   135     EPhoneInCallCmdSendNew,
   137     EPhoneInCallCmdSendFile,
   136     EPhoneInCallCmdSendFile,
   138     EPhoneInCallCmdProcessSend, // NOT IN MENU!
   137     EPhoneInCallCmdProcessSend, // NOT IN MENU!
   139     EPhoneInCallCmdDrop,
   138     EPhoneInCallCmdDrop,
   140     EPhoneInCallCmdPrivate,
   139     EPhoneInCallCmdPrivate,
   141     EPhoneInCallCmdCbaJoin,    // NOT IN MENU!
   140     EPhoneInCallCmdCbaJoin, // NOT IN MENU!
   142     EPhoneInCallCmdDialer,
   141     EPhoneInCallCmdDialer,
       
   142     EPhoneInCallCmdContacts,
   143 
   143 
   144     // Enable video
   144     // Enable video
   145     EPhoneInCallCmdEnableVideo,
   145     EPhoneInCallCmdEnableVideo,
   146     // Disable video
   146     // Disable video
   147     EPhoneInCallCmdDisableVideo,
   147     EPhoneInCallCmdDisableVideo,
   149     EPhoneInCallCmdPrimaryCamera,
   149     EPhoneInCallCmdPrimaryCamera,
   150     // Use secondary camera
   150     // Use secondary camera
   151     EPhoneInCallCmdSecondaryCamera,
   151     EPhoneInCallCmdSecondaryCamera,
   152     EPhoneInCallCmdActivatEPhonebook, // NOT IN MENU!
   152     EPhoneInCallCmdActivatEPhonebook, // NOT IN MENU!
   153 
   153 
   154     // Video sharing
       
   155     EPhoneInCallCmdShareLiveVideo,
       
   156 
       
   157     EPhoneInCallCmdConferenceHold, // JMK
   154     EPhoneInCallCmdConferenceHold, // JMK
   158     EPhoneInCallCmdConferenceUnhold, // JMK
   155     EPhoneInCallCmdConferenceUnhold, // JMK
   159     EPhoneInCallCmdNewCallFind,
   156     EPhoneInCallCmdNewCallFind,
   160     EPhoneInCallCmdNewCallCall,
   157     EPhoneInCallCmdNewCallCall,
   161     EPhoneInCallCmdGoToIdle,
   158     EPhoneInCallCmdGoToIdle,
   162     EPhoneInCallCmdParticipants,
   159     EPhoneInCallCmdParticipants,
   163 
   160     
   164     // CDMA specific
   161     // CDMA specific
   165     EPhoneInCallCmdMulticall3WayCall,
   162     EPhoneInCallCmdMulticall3WayCall,
   166     EPhoneInCallCmdMulticallIgnore,
   163     EPhoneInCallCmdMulticallIgnore,
   167     EPhoneInCallCmdFlash,
   164     EPhoneInCallCmdFlash,
   168     EPhoneInCallCmdHelp,
   165     EPhoneInCallCmdHelp,
   179     EPhoneCmdSettingsUiBack,
   176     EPhoneCmdSettingsUiBack,
   180     EPhoneCmdSettingsUiOpen,
   177     EPhoneCmdSettingsUiOpen,
   181     EPhoneCmdSettingsUiExit,
   178     EPhoneCmdSettingsUiExit,
   182     // Settings GUI - Data Parameters GUI (commands specific to DataParameters)
   179     // Settings GUI - Data Parameters GUI (commands specific to DataParameters)
   183     EPhoneCmdDataParametersRestoreSettings,
   180     EPhoneCmdDataParametersRestoreSettings,
   184     EPhoneCmdRelease,
   181     EPhoneCmdRelease,   
   185     // DTMF specific
   182     // DTMF specific
   186     EPhoneCmdDtmfSearch,
   183     EPhoneCmdDtmfSearch,
   187     EPhoneCmdDtmfOk,
   184     EPhoneCmdDtmfOk,
   188     EPhoneCmdDtmfSpeedDialOk,
   185     EPhoneInCallCmdDtmfListViewSearch,    
   189     EPhoneInCallCmdDtmfListViewSearch,
       
   190     // other commands
   186     // other commands
   191     EPhoneCmdWaitNoteOk,
   187     EPhoneCmdWaitNoteOk,
   192     EPhoneCmdVideoCallMemoryLowNoteDismissed,
   188     EPhoneCmdVideoCallMemoryLowNoteDismissed,
   193     EPhoneCmdSecurityInd, // NOT to leave
   189     EPhoneCmdSecurityInd, // NOT to leave
   194     EPhoneInCallCmdSwitchToVideo,
   190     EPhoneInCallCmdSwitchToVideo,
   195     EPhoneInCallCmdSwitchToVoice,
   191     EPhoneInCallCmdSwitchToVoice,
   196     EPhoneCmdYesSwitchToVideo,
   192     EPhoneCmdYesSwitchToVideo,
   197     EPhoneCmdNoSwitchToVideo,
   193     EPhoneCmdNoSwitchToVideo,
   198     EPhoneCmdYesSwitchToVoice,
   194     EPhoneCmdYesSwitchToVoice,
   199     EPhoneCmdNoSwitchToVoice,
   195     EPhoneCmdNoSwitchToVoice,    
   200     EPhoneMediatorSetPhoneNumber,
   196     EPhoneMediatorSetPhoneNumber,
   201     EPhoneCmdCoverUiShowMultimediaRingingTone,
   197     EPhoneCmdCoverUiShowMultimediaRingingTone,
   202     EPhoneInCallCmdLockKeypad,
   198     EPhoneInCallCmdLockKeypad,
   203     EPhoneInCallCmdLockScreen,
   199     EPhoneInCallCmdLockScreen,
   204     EPhoneCmdYesVideoFailedNoMemorySwitchToVoice,
   200     EPhoneCmdYesVideoFailedNoMemorySwitchToVoice,
   205     EPhoneCmdNoVideoFailedNoMemorySwitchToVoice,
   201     EPhoneCmdNoVideoFailedNoMemorySwitchToVoice,
   206     EPhoneInCallCmdSetVolumeLevel,
   202     EPhoneInCallCmdSetVolumeLevel,
   207 
   203     
   208     //Dialer commands
   204     //Dialer commands
   209     EPhoneDialerCmdLog,
   205     EPhoneDialerCmdLog,
   210     EPhoneDialerCmdContacts,
   206     EPhoneDialerCmdContacts,
   211     EPhoneDialerCmdClear,
   207     EPhoneDialerCmdClear,  
   212     EPhoneDialerCallHandling,
   208     EPhoneDialerCallHandling,
   213     EPhoneDialerCmdTouchInput,
   209     EPhoneDialerCmdTouchInput,
   214     EPhoneDialerCmdSpeedDial,
       
   215     EPhoneDialerCmdEditText,
   210     EPhoneDialerCmdEditText,
   216     EPhoneDialerCallSettings,
   211     EPhoneDialerCallSettings,   
   217     EPhoneDtmfDialerCancel,
   212     EPhoneDtmfDialerCancel, 
   218     EPhoneDtmfDialerExit,
   213     EPhoneDtmfDialerExit,
   219     EPhoneIsDTMFDialerVisible,
   214     EPhoneIsDTMFDialerVisible,
   220     EPhoneDialerCmdHelp,
   215     EPhoneDialerCmdHelp,
   221     EPhoneDialerCmdHelpDtmf,
   216     EPhoneDialerCmdHelpDtmf,
   222     EPhoneIsCustomizedDialerVisible,
   217     EPhoneIsCustomizedDialerVisible,
   223 
   218 
   224     EPhoneCmdVideoCallOutOfMemory,
   219     EPhoneCmdVideoCallOutOfMemory,
   225 
   220 
   226     // dialer and easy dialing releated commands
   221 // <-- QT PHONE START -->
   227     EEasyDialingSettingsItemPlaceHolder,
   222     EPhoneCmdUpdateUiControls,
   228     EEasyDialingCmdSelect,
   223 // <-- QT PHONE END -->
   229     EPhoneDialerValidNumber,
   224    
   230     EPhoneDialerInvalidNumber,
       
   231     EPhoneCmdUpdateCba,
       
   232     EPhoneCmdBlockingDialogLaunched,
       
   233     EPhoneCmdBlockingDialogClosed,
       
   234 
       
   235     // Update cba in case of emergency call
       
   236     EPhoneCmdUpdateEmergencyCba,
       
   237 
       
   238     EPhoneCmdLast
   225     EPhoneCmdLast
   239     };
   226     };
   240 
   227     
   241 
   228     
   242 // Command range for custom menu commands.
   229 // Command range for custom menu commands.
   243 // Custom commands can be used for menu extensions.
   230 // Custom commands can be used for menu extensions.
   244 #define KPhoneCustomCmdBase 8000
   231 #define KPhoneCustomCmdBase 8000
   245 #define KPhoneCustomCmdLast 8500
   232 #define KPhoneCustomCmdLast 8500
   246 
   233