perfapps/piprofilerui/ui/avkon/inc/profiler_gui.hrh
changeset 51 b048e15729d6
parent 26 41ebde60981f
equal deleted inserted replaced
44:5db69f4c3d06 51:b048e15729d6
       
     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     ESettingListItemPluginSamplingTime
       
    48     };
       
    49 
       
    50 enum TProfilerGuiCommandIds
       
    51     {
       
    52     EProfilerGuiCmdStart = 1000,
       
    53     EProfilerGuiCmdStop,
       
    54     EProfilerGuiCmdStartAll,
       
    55     EProfilerGuiCmdStartTimed,
       
    56     EProfilerGuiCmdStopAll,
       
    57     
       
    58     EProfilerGuiCmdSamplerControl,
       
    59     EProfilerGuiCmdSamplerSettingsChange,
       
    60     EProfilerGuiCmdSamplerSettingsExit,
       
    61     
       
    62     EProfilerGuiCmdSettings,
       
    63     EProfilerGuiCmdSettingsChange,
       
    64     EProfilerGuiCmdSettingsExit,
       
    65     EProfilerGuiCmdSettingsBack,
       
    66 
       
    67     EProfilerGuiCmdAbout,
       
    68 
       
    69     EProfilerGuiViewConfQuery,
       
    70     EProfilerGuiSettingItemList,
       
    71     EProfilerSamplerSettingItemList
       
    72     };
       
    73 
       
    74 enum TProfilerGuiSettingSamplerNameLength
       
    75 	{
       
    76 	ESamplerNameShort,
       
    77 	ESamplerNameMedium,
       
    78 	ESamplerNameLong
       
    79 	};
       
    80 
       
    81 enum TProfilerGuiSettingTraceMode
       
    82 	{
       
    83 	ETraceModeStream,
       
    84 	ETraceModeBuffer
       
    85 	};
       
    86 
       
    87 enum TProfilerGuiSettingOutputMode
       
    88 	{
       
    89 	EOutputToDebugPort = 0,
       
    90 	EOutputToFileSystem
       
    91 	};
       
    92 
       
    93 enum TProfilerGuiSettingSaveFileDrive
       
    94 	{
       
    95 	ETraceSaveFileDriveC,
       
    96 	ETraceSaveFileDriveD,
       
    97 	ETraceSaveFileDriveE,
       
    98 	ETraceSaveFileDriveF,
       
    99 	ETraceSaveFileDriveG,
       
   100 	ETraceSaveFileDriveH,
       
   101 	ETraceSaveFileDriveI,
       
   102 	ETraceSaveFileDriveJ,
       
   103 	ETraceSaveFileDriveK,
       
   104 	ETraceSaveFileDriveL
       
   105 	};
       
   106 
       
   107 enum TItemActionMenuTypes
       
   108     {
       
   109     EItemActionMenuTypeEnable = 0,
       
   110     EItemActionMenuTypeDisable,
       
   111     EItemActionMenuTypeEditSettings,    
       
   112     EItemActionMenuTypeInfo,    
       
   113     EItemActionMenuTypeStart,	// for future use
       
   114     EItemActionMenuTypeStop	    // for future use
       
   115     };
       
   116 
       
   117 #endif      // PROFILERGUI_HRH