|
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 MEMSPYVIEWTHREADINFOITEMSTACK_H |
|
19 #define MEMSPYVIEWTHREADINFOITEMSTACK_H |
|
20 |
|
21 // System includes |
|
22 #include <coecntrl.h> |
|
23 #include <aknlists.h> |
|
24 |
|
25 // User includes |
|
26 #include "MemSpyViewThreadInfoItemGeneric.h" |
|
27 |
|
28 |
|
29 class CMemSpyViewThreadInfoItemStack : public CMemSpyViewThreadInfoItemGeneric |
|
30 { |
|
31 public: |
|
32 CMemSpyViewThreadInfoItemStack( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aContainer ); |
|
33 |
|
34 public: // From CMemSpyViewBase |
|
35 TBool HandleCommandL( TInt aCommand ); |
|
36 |
|
37 public: // Menu framework |
|
38 TUint MenuCascadeResourceId() const { return R_MEMSPY_MENUPANE_STACK; } |
|
39 TInt MenuCascadeCommandId() const { return EMemSpyCmdStack; } |
|
40 void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
41 |
|
42 private: // Command handlers |
|
43 void OnCmdDeviceStackSummaryL(); |
|
44 void OnCmdStackInfoL(); |
|
45 void OnCmdStackDataUserL(); |
|
46 void OnCmdStackDataKernelL(); |
|
47 void OnCmdStackDataUserAllThreadsL(); |
|
48 void OnCmdStackDataKernelAllThreadsL(); |
|
49 void OnCmdStackWatchForHighWatermarkL(); |
|
50 }; |
|
51 |
|
52 |
|
53 #endif |