equal
deleted
inserted
replaced
28 |
28 |
29 // Classes referenced |
29 // Classes referenced |
30 class CMemSpyProcess; |
30 class CMemSpyProcess; |
31 class CMemSpyThread; |
31 class CMemSpyThread; |
32 class CMemSpyThreadInfoItemBase; |
32 class CMemSpyThreadInfoItemBase; |
33 |
33 class RMemSpySession; |
34 |
34 |
35 class CMemSpyViewThreadInfoItemList : public CMemSpyViewBase, public MMemSpyThreadInfoContainerObserver |
35 class CMemSpyViewThreadInfoItemList : public CMemSpyViewBase, public MMemSpyThreadInfoContainerObserver |
36 { |
36 { |
37 public: |
37 public: |
38 CMemSpyViewThreadInfoItemList( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThread& aThread ); |
38 //CMemSpyViewThreadInfoItemList( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThread& aThread ); |
|
39 CMemSpyViewThreadInfoItemList( RMemSpySession& aSession, MMemSpyViewObserver& aObserver, TProcessId aProcess, TThreadId aThread ); |
39 ~CMemSpyViewThreadInfoItemList(); |
40 ~CMemSpyViewThreadInfoItemList(); |
40 void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL ); |
41 void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL ); |
41 |
42 |
42 public: // API |
43 public: // API |
43 const CMemSpyProcess& Process() const; |
|
44 const CMemSpyThread& Thread() const; |
|
45 const CMemSpyThreadInfoItemBase& CurrentInfoItem() const; |
44 const CMemSpyThreadInfoItemBase& CurrentInfoItem() const; |
46 |
45 |
47 public: // From CMemSpyViewBase |
46 public: // From CMemSpyViewBase |
48 void RefreshL(); |
47 void RefreshL(); |
49 TMemSpyViewType ViewType() const; |
48 TMemSpyViewType ViewType() const; |
65 private: // From CMemSpyViewBase |
64 private: // From CMemSpyViewBase |
66 void SetListBoxModelL(); |
65 void SetListBoxModelL(); |
67 void HandleListBoxItemActionedL( TInt aCurrentIndex ); |
66 void HandleListBoxItemActionedL( TInt aCurrentIndex ); |
68 void HandleListBoxItemSelectedL( TInt aCurrentIndex ); |
67 void HandleListBoxItemSelectedL( TInt aCurrentIndex ); |
69 static TInt IdleUpdateListBoxModel( TAny* aSelf ); |
68 static TInt IdleUpdateListBoxModel( TAny* aSelf ); |
70 void DoIdleUpdateListBoxModelL(); |
69 void DoIdleUpdateListBoxModelL(); |
71 |
70 |
72 private: // Member data |
71 private: // Member data |
73 CMemSpyThread& iThread; |
72 //CMemSpyThread& iThread; |
|
73 TThreadId iThreadId; |
|
74 TProcessId iParentProcessId; |
74 CMemSpyThreadInfoItemBase* iCurrentInfoItem; |
75 CMemSpyThreadInfoItemBase* iCurrentInfoItem; |
|
76 TInt iCurrentInfoItemId; |
75 CPeriodic* iIdleResetListboxTimer; |
77 CPeriodic* iIdleResetListboxTimer; |
76 }; |
78 }; |
77 |
79 |
78 |
80 |
79 #endif |
81 #endif |