memspyui/include/MemSpy.hrh
changeset 0 d6fe6244b863
equal deleted inserted replaced
-1:000000000000 0:d6fe6244b863
       
     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 #ifndef MEMSPY_HRH
       
    19 #define MEMSPY_HRH
       
    20 
       
    21 #define KMemSpyMenuCommandBase 50000
       
    22 #define KMemSpyMenuCommandViewSpecific (KMemSpyMenuCommandBase + 10000)
       
    23 
       
    24 enum TMemSpyCommandIds
       
    25     {
       
    26 	////////////////////////////////
       
    27 	// GENERIC MENU COMMANDS
       
    28 	////////////////////////////////
       
    29 	EMemSpyCmdOpen = KMemSpyMenuCommandBase,
       
    30     //
       
    31     EMemSpyCmdView,
       
    32 	EMemSpyCmdViewRefresh,
       
    33 	EMemSpyCmdViewOutputToSink,
       
    34     //
       
    35     EMemSpyCmdTools,
       
    36     EMemSpyCmdToolsListOpenFiles,
       
    37 	EMemSpyCmdToolsAbout,
       
    38     //
       
    39     EMemSpyCmdPhoneInfo,
       
    40 	EMemSpyCmdPhoneInfoGeneral,
       
    41     EMemSpyCmdPhoneInfoGeneralSummary,
       
    42 	EMemSpyCmdPhoneInfoGeneralDetailed,
       
    43 	EMemSpyCmdPhoneInfoGeneralHandles,
       
    44 	EMemSpyCmdPhoneInfoGeneralKernelContainers,
       
    45 	EMemSpyCmdPhoneInfoHeap,
       
    46 	EMemSpyCmdPhoneInfoHeapInfoSummary,
       
    47     EMemSpyCmdPhoneInfoHeapInfoCompact,
       
    48 	EMemSpyCmdPhoneInfoHeapCellListing,
       
    49 	EMemSpyCmdPhoneInfoHeapDump,
       
    50     EMemSpyCmdPhoneInfoStack,
       
    51 	EMemSpyCmdPhoneInfoStackInfo,
       
    52     EMemSpyCmdPhoneInfoStackInfoCompact,
       
    53 	EMemSpyCmdPhoneInfoStackDumpUser,
       
    54 	EMemSpyCmdPhoneInfoStackDumpKernel,
       
    55     //
       
    56     EMemSpyCmdAutoCapture,
       
    57     EMemSpyCmdAutoCaptureToggle,
       
    58     EMemSpyCmdAutoCaptureRetryTime,
       
    59     EMemSpyCmdAutoCaptureOperationType,
       
    60 	
       
    61 	////////////////////////////////
       
    62 	// VIEW SPECIFIC MENU COMMANDS
       
    63 	////////////////////////////////
       
    64     EMemSpyCmdProcess = KMemSpyMenuCommandViewSpecific,
       
    65 	EMemSpyCmdProcessInfo,
       
    66 	EMemSpyCmdProcessInfoSummary,
       
    67 	EMemSpyCmdProcessInfoHandles,
       
    68     EMemSpyCmdProcessSort,
       
    69     EMemSpyCmdProcessSortById,
       
    70     EMemSpyCmdProcessSortByName,
       
    71     EMemSpyCmdProcessSortByThreadCount,
       
    72     EMemSpyCmdProcessSortByCodeSegs,
       
    73     EMemSpyCmdProcessSortByHeapUsage,
       
    74     EMemSpyCmdProcessSortByStackUsage,
       
    75     EMemSpyCmdProcessEnd,
       
    76     EMemSpyCmdProcessEndKill,
       
    77     EMemSpyCmdProcessEndPanic,
       
    78     EMemSpyCmdProcessEndTerminate,
       
    79     //
       
    80     EMemSpyCmdThread,
       
    81     EMemSpyCmdThreadEnd,
       
    82     EMemSpyCmdThreadEndKill,
       
    83     EMemSpyCmdThreadEndPanic,
       
    84     EMemSpyCmdThreadEndTerminate,
       
    85     EMemSpyCmdThreadSetPriority,
       
    86 	EMemSpyCmdThreadSetPriorityAbsoluteVeryLow,
       
    87 	EMemSpyCmdThreadSetPriorityAbsoluteLowNormal,
       
    88 	EMemSpyCmdThreadSetPriorityAbsoluteLow,
       
    89 	EMemSpyCmdThreadSetPriorityAbsoluteBackgroundNormal,
       
    90 	EMemSpyCmdThreadSetPriorityAbsoluteBackground,
       
    91 	EMemSpyCmdThreadSetPriorityAbsoluteForegroundNormal,
       
    92 	EMemSpyCmdThreadSetPriorityAbsoluteForeground,
       
    93 	EMemSpyCmdThreadSetPriorityAbsoluteHighNormal,
       
    94 	EMemSpyCmdThreadSetPriorityAbsoluteHigh,
       
    95 	EMemSpyCmdThreadSetPriorityAbsoluteRealTime1,
       
    96 	EMemSpyCmdThreadSetPriorityAbsoluteRealTime2,
       
    97 	EMemSpyCmdThreadSetPriorityAbsoluteRealTime3,
       
    98 	EMemSpyCmdThreadSetPriorityAbsoluteRealTime4,
       
    99 	EMemSpyCmdThreadSetPriorityAbsoluteRealTime5,
       
   100 	EMemSpyCmdThreadSetPriorityAbsoluteRealTime6,
       
   101 	EMemSpyCmdThreadSetPriorityAbsoluteRealTime7, 
       
   102 	EMemSpyCmdThreadSetPriorityAbsoluteRealTime8,
       
   103 	EMemSpyCmdThreadInfo,
       
   104 	EMemSpyCmdThreadInfoHandles,
       
   105     //
       
   106     EMemSpyCmdOutput,
       
   107     EMemSpyCmdOutputToDebug,
       
   108     EMemSpyCmdOutputToFile,
       
   109     //
       
   110     EMemSpyCmdHeap,
       
   111     EMemSpyCmdHeapInfoThread,
       
   112     EMemSpyCmdHeapData,
       
   113     EMemSpyCmdHeapCellListing,
       
   114     EMemSpyCmdHeapDataDump,
       
   115     //
       
   116     EMemSpyCmdStack,
       
   117     EMemSpyCmdStackInfoThread,
       
   118     EMemSpyCmdStackData,
       
   119     EMemSpyCmdStackDataUser,
       
   120     EMemSpyCmdStackDataKernel,
       
   121     //
       
   122     EMemSpyCmdChunk,
       
   123     EMemSpyCmdChunkSort,
       
   124     EMemSpyCmdChunkSortByName,
       
   125     EMemSpyCmdChunkSortBySize,
       
   126     EMemSpyCmdChunkListing,
       
   127     //
       
   128     EMemSpyCmdCodeSeg,
       
   129     EMemSpyCmdCodeSegShow,
       
   130     EMemSpyCmdCodeSegShowItemsAll,
       
   131     EMemSpyCmdCodeSegShowItemsGlobalData,
       
   132     EMemSpyCmdCodeSegShowCaps,
       
   133     EMemSpyCmdCodeSegShowCapsWithTCBProcess,              
       
   134     EMemSpyCmdCodeSegShowCapsWithTCBAll,                  
       
   135     EMemSpyCmdCodeSegShowCapsWithCommDDProcess,           
       
   136     EMemSpyCmdCodeSegShowCapsWithCommDDAll,               
       
   137     EMemSpyCmdCodeSegShowCapsWithPowerMgmtProcess,        
       
   138     EMemSpyCmdCodeSegShowCapsWithPowerMgmtAll,            
       
   139     EMemSpyCmdCodeSegShowCapsWithMultimediaDDProcess,     
       
   140     EMemSpyCmdCodeSegShowCapsWithMultimediaDDAll,         
       
   141     EMemSpyCmdCodeSegShowCapsWithReadDeviceDataProcess,   
       
   142     EMemSpyCmdCodeSegShowCapsWithReadDeviceDataAll,       
       
   143     EMemSpyCmdCodeSegShowCapsWithWriteDeviceDataProcess,  
       
   144     EMemSpyCmdCodeSegShowCapsWithWriteDeviceDataAll,      
       
   145     EMemSpyCmdCodeSegShowCapsWithDRMProcess,              
       
   146     EMemSpyCmdCodeSegShowCapsWithDRMAll,                  
       
   147     EMemSpyCmdCodeSegShowCapsWithTrustedUIProcess,        
       
   148     EMemSpyCmdCodeSegShowCapsWithTrustedUIAll,            
       
   149     EMemSpyCmdCodeSegShowCapsWithProtServProcess,         
       
   150     EMemSpyCmdCodeSegShowCapsWithProtServAll,             
       
   151     EMemSpyCmdCodeSegShowCapsWithDiskAdminProcess,        
       
   152     EMemSpyCmdCodeSegShowCapsWithDiskAdminAll,            
       
   153     EMemSpyCmdCodeSegShowCapsWithNetworkControlProcess,   
       
   154     EMemSpyCmdCodeSegShowCapsWithNetworkControlAll,       
       
   155     EMemSpyCmdCodeSegShowCapsWithAllFilesProcess,         
       
   156     EMemSpyCmdCodeSegShowCapsWithAllFilesAll,             
       
   157     EMemSpyCmdCodeSegShowCapsWithSwEventProcess,          
       
   158     EMemSpyCmdCodeSegShowCapsWithSwEventAll,              
       
   159     EMemSpyCmdCodeSegShowCapsWithNetworkServicesProcess,  
       
   160     EMemSpyCmdCodeSegShowCapsWithNetworkServicesAll,      
       
   161     EMemSpyCmdCodeSegShowCapsWithLocalServicesProcess,    
       
   162     EMemSpyCmdCodeSegShowCapsWithLocalServicesAll,        
       
   163     EMemSpyCmdCodeSegShowCapsWithReadUserDataProcess,     
       
   164     EMemSpyCmdCodeSegShowCapsWithReadUserDataAll,         
       
   165     EMemSpyCmdCodeSegShowCapsWithWriteUserDataProcess,    
       
   166     EMemSpyCmdCodeSegShowCapsWithWriteUserDataAll,        
       
   167     EMemSpyCmdCodeSegShowCapsWithLocationProcess,         
       
   168     EMemSpyCmdCodeSegShowCapsWithLocationAll,             
       
   169     EMemSpyCmdCodeSegShowCapsWithSurroundingsDDProcess,   
       
   170     EMemSpyCmdCodeSegShowCapsWithSurroundingsDDAll,       
       
   171     EMemSpyCmdCodeSegShowCapsWithUserEnvProcess,          
       
   172     EMemSpyCmdCodeSegShowCapsWithUserEnvAll,              
       
   173     EMemSpyCmdCodeSegSort,
       
   174     EMemSpyCmdCodeSegSortByName,
       
   175     EMemSpyCmdCodeSegSortByCodeSize,
       
   176     EMemSpyCmdCodeSegSortByDataSize,
       
   177     EMemSpyCmdCodeSegSortByUid,
       
   178     EMemSpyCmdCodeSegListing,
       
   179     //
       
   180     EMemSpyCmdImages,
       
   181     EMemSpyCmdImagesSlideshow,
       
   182     EMemSpyCmdImagesSaveAllToMemoryCard,
       
   183     EMemSpyCmdImagesListing,
       
   184     //
       
   185     EMemSpyCmdActiveObject,
       
   186     EMemSpyCmdActiveObjectListing,
       
   187     //
       
   188     EMemSpyCmdServerList,
       
   189     EMemSpyCmdServerListOutput,
       
   190     EMemSpyCmdServerListOutputListCSV,
       
   191     EMemSpyCmdServerListOutputListDetailed,
       
   192     EMemSpyCmdServerListSort,
       
   193     EMemSpyCmdServerListSortByName,
       
   194     EMemSpyCmdServerListSortBySessionCount,
       
   195     //
       
   196     EMemSpyCmdKernelContainers,
       
   197     EMemSpyCmdKernelContainersOutput,
       
   198     EMemSpyCmdKernelObjects,
       
   199     EMemSpyCmdKernelObjectTerminate,
       
   200     EMemSpyCmdKernelObjectSwitchTo,
       
   201     EMemSpyCmdKernelObjectEnd,
       
   202     EMemSpyCmdKernelObjectPanic,
       
   203     
       
   204     //
       
   205     EMemSpyCmdKernelHeap,
       
   206     EMemSpyCmdKernelHeapDump,
       
   207     //
       
   208     EMemSpyCmdRAM,
       
   209     EMemSpyCmdRAMAvkonIconCacheDisabled,
       
   210     EMemSpyCmdRAMAvkonIconCacheEnabled,
       
   211     //
       
   212     EMemSpyCmdBTrace,
       
   213     EMemSpyCmdBTraceCaptureToggle,
       
   214     //
       
   215     EMemSpyCmdMemoryTracking,
       
   216     EMemSpyCmdMemoryTrackingStart,
       
   217     EMemSpyCmdMemoryTrackingStop,
       
   218     EMemSpyCmdMemoryTrackingAutoStart,
       
   219     EMemSpyCmdMemoryTrackingAutoStartItemAdd,
       
   220     EMemSpyCmdMemoryTrackingAutoStartItemEdit,
       
   221     EMemSpyCmdMemoryTrackingAutoStartItemDelete,
       
   222     EMemSpyCmdMemoryTrackingAutoStartItemDeleteAll,
       
   223     EMemSpyCmdMemoryTrackingAutoStartItemImport,
       
   224     EMemSpyCmdMemoryTrackingHWM,
       
   225     EMemSpyCmdMemoryTrackingHWMReset,
       
   226     EMemSpyCmdMemoryTrackingTotalWithSharedMem,
       
   227     EMemSpyCmdMemoryTrackingTotalWithoutSharedMem,
       
   228 
       
   229     //
       
   230     EMemSpyCmdWindowGroups,
       
   231     EMemSpyCmdWindowGroupTerminate,
       
   232     EMemSpyCmdWindowGroupSwitchTo,
       
   233     EMemSpyCmdWindowGroupEnd,
       
   234     EMemSpyCmdWindowGroupPanic
       
   235     };
       
   236 
       
   237 enum TMemSpyControlIds
       
   238     {
       
   239     EMemSpyCtrlIdProgressNote = 1000,
       
   240     EMemSpyCtrlIdSlideShowImage,
       
   241     EMemSpyCtrlIdWaitNote
       
   242     };
       
   243 
       
   244 
       
   245 
       
   246 #endif