|
1 /* |
|
2 * Copyright (c) 2002 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 resources of Logs.APP. |
|
16 * The file can be included in C++ or resource file. |
|
17 * |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef __Logs_App_Menu_HRH__ |
|
23 #define __Logs_App_Menu_HRH__ |
|
24 |
|
25 #include "LogsConstants.hrh" //KLogsPluginImplUID |
|
26 |
|
27 // CONSTANTS |
|
28 |
|
29 /** |
|
30 * Logs resource header (.hrh) file. Contains Logs command symbols. |
|
31 */ |
|
32 |
|
33 // Menu command codes |
|
34 enum TLogsCommands |
|
35 { |
|
36 ELogsCmdNoOperation = 0, |
|
37 ELogsCmdMenuDetails, |
|
38 ELogsCmdHandleMSK, |
|
39 ELogsCmdMenuFilter, |
|
40 ELogsCmdMenuClearList, |
|
41 ELogsCmdMenuSettings, |
|
42 ELogsCmdMenuExit, |
|
43 ELogsCmdMenuOpen, |
|
44 ELogsCmdMenuClearRecentRegisters, |
|
45 ELogsCmdChange, |
|
46 ELogsCmdHandleTapFocusChange, // For Toolbar initialisation when focus changed |
|
47 ELogsCmdStartPhonebook, |
|
48 |
|
49 ELogsCmdAiwCmdAssign, // AddToPhonebook (from Toolbar) |
|
50 |
|
51 EAocCtCmdMenuDetails, // AoC duration details for call timers |
|
52 EAocCtCmdMenuDetailsVoip, // AoC duration details for voip call timers |
|
53 EAocCtCmdMenuDetailsCs, // AoC duration details for cellular call timers |
|
54 |
|
55 EAocCtCmdMenuClear, // AoC & CT: Clear costs |
|
56 EAocCtCmdMenuFilterAls, // AoC & CT: Filter ALS |
|
57 |
|
58 ELogsCmdSendKeyCall, // Call function1 (when send key is pressed) |
|
59 ELogsCmdLongSendKeyCall, // Call function2 (when send key is pressed long) |
|
60 ELogsCmdDeviceCallKey, // Call function3 (when special key is pressed - e.g. |
|
61 // voice key for PoC call) |
|
62 ELogsCmdSingleTapCall, // Call function4 (when single tapping with touch UI) |
|
63 ELogsCmdMenuNumberSubMenu, // dummy cmd, just for deleting number submenu |
|
64 ELogsCmdMenuPrependNumber, // Prepend number |
|
65 ELogsCmdMenuCopyNumber, // copy number |
|
66 |
|
67 ELogsCmdMenuPocAddressSubMenu, // dummy cmd, just for deleting address submenu |
|
68 ELogsCmdMenuVoipAddressSubMenu, // dummy cmd, just for deleting address submenu |
|
69 ELogsCmdMenuPrependAddress, // Prepend address (used for voip and poc) |
|
70 ELogsCmdMenuCopyAddress, // copy sip address (used for voip and poc) |
|
71 ELogsCmdShowMyAddress, // Show user's sip address (used for voip and poc) |
|
72 ELogsCmdMenuDelete, // Delete |
|
73 ELogsCmdMenuDeleteAll, // Delete All |
|
74 ELogsCmdFailedDueActiveCall, // Some options was not allowed due active call |
|
75 ELogsCmdMenuClearGprs, |
|
76 ELogsCmdMenuSendUi, // For send message submenu |
|
77 ELogsCmdToolBarSendUi, // For send message without query (Toolbar send message button) |
|
78 |
|
79 // Last Logs command (keep this item LAST) |
|
80 // Note! There are MORE commands on top of this in PECLogs (EDpbCmdLast) |
|
81 ELogsCmdLast |
|
82 }; |
|
83 |
|
84 // Logs application view ID's |
|
85 enum TLogsViewIds |
|
86 { |
|
87 ELogAppListViewId = 1, // Logs application view (when started from appshell). This value *must* be hardcoded 1 |
|
88 // as appshell will use this number as view parameter in it's appshelldata.xml for Logs: |
|
89 // <appshell:application uid="101F4CD5" view="1"/> |
|
90 ELogEventListViewId, // Logs event list view |
|
91 ELogDetailViewId, // Logs detail view |
|
92 ELogSubAppListViewId, // Logs sub application view |
|
93 EStmMissedListViewId, // STM's missed calls view |
|
94 EStmReceivedListViewId, // STM's received calls view |
|
95 EStmDialledListViewId, // STM's dialled calls view |
|
96 ECtViewId, // CT's call counters view |
|
97 EGprsCounterViewId, // GPRS counters |
|
98 ELogsDummyViewId = 100, // View Id for experiments only |
|
99 ELogSettingsViewId = KLogsPluginImplUID //Settings view is ecom plugin. To keep things straightforward, we use the |
|
100 //implementation UID as viewId too. The viewid must be unique inside host |
|
101 //application (i.e General Settings in addition to Logs app). |
|
102 }; |
|
103 |
|
104 // Tab ID's |
|
105 enum TTabIds |
|
106 { |
|
107 EMissedTabId = EStmMissedListViewId, // Missed tab id |
|
108 EReceivedTabId = EStmReceivedListViewId, // Received tab id |
|
109 EDialledTabId = EStmDialledListViewId, // Dialled tab id |
|
110 EAppListTabId = ELogAppListViewId, // AppList tab id |
|
111 EEventListTabId = ELogEventListViewId, // EventList tab id |
|
112 ESubAppRecentsTabId = ELogSubAppListViewId, // Sub App Recent tab id |
|
113 ESubAppTimersTabId = ECtViewId, // Sub App Timers tab id |
|
114 ESubAppGprsTabId = EGprsCounterViewId // Sub App Gprs tab id |
|
115 }; |
|
116 |
|
117 // Logs subapplication ID's |
|
118 enum TLogsSubAppIds |
|
119 { |
|
120 EStmStmSubAppId = 0, |
|
121 EStmTimersSubAppId, |
|
122 EGprsCountSubAppId |
|
123 }; |
|
124 |
|
125 // Logs recent list ID's |
|
126 enum TLogsRecentListIds |
|
127 { |
|
128 EStmMissedId = 0, |
|
129 EStmReceivedId, |
|
130 EStmDialledId |
|
131 }; |
|
132 |
|
133 /// Settings view listbox item's enumerations. |
|
134 enum TLogsSettingsFunction |
|
135 { |
|
136 ELogSettingsLogLength = 0 |
|
137 //, ELogSettingsShowCallDurationPhone = 1 |
|
138 }; |
|
139 |
|
140 // Additional message id:s for view activation |
|
141 enum TLogsViewActivationMessages |
|
142 { |
|
143 ELogsViewActivationNoMessage = 0, |
|
144 ELogsViewActivationBackground |
|
145 }; |
|
146 |
|
147 enum TLogsShowToolbar |
|
148 { |
|
149 ELogsToolbarOff, |
|
150 ELogsToolbarOn, |
|
151 ELogsHideItemsAndDrawOnlyBackground, |
|
152 ELogsUnHideItemsAndDrawOnlyBackground |
|
153 }; |
|
154 |
|
155 // Logs application execution modes |
|
156 enum TLogsExecutionModes |
|
157 { |
|
158 ELogsInForeground = 0, //Logs running in foregroung |
|
159 ELogsInBackground_ExitOrEndPressed |
|
160 }; |
|
161 |
|
162 #endif // __Logs_App_Menu_HRH__ |
|
163 |
|
164 // End of File |
|
165 |