phone_plat/phone_application_commands_api/inc/phoneappcommands.hrh
changeset 37 ba76fc04e6c2
child 45 6b911d05207e
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     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     EPhoneInCallCmdContacts,
       
   144 
       
   145     // Enable video
       
   146     EPhoneInCallCmdEnableVideo,
       
   147     // Disable video
       
   148     EPhoneInCallCmdDisableVideo,
       
   149     // Use primary camera
       
   150     EPhoneInCallCmdPrimaryCamera,
       
   151     // Use secondary camera
       
   152     EPhoneInCallCmdSecondaryCamera,
       
   153     EPhoneInCallCmdActivatEPhonebook, // NOT IN MENU!
       
   154 
       
   155     EPhoneInCallCmdConferenceHold, // JMK
       
   156     EPhoneInCallCmdConferenceUnhold, // JMK
       
   157     EPhoneInCallCmdNewCallFind,
       
   158     EPhoneInCallCmdNewCallCall,
       
   159     EPhoneInCallCmdGoToIdle,
       
   160     EPhoneInCallCmdParticipants,
       
   161     
       
   162     // CDMA specific
       
   163     EPhoneInCallCmdMulticall3WayCall,
       
   164     EPhoneInCallCmdMulticallIgnore,
       
   165     EPhoneInCallCmdFlash,
       
   166     EPhoneInCallCmdHelp,
       
   167     EPhoneInCallCmdEmergencyActivateIhf,
       
   168     EPhoneInCallCmdEmergencyDeactivateIhf,
       
   169     EPhoneInCallCmdEmergencyHandset,
       
   170     EPhoneInCallPhoneInfo,
       
   171     // CDMA Emergency specific
       
   172     EPhoneEmergencyCmdYes,
       
   173     EPhoneEmergencyCmdNo,
       
   174     EPhoneEmergencyCmdExit,    //6121
       
   175     // Settings GUI (commands useful to many GUI's)
       
   176     EPhoneCmdSettingsUiOptions,
       
   177     EPhoneCmdSettingsUiBack,
       
   178     EPhoneCmdSettingsUiOpen,
       
   179     EPhoneCmdSettingsUiExit,
       
   180     // Settings GUI - Data Parameters GUI (commands specific to DataParameters)
       
   181     EPhoneCmdDataParametersRestoreSettings,
       
   182     EPhoneCmdRelease,   
       
   183     // DTMF specific
       
   184     EPhoneCmdDtmfSearch,
       
   185     EPhoneCmdDtmfOk,
       
   186     EPhoneCmdDtmfSpeedDialOk,
       
   187     EPhoneInCallCmdDtmfListViewSearch,    
       
   188     // other commands
       
   189     EPhoneCmdWaitNoteOk,
       
   190     EPhoneCmdVideoCallMemoryLowNoteDismissed,
       
   191     EPhoneCmdSecurityInd, // NOT to leave
       
   192     EPhoneInCallCmdSwitchToVideo,
       
   193     EPhoneInCallCmdSwitchToVoice,
       
   194     EPhoneCmdYesSwitchToVideo,
       
   195     EPhoneCmdNoSwitchToVideo,
       
   196     EPhoneCmdYesSwitchToVoice,
       
   197     EPhoneCmdNoSwitchToVoice,    
       
   198     EPhoneMediatorSetPhoneNumber,
       
   199     EPhoneCmdCoverUiShowMultimediaRingingTone,
       
   200     EPhoneInCallCmdLockKeypad,
       
   201     EPhoneInCallCmdLockScreen,
       
   202     EPhoneCmdYesVideoFailedNoMemorySwitchToVoice,
       
   203     EPhoneCmdNoVideoFailedNoMemorySwitchToVoice,
       
   204     EPhoneInCallCmdSetVolumeLevel,
       
   205     
       
   206     //Dialer commands
       
   207     EPhoneDialerCmdLog,
       
   208     EPhoneDialerCmdContacts,
       
   209     EPhoneDialerCmdClear,  
       
   210     EPhoneDialerCallHandling,
       
   211     EPhoneDialerCmdTouchInput,
       
   212     EPhoneDialerCmdSpeedDial,
       
   213     EPhoneDialerCmdEditText,
       
   214     EPhoneDialerCallSettings,   
       
   215     EPhoneDtmfDialerCancel, 
       
   216     EPhoneDtmfDialerExit,
       
   217     EPhoneIsDTMFDialerVisible,
       
   218     EPhoneDialerCmdHelp,
       
   219     EPhoneDialerCmdHelpDtmf,
       
   220     EPhoneIsCustomizedDialerVisible,
       
   221 
       
   222     EPhoneCmdVideoCallOutOfMemory,
       
   223 
       
   224 // <-- QT PHONE START -->
       
   225     EPhoneCmdUpdateUiControls,
       
   226 // <-- QT PHONE END -->
       
   227    
       
   228     EPhoneCmdLast
       
   229     };
       
   230     
       
   231     
       
   232 // Command range for custom menu commands.
       
   233 // Custom commands can be used for menu extensions.
       
   234 #define KPhoneCustomCmdBase 8000
       
   235 #define KPhoneCustomCmdLast 8500
       
   236 
       
   237 enum
       
   238     {
       
   239     EPhoneCmdCustomFirst = KPhoneCustomCmdBase,
       
   240     EPhoneCmdCustomLast = KPhoneCustomCmdLast
       
   241     };
       
   242 
       
   243 #endif
       
   244 
       
   245 // End of File