diff -r 5db69f4c3d06 -r b048e15729d6 memspyui/ui/avkon/inc/MemSpyViewHeapTracking.h --- a/memspyui/ui/avkon/inc/MemSpyViewHeapTracking.h Mon Aug 23 15:50:54 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ -/* -* 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 MEMSPYVIEWHEAPTRACKING_H -#define MEMSPYVIEWHEAPTRACKING_H - -// System includes -#include -#include -#include - -// Engine includes -#include -#include - -// User includes -#include "MemSpyViewBase.h" - -// Classes referenced - - -class CMemSpyViewHeapTracking : public CMemSpyViewBase, public MMemSpyEngineHelperSysMemTrackerObserver - { -public: - CMemSpyViewHeapTracking( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver ); - ~CMemSpyViewHeapTracking(); - void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL ); - -public: // From CMemSpyViewBase - void RefreshL(); - TMemSpyViewType ViewType() const; - CMemSpyViewBase* PrepareParentViewL(); - CMemSpyViewBase* PrepareChildViewL(); - -public: - static TInt AsyncStopTimerCallback( TAny* aParam ); - -private: // From CMemSpyViewBase - void SetListBoxModelL(); - -private: // From MMemSpyEngineHelperSysMemTrackerObserver - void HandleCyclesResetL(); - void HandleCycleStartedL( const CMemSpyEngineHelperSysMemTrackerCycle& aCycle ); - void HandleCycleFinishedL( const CMemSpyEngineHelperSysMemTrackerCycle& aCycle ); - -private: // Internal methods - TInt IndexByViewType( TMemSpyViewType aType ); - void SetConfigByModeL( TMemSpyEngineHelperSysMemTrackerConfig::TMemSpyEngineSysMemTrackerMode aMode, TMemSpyEngineHelperSysMemTrackerConfig& aConfig ); - TInt AsyncStopTimerCallback(); - -private: // Enum - enum TMemSpyViewHeapTrackingState - { - EMemSpyViewHeapTrackingStateIdle = 0, - EMemSpyViewHeapTrackingStateTimerOn, - EMemSpyViewHeapTrackingStateSingleOn - }; - -private: // Data - TMemSpyEngineHelperSysMemTrackerConfig iOriginalConfig; - TMemSpyViewHeapTrackingState iState; - CAsyncCallBack* iStopTimerCallBack; - }; - - -#endif