|
1 /* |
|
2 * Copyright (c) 2009 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef FILEBROWSER_HRH |
|
20 #define FILEBROWSER_HRH |
|
21 |
|
22 enum TFileBrowserCommandIds |
|
23 { |
|
24 EFileBrowserCmdFile = 1, |
|
25 EFileBrowserCmdFileBack, |
|
26 EFileBrowserCmdFileOpen, |
|
27 EFileBrowserCmdFileOpenApparc, |
|
28 EFileBrowserCmdFileOpenDocHandlerEmbed, |
|
29 EFileBrowserCmdFileOpenDocHandlerStandAlone, |
|
30 EFileBrowserCmdFileOpenFileService, |
|
31 EFileBrowserCmdFileOpenDrive, |
|
32 EFileBrowserCmdFileOpenDirectory, |
|
33 EFileBrowserCmdFileView, |
|
34 EFileBrowserCmdFileViewText, |
|
35 EFileBrowserCmdFileViewHex, |
|
36 EFileBrowserCmdFileEdit, |
|
37 EFileBrowserCmdFileEditText, |
|
38 EFileBrowserCmdFileEditHex, |
|
39 EFileBrowserCmdFileSearch, |
|
40 EFileBrowserCmdFileSendTo, |
|
41 EFileBrowserCmdFileNew, |
|
42 EFileBrowserCmdFileNewFile, |
|
43 EFileBrowserCmdFileNewDirectory, |
|
44 EFileBrowserCmdFileDelete, |
|
45 EFileBrowserCmdFileRename, |
|
46 EFileBrowserCmdFileTouch, |
|
47 EFileBrowserCmdFileProperties, |
|
48 EFileBrowserCmdFileChecksums, |
|
49 EFileBrowserCmdFileChecksumsMD5, |
|
50 EFileBrowserCmdFileChecksumsMD2, |
|
51 EFileBrowserCmdFileChecksumsSHA1, |
|
52 EFileBrowserCmdFileSetAttributes, |
|
53 EFileBrowserCmdFileCompress, |
|
54 EFileBrowserCmdFileDecompress, |
|
55 EFileBrowserCmdEdit, |
|
56 EFileBrowserCmdSnapShot, |
|
57 EFileBrowserCmdEditCut, |
|
58 EFileBrowserCmdEditCopy, |
|
59 EFileBrowserCmdEditPaste, |
|
60 EFileBrowserCmdEditCopyToFolder, |
|
61 EFileBrowserCmdEditMoveToFolder, |
|
62 EFileBrowserCmdEditSelect, |
|
63 EFileBrowserCmdEditUnselect, |
|
64 EFileBrowserCmdEditSelectAll, |
|
65 EFileBrowserCmdEditUnselectAll, |
|
66 EFileBrowserCmdView, |
|
67 EFileBrowserCmdViewSort, |
|
68 EFileBrowserCmdViewSortByName, |
|
69 EFileBrowserCmdViewSortByExtension, |
|
70 EFileBrowserCmdViewSortByDate, |
|
71 EFileBrowserCmdViewSortBySize, |
|
72 EFileBrowserCmdViewOrder, |
|
73 EFileBrowserCmdViewOrderAscending, |
|
74 EFileBrowserCmdViewOrderDescending, |
|
75 EFileBrowserCmdViewFilterEntries, |
|
76 EFileBrowserCmdViewRefresh, |
|
77 EFileBrowserCmdDiskAdmin, |
|
78 EFileBrowserCmdDiskAdminSetDrivePassword, |
|
79 EFileBrowserCmdDiskAdminUnlockDrive, |
|
80 EFileBrowserCmdDiskAdminClearDrivePassword, |
|
81 EFileBrowserCmdDiskAdminEraseDrivePassword, |
|
82 EFileBrowserCmdDiskAdminFormatDrive, |
|
83 EFileBrowserCmdDiskAdminQuickFormatDrive, |
|
84 EFileBrowserCmdDiskAdminCheckDisk, |
|
85 EFileBrowserCmdDiskAdminScanDrive, |
|
86 EFileBrowserCmdDiskAdminSetDriveName, |
|
87 EFileBrowserCmdDiskAdminSetDriveVolumeLabel, |
|
88 EFileBrowserCmdDiskAdminEraseMBR, |
|
89 EFileBrowserCmdDiskAdminDrivePartition, |
|
90 EFileBrowserCmdDiskAdminEjectDrive, |
|
91 EFileBrowserCmdDiskAdminDismountFileSystem, |
|
92 EFileBrowserCmdTools, |
|
93 EFileBrowserCmdToolsAllFiles, |
|
94 EFileBrowserCmdToolsAvkonIconCache, |
|
95 EFileBrowserCmdToolsAvkonIconCacheEnable, |
|
96 EFileBrowserCmdToolsAvkonIconCacheDisable, |
|
97 EFileBrowserCmdToolsDisableExtErrors, |
|
98 EFileBrowserCmdToolsEditDataTypes, |
|
99 EFileBrowserCmdToolsEnableExtErrors, |
|
100 EFileBrowserCmdToolsErrorSimulate, |
|
101 EFileBrowserCmdToolsErrorSimulateLeave, |
|
102 EFileBrowserCmdToolsErrorSimulatePanic, |
|
103 EFileBrowserCmdToolsErrorSimulateException, |
|
104 EFileBrowserCmdToolsLocalConnectivity, |
|
105 EFileBrowserCmdToolsLocalConnectivityActivateInfrared, |
|
106 EFileBrowserCmdToolsLocalConnectivityLaunchBTUI, |
|
107 EFileBrowserCmdToolsLocalConnectivityLaunchUSBUI, |
|
108 EFileBrowserCmdToolsInstalledApps, |
|
109 EFileBrowserCmdToolsOpenFiles, |
|
110 EFileBrowserCmdToolsMsgAttachments, |
|
111 EFileBrowserCmdToolsMsgAttachmentsInbox, |
|
112 EFileBrowserCmdToolsMsgAttachmentsDrafts, |
|
113 EFileBrowserCmdToolsMsgAttachmentsSentItems, |
|
114 EFileBrowserCmdToolsMsgAttachmentsOutbox, |
|
115 EFileBrowserCmdToolsMsgStoreWalk, |
|
116 EFileBrowserCmdToolsSecureBackup, |
|
117 EFileBrowserCmdToolsSecureBackupStartBackup, |
|
118 EFileBrowserCmdToolsSecureBackupStartRestore, |
|
119 EFileBrowserCmdToolsSecureBackupStop, |
|
120 EFileBrowserCmdToolsSetDebugMask, |
|
121 EFileBrowserCmdToolsMemoryInfo, |
|
122 EFileBrowserCmdSettings, |
|
123 EFileBrowserCmdAbout, |
|
124 EFileBrowserCmdSettingsChange, |
|
125 EFileBrowserCmdSettingsExit, |
|
126 EFileBrowserCmdSettingsBack, |
|
127 EFileBrowserSettingItemList, |
|
128 EFileBrowserCmdDataTypesChangeMapping, |
|
129 EFileBrowserCmdDataTypesSetDefaultMapping, |
|
130 EFileBrowserCmdDataTypesRefresh, |
|
131 EFileBrowserCmdDataTypesExit, |
|
132 EFileBrowserCmdDataTypesBack, |
|
133 EFileBrowserDataTypesList, |
|
134 EFileBrowserProgressNote, |
|
135 EFileBrowserWaitNote, |
|
136 EFileBrowserAttributeEditorSetArchive, |
|
137 EFileBrowserAttributeEditorSetHidden, |
|
138 EFileBrowserAttributeEditorSetReadOnly, |
|
139 EFileBrowserAttributeEditorSetSystem, |
|
140 EFileBrowserAttributeEditorSetRecurse, |
|
141 EFileBrowserSearchQuerySearchDir, |
|
142 EFileBrowserSearchQueryWildCards, |
|
143 EFileBrowserSearchQueryTextInFile, |
|
144 EFileBrowserSearchQueryMinSize, |
|
145 EFileBrowserSearchQueryMaxSize, |
|
146 EFileBrowserSearchQueryMinDate, |
|
147 EFileBrowserSearchQueryMaxDate, |
|
148 EFileBrowserSearchQueryRecurse, |
|
149 EFileBrowserCmdFileEditorViewAsText, |
|
150 EFileBrowserCmdFileEditorViewAsHex, |
|
151 EFileBrowserCmdFileEditorSave, |
|
152 EFileBrowserCmdFileEditorSaveAs, |
|
153 EFileBrowserCmdFileEditorSaveFormat, |
|
154 EFileBrowserCmdFileEditorSaveFormatANSIASCII, |
|
155 EFileBrowserCmdFileEditorSaveFormatUTF8, |
|
156 EFileBrowserCmdFileEditorSaveFormatUTF16LE, |
|
157 EFileBrowserCmdFileEditorSaveFormatUTF16BE, |
|
158 EFileBrowserCmdFileEditorEditAsText, |
|
159 EFileBrowserCmdFileEditorEditAsHex, |
|
160 EFileBrowserCmdFileEditorExit, |
|
161 EFileBrowserFileOpCommandAttribs, |
|
162 EFileBrowserFileOpCommandCopy, |
|
163 EFileBrowserFileOpCommandMove, |
|
164 EFileBrowserFileOpCommandRename, |
|
165 EFileBrowserFileOpCommandDelete, |
|
166 EFileBrowserFileOpCommandDriveSnapShot |
|
167 }; |
|
168 |
|
169 enum TFileBrowserFixedIconIds |
|
170 { |
|
171 EFixedIconMarking = 0, |
|
172 EFixedIconEmpty, |
|
173 EFixedIconPhoneMemory, |
|
174 EFixedIconMemoryCard, |
|
175 EFixedIconMemoryCardDisabled, |
|
176 EFixedIconFolder, |
|
177 EFixedIconFolderSub, |
|
178 EFixedIconFolderCurrent, |
|
179 EFixedIconListLength // this should be last |
|
180 }; |
|
181 |
|
182 enum TFileBrowserEntryOverwriteActions |
|
183 { |
|
184 EFileActionOverwriteAll = 0, |
|
185 EFileActionSkipAllExisting, |
|
186 EFileActionGenerateUniqueFilenames, |
|
187 EFileActionQueryPostFix |
|
188 }; |
|
189 |
|
190 enum TFileBrowserSecureBackupState |
|
191 { |
|
192 ESecureBackupStateFull = 0, |
|
193 ESecureBackupStatePartial |
|
194 }; |
|
195 |
|
196 enum TFileBrowserSecureBackupType |
|
197 { |
|
198 ESecureBackupTypeBase = 0, |
|
199 ESecureBackupTypeIncremental |
|
200 }; |
|
201 |
|
202 enum TFileBrowserDataTypePriorities |
|
203 { |
|
204 EDataTypePriorityMaximum = 0, |
|
205 EDataTypePriorityHigh, |
|
206 EDataTypePriorityNormal, |
|
207 EDataTypePriorityLow, |
|
208 EDataTypePriorityLastResort |
|
209 }; |
|
210 |
|
211 enum TFileBrowserCommonFileActions |
|
212 { |
|
213 ECommonFileActionViewAsTextHex = 0, |
|
214 ECommonFileActionOpenWithApparc, |
|
215 ECommonFileActionOpenWithDocHandlerEmbed |
|
216 }; |
|
217 |
|
218 enum TFileBrowserSettingListTabs |
|
219 { |
|
220 ETabGeneral = 0, |
|
221 ETabFileOps |
|
222 }; |
|
223 |
|
224 enum TFileBrowserSettingListIds |
|
225 { |
|
226 ESettingListDisplayModeSelection = 0, |
|
227 ESettingListFileViewModeSelection, |
|
228 ESettingListShowSubdirectoryInfoSelection, |
|
229 ESettingListShowAssociatedIconsSelection, |
|
230 ESettingListRememberLastPathSelection, |
|
231 ESettingListRememberFolderSelection, |
|
232 ESettingListEnableToolbar, |
|
233 |
|
234 ESettingListSupportNetworkDrivesSelection, |
|
235 ESettingListBypassPlatformSecuritySelection, |
|
236 ESettingListRemoveFileLocksSelection, |
|
237 ESettingListIgnoreProtectionsAttsSelection, |
|
238 ESettingListRemoveROMWriteProtectionSelection |
|
239 }; |
|
240 |
|
241 enum TFileBrowserSettingDisplayModes |
|
242 { |
|
243 EDisplayModeFullScreen = 0, |
|
244 EDisplayModeNormal |
|
245 }; |
|
246 |
|
247 enum TFileBrowserSettingFileViewModes |
|
248 { |
|
249 EFileViewModeSimple = 0, |
|
250 EFileViewModeExtended |
|
251 }; |
|
252 |
|
253 enum TFileBrowserFileEditorModes |
|
254 { |
|
255 EFileEditorViewAsText = 0, |
|
256 EFileEditorViewAsHex, |
|
257 EFileEditorEditAsText, |
|
258 EFileEditorEditAsHex |
|
259 }; |
|
260 |
|
261 enum |
|
262 { |
|
263 EFileViewerDialogControl = 0x5FEC |
|
264 }; |
|
265 |
|
266 enum |
|
267 { |
|
268 EFileEditorDialogId = 1 |
|
269 }; |
|
270 |
|
271 #endif // FILEBROWSER_HRH |