memspyui/ui/avkon/src/MemSpyViewKernelHeap.cpp
changeset 35 98924d2efce9
parent 19 4b22a598b890
equal deleted inserted replaced
34:e0ec97ec3cc4 35:98924d2efce9
   105 		
   105 		
   106 	model = FormatModel( iHeap );	
   106 	model = FormatModel( iHeap );	
   107 				
   107 				
   108 	CAknSettingStyleListBox* listbox = static_cast< CAknSettingStyleListBox* >( iListBox );
   108 	CAknSettingStyleListBox* listbox = static_cast< CAknSettingStyleListBox* >( iListBox );
   109 	listbox->Model()->SetItemTextArray( model );
   109 	listbox->Model()->SetItemTextArray( model );
   110 	listbox->Model()->SetOwnershipType( ELbmOwnsItemArray );	
   110 	listbox->Model()->SetOwnershipType( ELbmOwnsItemArray );			
   111 	
       
   112 	/*
       
   113 	// Get list contents
       
   114 	TMemSpyHeapInfo heapInfo;
       
   115 	iEngine.HelperHeap().GetHeapInfoKernelL( heapInfo );
       
   116 	CMemSpyEngineOutputList* list = iEngine.HelperHeap().NewHeapSummaryShortLC( heapInfo );
       
   117 
       
   118 	// Set up list box
       
   119 	CAknSettingStyleListBox* listbox = static_cast< CAknSettingStyleListBox* >( iListBox );
       
   120 	listbox->Model()->SetItemTextArray( list );
       
   121 	listbox->Model()->SetOwnershipType( ELbmOwnsItemArray );
       
   122 	CleanupStack::Pop( list );
       
   123 	*/
       
   124 	}
   111 	}
   125 
   112 
   126 
   113 
   127 TBool CMemSpyViewKernelHeap::HandleCommandL( TInt aCommand )
   114 TBool CMemSpyViewKernelHeap::HandleCommandL( TInt aCommand )
   128     {
   115     {