phone_plat/phone_application_commands_api/inc/phoneappcommands.hrh
changeset 0 5f000ab63145
child 9 8871b09be73b
child 21 92ab7f8d0eab
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *     This file contains declarations for commands of PhoneAppS60.
       
    16 *     The file can be included in C++ or resource file.
       
    17 *     
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef PHONEAPPCOMMANDS_HRH
       
    23 #define PHONEAPPCOMMANDS_HRH
       
    24 
       
    25 
       
    26 #include    <bldvariant.hrh>
       
    27 
       
    28 //  CONSTANTS
       
    29 
       
    30 #define KPhoneCmdBase 6000
       
    31 enum 
       
    32     {
       
    33     // commands for all
       
    34     EPhoneCmdDoNothing = KPhoneCmdBase,
       
    35     EPhoneCmdCancel,
       
    36     EPhoneCmdOptions,
       
    37     EPhoneCmdOkOptions,
       
    38     EPhoneCmdBack,
       
    39     EPhoneCmdEnd,
       
    40     EPhoneCmdEndAll,
       
    41     EPhoneCmdIhfToggle,
       
    42     EPhoneCmdNameDialer,
       
    43     EPhoneLongMSKAnswer,
       
    44     EPhoneLongSendActivateHandsfree,
       
    45     EPhoneActivateForegroundReq, // doesn't leave
       
    46     EPhoneCancelForegroundReq, // doesn't leave
       
    47     EPhoneCmdToForeground, // doesn't leave
       
    48     EPhoneCmdOk,
       
    49     EPhoneCmdYes,
       
    50     EPhoneCmdNo,
       
    51     EPhoneCmdExit,
       
    52     EPhoneCmdRedialQuit,
       
    53     EPhoneCmdYesAlsLineChange,
       
    54     EPhoneCmdNoAlsLineChange,
       
    55     EPhoneCmdYesBtDisconnectQuery,
       
    56     EPhoneCmdNoBtDisconnectQuery,
       
    57 
       
    58     // commands for idle state.
       
    59     EPhoneSoftkeyLeft,
       
    60     EPhoneSoftkeyRight,
       
    61     EPhoneIdleActivateNumberAcq,
       
    62     EPhoneTogglEPhoneLines,
       
    63     // for ShortcutManager
       
    64     EPhoneSelectionKey,    // OK key
       
    65     EPhoneScrollkeyLeft,
       
    66     EPhoneScrollkeyUp,
       
    67     EPhoneScrollkeyRight,
       
    68     EPhoneScrollkeyDown,
       
    69 
       
    70     // commands for number acquisition.
       
    71     EPhoneNumberAcqCmdPbkOperation,
       
    72     EPhoneNumberAcqCmdSave,
       
    73     EPhoneNumberAcqCmdAddToName,
       
    74     EPhoneNumberAcqCmdCall,
       
    75     EPhoneNumberAcqCmdVideoCall,
       
    76     EPhoneNumberAcqCmdSpeedDial,
       
    77     EPhoneNumberAcqCmdSendCommand,
       
    78     EPhoneNumberAcqCmdSendMessage,
       
    79     EPhoneNumberAcqCmdHashCheck,  // NOT IN MENU.
       
    80     EPhoneNumberAcqSecurityDialer, // NOT IN MENU.
       
    81 
       
    82     // CDMA specific
       
    83     EPhoneNumberAcqCmdAddToContacts,
       
    84     EPhoneNumberAcqCmdInsertPause,
       
    85     EPhoneNumberAcqCmdInsertTimedPause,
       
    86     EPhoneNumberAcqCmdInsertHardPause,
       
    87     // commands for call coming in
       
    88     EPhoneCallComingCmdReject,
       
    89     EPhoneCallComingCmdAnswer,
       
    90     EPhoneCallComingCmdAnswerHandPortable,
       
    91     EPhoneCallComingCmdAnswerHandPortableVideo,
       
    92     EPhoneCallComingCmdSilent,
       
    93     EPhoneCallComingCmdOptions,
       
    94     EPhoneCallComingCmdAnswerWithHandsfree,
       
    95     EPhoneCallComingLongMSKAnswer,
       
    96     EPhoneCallComingCmdProcessSend, // NOT IN MENU
       
    97     //        Soft Reject
       
    98     EPhoneCallComingCmdSoftReject,
       
    99     // CDMA specific
       
   100     EPhoneCallComingCmdIgnore,
       
   101     EPhoneCallComingCmdHelp,
       
   102 
       
   103     // commands for call setup
       
   104     EPhoneCallSetupCmdEnd,
       
   105     // commands for incall
       
   106     EPhoneInCallCmdSwap,
       
   107     EPhoneInCallCmdAnswer,
       
   108     EPhoneInCallCmdAnswerHandPortable,
       
   109     EPhoneInCallCmdReject,
       
   110     EPhoneInCallCmdHold,
       
   111     EPhoneInCallCmdUnhold,
       
   112     EPhoneInCallCmdEndThisActiveCall,
       
   113     EPhoneInCallCmdEndThisHeldCall,
       
   114     EPhoneInCallCmdEndThisOutgoingCall,
       
   115     EPhoneInCallCmdEndAllCalls,
       
   116     EPhoneInCallCmdHandset,
       
   117     EPhoneInCallCmdBtHandsfree,
       
   118     EPhoneInCallCmdActivateIhf,
       
   119     EPhoneInCallCmdDeactivateIhf,
       
   120     EPhoneInCallCmdMute,
       
   121     EPhoneInCallCmdUnmute,
       
   122     EPhoneInCallCmdNewCall,
       
   123     EPhoneInCallCmdCreateConference,
       
   124     EPhoneInCallCmdConferenceMenu,
       
   125     EPhoneInCallCmdPrivateSelection,
       
   126     EPhoneInCallCmdJoin,
       
   127     EPhoneInCallCmdDropSelection,
       
   128     EPhoneInCallCmdTransfer,
       
   129     EPhoneInCallCmdReplace,
       
   130     EPhoneInCallCmdDtmfListQuery,
       
   131     EPhoneInCallCmdDtmfManualQuery,
       
   132     EPhoneInCallCmdCancelSendingDtmfString,
       
   133     EPhoneInCallCmdContinueSendingDtmfString,
       
   134     EPhoneInCallCmdVoiceMode,
       
   135     EPhoneInCallCmdSendToCallerMenu,    
       
   136     EPhoneInCallCmdSendNew,
       
   137     EPhoneInCallCmdSendFile,
       
   138     EPhoneInCallCmdProcessSend, // NOT IN MENU!
       
   139     EPhoneInCallCmdDrop,
       
   140     EPhoneInCallCmdPrivate,
       
   141     EPhoneInCallCmdCbaJoin,	// NOT IN MENU!
       
   142     EPhoneInCallCmdDialer,
       
   143 
       
   144     // Enable video
       
   145     EPhoneInCallCmdEnableVideo,
       
   146     // Disable video
       
   147     EPhoneInCallCmdDisableVideo,
       
   148     // Use primary camera
       
   149     EPhoneInCallCmdPrimaryCamera,
       
   150     // Use secondary camera
       
   151     EPhoneInCallCmdSecondaryCamera,
       
   152     EPhoneInCallCmdActivatEPhonebook, // NOT IN MENU!
       
   153 
       
   154     EPhoneInCallCmdConferenceHold, // JMK
       
   155     EPhoneInCallCmdConferenceUnhold, // JMK
       
   156     EPhoneInCallCmdNewCallFind,
       
   157     EPhoneInCallCmdNewCallCall,
       
   158     EPhoneInCallCmdGoToIdle,
       
   159     EPhoneInCallCmdParticipants,
       
   160     
       
   161     // CDMA specific
       
   162     EPhoneInCallCmdMulticall3WayCall,
       
   163     EPhoneInCallCmdMulticallIgnore,
       
   164     EPhoneInCallCmdFlash,
       
   165     EPhoneInCallCmdHelp,
       
   166     EPhoneInCallCmdEmergencyActivateIhf,
       
   167     EPhoneInCallCmdEmergencyDeactivateIhf,
       
   168     EPhoneInCallCmdEmergencyHandset,
       
   169     EPhoneInCallPhoneInfo,
       
   170     // CDMA Emergency specific
       
   171     EPhoneEmergencyCmdYes,
       
   172     EPhoneEmergencyCmdNo,
       
   173     EPhoneEmergencyCmdExit,    //6121
       
   174     // Settings GUI (commands useful to many GUI's)
       
   175     EPhoneCmdSettingsUiOptions,
       
   176     EPhoneCmdSettingsUiBack,
       
   177     EPhoneCmdSettingsUiOpen,
       
   178     EPhoneCmdSettingsUiExit,
       
   179     // Settings GUI - Data Parameters GUI (commands specific to DataParameters)
       
   180     EPhoneCmdDataParametersRestoreSettings,
       
   181     EPhoneCmdRelease,	
       
   182     // DTMF specific
       
   183     EPhoneCmdDtmfSearch,
       
   184     EPhoneCmdDtmfOk,
       
   185     EPhoneCmdDtmfSpeedDialOk,
       
   186     EPhoneInCallCmdDtmfListViewSearch,    
       
   187     // other commands
       
   188     EPhoneCmdWaitNoteOk,
       
   189     EPhoneCmdVideoCallMemoryLowNoteDismissed,
       
   190     EPhoneCmdSecurityInd, // NOT to leave
       
   191     EPhoneInCallCmdSwitchToVideo,
       
   192     EPhoneInCallCmdSwitchToVoice,
       
   193     EPhoneCmdYesSwitchToVideo,
       
   194     EPhoneCmdNoSwitchToVideo,
       
   195     EPhoneCmdYesSwitchToVoice,
       
   196     EPhoneCmdNoSwitchToVoice,    
       
   197     EPhoneMediatorSetPhoneNumber,
       
   198     EPhoneCmdCoverUiShowMultimediaRingingTone,
       
   199     EPhoneInCallCmdLockKeypad,
       
   200     EPhoneInCallCmdLockScreen,
       
   201     EPhoneCmdYesVideoFailedNoMemorySwitchToVoice,
       
   202     EPhoneCmdNoVideoFailedNoMemorySwitchToVoice,
       
   203     EPhoneInCallCmdSetVolumeLevel,
       
   204     
       
   205     //Dialer commands
       
   206     EPhoneDialerCmdLog,
       
   207     EPhoneDialerCmdContacts,
       
   208     EPhoneDialerCmdClear,  
       
   209     EPhoneDialerCallHandling,
       
   210     EPhoneDialerCmdTouchInput,
       
   211     EPhoneDialerCmdSpeedDial,
       
   212     EPhoneDialerCmdEditText,
       
   213     EPhoneDialerCallSettings,	
       
   214     EPhoneDtmfDialerCancel,	
       
   215     EPhoneDtmfDialerExit,
       
   216     EPhoneIsDTMFDialerVisible,
       
   217     EPhoneDialerCmdHelp,
       
   218     EPhoneDialerCmdHelpDtmf,
       
   219     EPhoneIsCustomizedDialerVisible,
       
   220 
       
   221     EPhoneCmdVideoCallOutOfMemory,
       
   222    
       
   223     EPhoneCmdLast
       
   224     };
       
   225     
       
   226     
       
   227 // Command range for custom menu commands.
       
   228 // Custom commands can be used for menu extensions.
       
   229 #define KPhoneCustomCmdBase 8000
       
   230 #define KPhoneCustomCmdLast 8500
       
   231 
       
   232 enum
       
   233     {
       
   234     EPhoneCmdCustomFirst = KPhoneCustomCmdBase,
       
   235     EPhoneCmdCustomLast = KPhoneCustomCmdLast
       
   236     };
       
   237 
       
   238 #endif
       
   239 
       
   240 // End of File