equal
deleted
inserted
replaced
31 #include "MemSpyContainerObserver.h" |
31 #include "MemSpyContainerObserver.h" |
32 #include "MemSpyViewCodeSegList.h" |
32 #include "MemSpyViewCodeSegList.h" |
33 |
33 |
34 |
34 |
35 |
35 |
36 CMemSpyViewThreadInfoItemCodeSeg::CMemSpyViewThreadInfoItemCodeSeg( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aContainer ) |
36 CMemSpyViewThreadInfoItemCodeSeg::CMemSpyViewThreadInfoItemCodeSeg( RMemSpySession& aSession, MMemSpyViewObserver& aObserver, TProcessId aProcId, TThreadId aId, TMemSpyThreadInfoItemType aType ) |
37 : CMemSpyViewThreadInfoItemGeneric( aEngine, aObserver, aContainer, EMemSpyThreadInfoItemTypeCodeSeg ) |
37 : CMemSpyViewThreadInfoItemGeneric( aSession, aObserver, aProcId, aId, EMemSpyThreadInfoItemTypeCodeSeg ) |
38 { |
38 { |
39 } |
39 } |
40 |
40 |
41 |
41 |
42 TBool CMemSpyViewThreadInfoItemCodeSeg::HandleCommandL( TInt aCommand ) |
42 TBool CMemSpyViewThreadInfoItemCodeSeg::HandleCommandL( TInt aCommand ) |
45 return handled; |
45 return handled; |
46 } |
46 } |
47 |
47 |
48 |
48 |
49 CMemSpyViewBase* CMemSpyViewThreadInfoItemCodeSeg::PrepareChildViewL() |
49 CMemSpyViewBase* CMemSpyViewThreadInfoItemCodeSeg::PrepareChildViewL() |
50 { |
50 { |
51 CMemSpyViewBase* child = NULL; |
51 CMemSpyViewBase* child = NULL; |
52 |
52 /* TODO |
53 // Get the code segment list |
53 // Get the code segment list |
54 CMemSpyThreadInfoCodeSeg* codeSegInfoItem = static_cast< CMemSpyThreadInfoCodeSeg* >( iInfoItem ); |
54 CMemSpyThreadInfoCodeSeg* codeSegInfoItem = static_cast< CMemSpyThreadInfoCodeSeg* >( iInfoItem ); |
55 CMemSpyEngineCodeSegList* list = &codeSegInfoItem->List(); |
55 CMemSpyEngineCodeSegList* list = &codeSegInfoItem->List(); |
56 |
56 |
57 // Get the current code segment that corresponds to our currently focused list item. |
57 // Get the current code segment that corresponds to our currently focused list item. |
67 |
67 |
68 CleanupStack::PushL( child ); |
68 CleanupStack::PushL( child ); |
69 child->ConstructL( Rect(), *Parent() ); |
69 child->ConstructL( Rect(), *Parent() ); |
70 CleanupStack::Pop( child ); |
70 CleanupStack::Pop( child ); |
71 } |
71 } |
72 |
72 */ |
73 return child; |
73 return child; |
74 } |
74 } |
75 |
75 |
76 |
76 |