|
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 |
|
20 #ifndef PROFILERGUI_HRH |
|
21 #define PROFILERGUI_HRH |
|
22 |
|
23 enum TProfilerCmdSamplerIds |
|
24 { |
|
25 EProfilerGuiCmdSamplerEnable = 1, // id cannot be 0 |
|
26 EProfilerGuiCmdSamplerDisable, |
|
27 EProfilerGuiCmdSamplerSettings, |
|
28 EProfilerGuiCmdSamplerInfo |
|
29 }; |
|
30 |
|
31 enum TSamplerSettingItemIds |
|
32 { |
|
33 EProfilerGuiGenericSamplerQuerySampleRate = 0, |
|
34 EProfilerGuiGenericSamplerQueryItem1, |
|
35 EProfilerGuiGenericSamplerQueryItem2, |
|
36 EProfilerGuiGenericSamplerQueryItem3, |
|
37 EProfilerGuiGenericSamplerQueryItem4, |
|
38 EProfilerGuiGenericSamplerQueryItem5, |
|
39 EProfilerGuiGenericSamplerQueryItem6 |
|
40 }; |
|
41 |
|
42 enum TGeneralSettingItemIds |
|
43 { |
|
44 ESettingListItemPluginTraceOutput = 0, |
|
45 ESettingListItemPluginSaveFileDrive, |
|
46 ESettingListItemPluginTraceFilePrefix |
|
47 }; |
|
48 |
|
49 enum TProfilerGuiCommandIds |
|
50 { |
|
51 EProfilerGuiCmdStart = 1000, |
|
52 EProfilerGuiCmdStop, |
|
53 EProfilerGuiCmdStartAll, |
|
54 EProfilerGuiCmdStopAll, |
|
55 |
|
56 EProfilerGuiCmdSamplerControl, |
|
57 EProfilerGuiCmdSamplerSettingsChange, |
|
58 EProfilerGuiCmdSamplerSettingsExit, |
|
59 |
|
60 EProfilerGuiCmdSettings, |
|
61 EProfilerGuiCmdSettingsChange, |
|
62 EProfilerGuiCmdSettingsExit, |
|
63 EProfilerGuiCmdSettingsBack, |
|
64 |
|
65 EProfilerGuiCmdAbout, |
|
66 |
|
67 EProfilerGuiViewConfQuery, |
|
68 EProfilerGuiSettingItemList, |
|
69 EProfilerSamplerSettingItemList |
|
70 }; |
|
71 |
|
72 enum TProfilerGuiSettingSamplerNameLength |
|
73 { |
|
74 ESamplerNameShort, |
|
75 ESamplerNameMedium, |
|
76 ESamplerNameLong |
|
77 }; |
|
78 |
|
79 enum TProfilerGuiSettingTraceMode |
|
80 { |
|
81 ETraceModeStream, |
|
82 ETraceModeBuffer |
|
83 }; |
|
84 |
|
85 enum TProfilerGuiSettingOutputMode |
|
86 { |
|
87 EOutputToDebugPort = 0, |
|
88 EOutputToFileSystem |
|
89 }; |
|
90 |
|
91 enum TProfilerGuiSettingSaveFileDrive |
|
92 { |
|
93 ETraceSaveFileDriveC, |
|
94 ETraceSaveFileDriveD, |
|
95 ETraceSaveFileDriveE, |
|
96 ETraceSaveFileDriveF, |
|
97 ETraceSaveFileDriveG, |
|
98 ETraceSaveFileDriveH, |
|
99 ETraceSaveFileDriveI, |
|
100 ETraceSaveFileDriveJ, |
|
101 ETraceSaveFileDriveK, |
|
102 ETraceSaveFileDriveL |
|
103 }; |
|
104 |
|
105 enum TItemActionMenuTypes |
|
106 { |
|
107 EItemActionMenuTypeEnable = 0, |
|
108 EItemActionMenuTypeDisable, |
|
109 EItemActionMenuTypeEditSettings, |
|
110 EItemActionMenuTypeInfo, |
|
111 EItemActionMenuTypeStart, // for future use |
|
112 EItemActionMenuTypeStop // for future use |
|
113 }; |
|
114 |
|
115 #endif // PROFILERGUI_HRH |