memspyui/ui/avkon/inc/MemSpyViewThreadInfoItemStack.h
branchRCL_3
changeset 21 b3cee849fa46
equal deleted inserted replaced
20:48060abbbeaf 21:b3cee849fa46
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MEMSPYVIEWTHREADINFOITEMSTACK_H
       
    19 #define MEMSPYVIEWTHREADINFOITEMSTACK_H
       
    20 
       
    21 // System includes
       
    22 #include <coecntrl.h>
       
    23 #include <aknlists.h>
       
    24 
       
    25 // User includes
       
    26 #include "MemSpyViewThreadInfoItemGeneric.h"
       
    27 
       
    28 class RMemSpySession;
       
    29 
       
    30 class CMemSpyViewThreadInfoItemStack : public CMemSpyViewThreadInfoItemGeneric
       
    31     {
       
    32 public:
       
    33     CMemSpyViewThreadInfoItemStack( RMemSpySession& aSession, MMemSpyViewObserver& aObserver, TProcessId aProcId, TThreadId aId, TMemSpyThreadInfoItemType aType );
       
    34 
       
    35 public: // From CMemSpyViewBase
       
    36     TBool HandleCommandL( TInt aCommand );
       
    37 
       
    38 public: // Menu framework
       
    39     TUint MenuCascadeResourceId() const { return R_MEMSPY_MENUPANE_STACK; }
       
    40     TInt MenuCascadeCommandId() const { return EMemSpyCmdStack; }
       
    41     void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
       
    42 
       
    43 private: // Command handlers
       
    44     void OnCmdDeviceStackSummaryL();
       
    45     void OnCmdStackInfoL();
       
    46     void OnCmdStackDataUserL();
       
    47     void OnCmdStackDataKernelL();
       
    48     void OnCmdStackDataUserAllThreadsL();
       
    49     void OnCmdStackDataKernelAllThreadsL();
       
    50     void OnCmdStackWatchForHighWatermarkL();
       
    51     };
       
    52 
       
    53 
       
    54 #endif