diff -r 31fc1277642e -r 41ebde60981f memspyui/ui/avkon/inc/MemSpyViewThreadInfoItemList.h --- a/memspyui/ui/avkon/inc/MemSpyViewThreadInfoItemList.h Thu May 13 21:10:48 2010 +0300 +++ b/memspyui/ui/avkon/inc/MemSpyViewThreadInfoItemList.h Fri May 14 15:15:12 2010 +0300 @@ -30,18 +30,17 @@ class CMemSpyProcess; class CMemSpyThread; class CMemSpyThreadInfoItemBase; - +class RMemSpySession; class CMemSpyViewThreadInfoItemList : public CMemSpyViewBase, public MMemSpyThreadInfoContainerObserver { public: - CMemSpyViewThreadInfoItemList( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThread& aThread ); + //CMemSpyViewThreadInfoItemList( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThread& aThread ); + CMemSpyViewThreadInfoItemList( RMemSpySession& aSession, MMemSpyViewObserver& aObserver, TProcessId aProcess, TThreadId aThread ); ~CMemSpyViewThreadInfoItemList(); void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL ); public: // API - const CMemSpyProcess& Process() const; - const CMemSpyThread& Thread() const; const CMemSpyThreadInfoItemBase& CurrentInfoItem() const; public: // From CMemSpyViewBase @@ -67,11 +66,14 @@ void HandleListBoxItemActionedL( TInt aCurrentIndex ); void HandleListBoxItemSelectedL( TInt aCurrentIndex ); static TInt IdleUpdateListBoxModel( TAny* aSelf ); - void DoIdleUpdateListBoxModelL(); + void DoIdleUpdateListBoxModelL(); private: // Member data - CMemSpyThread& iThread; + //CMemSpyThread& iThread; + TThreadId iThreadId; + TProcessId iParentProcessId; CMemSpyThreadInfoItemBase* iCurrentInfoItem; + TInt iCurrentInfoItemId; CPeriodic* iIdleResetListboxTimer; };