37
|
1 |
/*
|
78
|
2 |
* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
|
37
|
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 |
EPhoneCmdOptions,
|
|
36 |
EPhoneCmdBack,
|
|
37 |
EPhoneCmdEnd,
|
|
38 |
EPhoneCmdYesBtDisconnectQuery,
|
|
39 |
EPhoneCmdNoBtDisconnectQuery,
|
|
40 |
|
|
41 |
// commands for number acquisition.
|
|
42 |
EPhoneNumberAcqCmdSave,
|
|
43 |
EPhoneNumberAcqCmdAddToName,
|
|
44 |
EPhoneNumberAcqCmdCall,
|
|
45 |
EPhoneNumberAcqCmdVideoCall,
|
|
46 |
EPhoneNumberAcqCmdSendCommand,
|
|
47 |
EPhoneNumberAcqSecurityDialer, // NOT IN MENU.
|
|
48 |
EPhoneNumberAcqCmdAddToContacts,
|
|
49 |
// commands for call coming in
|
|
50 |
EPhoneCallComingCmdReject,
|
|
51 |
EPhoneCallComingCmdAnswer,
|
|
52 |
EPhoneCallComingCmdAnswerHandPortable,
|
|
53 |
EPhoneCallComingCmdAnswerHandPortableVideo,
|
|
54 |
EPhoneCallComingCmdSilent,
|
|
55 |
EPhoneCallComingCmdOptions,
|
|
56 |
EPhoneCallComingCmdAnswerWithHandsfree,
|
|
57 |
EPhoneCallComingCmdSoftReject,
|
|
58 |
// commands for incall
|
|
59 |
EPhoneInCallCmdSwap,
|
|
60 |
EPhoneInCallCmdAnswer,
|
|
61 |
EPhoneInCallCmdReject,
|
|
62 |
EPhoneInCallCmdHold,
|
|
63 |
EPhoneInCallCmdUnhold,
|
|
64 |
EPhoneInCallCmdEndThisActiveCall,
|
|
65 |
EPhoneInCallCmdEndThisHeldCall,
|
|
66 |
EPhoneInCallCmdEndThisOutgoingCall,
|
|
67 |
EPhoneInCallCmdEndAllCalls,
|
|
68 |
EPhoneInCallCmdHandset,
|
|
69 |
EPhoneInCallCmdBtHandsfree,
|
|
70 |
EPhoneInCallCmdActivateIhf,
|
|
71 |
EPhoneInCallCmdDeactivateIhf,
|
|
72 |
EPhoneInCallCmdMute,
|
|
73 |
EPhoneInCallCmdUnmute,
|
|
74 |
EPhoneInCallCmdNewCall,
|
|
75 |
EPhoneInCallCmdCreateConference,
|
|
76 |
EPhoneInCallCmdConferenceMenu,
|
|
77 |
EPhoneInCallCmdPrivateSelection,
|
|
78 |
EPhoneInCallCmdJoin,
|
|
79 |
EPhoneInCallCmdDropSelection,
|
|
80 |
EPhoneInCallCmdTransfer,
|
|
81 |
EPhoneInCallCmdReplace,
|
|
82 |
EPhoneInCallCmdDtmfListQuery,
|
|
83 |
EPhoneInCallCmdDtmfManualQuery,
|
|
84 |
EPhoneInCallCmdCancelSendingDtmfString,
|
|
85 |
EPhoneInCallCmdContinueSendingDtmfString,
|
|
86 |
EPhoneInCallCmdVoiceMode,
|
|
87 |
EPhoneInCallCmdDrop,
|
|
88 |
EPhoneInCallCmdPrivate,
|
|
89 |
EPhoneInCallCmdDialer,
|
|
90 |
EPhoneInCallCmdContacts,
|
|
91 |
|
|
92 |
// Enable video
|
|
93 |
EPhoneInCallCmdEnableVideo,
|
|
94 |
// Disable video
|
|
95 |
EPhoneInCallCmdDisableVideo,
|
|
96 |
// Use primary camera
|
|
97 |
EPhoneInCallCmdPrimaryCamera,
|
|
98 |
// Use secondary camera
|
|
99 |
EPhoneInCallCmdSecondaryCamera,
|
|
100 |
EPhoneInCallCmdActivatEPhonebook, // NOT IN MENU!
|
|
101 |
|
|
102 |
EPhoneInCallCmdConferenceHold, // JMK
|
|
103 |
EPhoneInCallCmdConferenceUnhold, // JMK
|
|
104 |
EPhoneInCallCmdGoToIdle,
|
|
105 |
EPhoneInCallCmdParticipants,
|
|
106 |
|
74
|
107 |
EPhoneEmergencyCmdExit,
|
37
|
108 |
// DTMF specific
|
|
109 |
EPhoneCmdDtmfOk,
|
|
110 |
// other commands
|
|
111 |
EPhoneCmdWaitNoteOk,
|
|
112 |
EPhoneInCallCmdSetVolumeLevel,
|
|
113 |
|
|
114 |
//Dialer commands
|
|
115 |
EPhoneDialerCmdLog,
|
|
116 |
EPhoneDialerCmdContacts,
|
|
117 |
EPhoneDialerCmdClear,
|
|
118 |
EPhoneDialerCallHandling,
|
|
119 |
EPhoneDialerCmdTouchInput,
|
|
120 |
EPhoneDialerCmdEditText,
|
|
121 |
EPhoneDialerCallSettings,
|
|
122 |
EPhoneDtmfDialerCancel,
|
|
123 |
EPhoneDtmfDialerExit,
|
|
124 |
EPhoneIsDTMFDialerVisible,
|
|
125 |
EPhoneDialerCmdHelp,
|
|
126 |
EPhoneDialerCmdHelpDtmf,
|
|
127 |
EPhoneIsCustomizedDialerVisible,
|
|
128 |
|
|
129 |
EPhoneCmdVideoCallOutOfMemory,
|
65
|
130 |
EPhoneCmdUpdateUiControls,
|
37
|
131 |
|
|
132 |
EPhoneCmdLast
|
|
133 |
};
|
|
134 |
|
|
135 |
|
|
136 |
// Command range for custom menu commands.
|
|
137 |
// Custom commands can be used for menu extensions.
|
|
138 |
#define KPhoneCustomCmdBase 8000
|
|
139 |
#define KPhoneCustomCmdLast 8500
|
|
140 |
|
|
141 |
enum
|
|
142 |
{
|
|
143 |
EPhoneCmdCustomFirst = KPhoneCustomCmdBase,
|
|
144 |
EPhoneCmdCustomLast = KPhoneCustomCmdLast
|
|
145 |
};
|
|
146 |
|
|
147 |
#endif
|
|
148 |
|
|
149 |
// End of File
|