diff -r 000000000000 -r d6fe6244b863 memspyui/include/MemSpyViewThreadInfoItemHeap.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/memspyui/include/MemSpyViewThreadInfoItemHeap.h Tue Feb 02 00:17:27 2010 +0200 @@ -0,0 +1,49 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + +#ifndef MEMSPYVIEWTHREADINFOITEMHEAP_H +#define MEMSPYVIEWTHREADINFOITEMHEAP_H + +// System includes +#include +#include + +// User includes +#include "MemSpyViewThreadInfoItemGeneric.h" + + +class CMemSpyViewThreadInfoItemHeap : public CMemSpyViewThreadInfoItemGeneric + { +public: + CMemSpyViewThreadInfoItemHeap( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aContainer ); + +public: // From CMemSpyViewBase + TBool HandleCommandL( TInt aCommand ); + +public: // Menu framework + TUint MenuCascadeResourceId() const { return R_MEMSPY_MENUPANE_HEAP; } + TInt MenuCascadeCommandId() const { return EMemSpyCmdHeap; } + void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ); + +private: // Command handlers + void OnCmdHeapDataL(); + void OnCmdHeapCellListingL(); + void OnCmdHeapInfoL(); + }; + + +#endif