memspyui/include/MemSpyViewKernelContainers.h
branchRCL_3
changeset 21 b3cee849fa46
parent 20 48060abbbeaf
child 22 fad26422216a
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 MEMSPYVIEWKERNELCONTAINERS_H
       
    19 #define MEMSPYVIEWKERNELCONTAINERS_H
       
    20 
       
    21 // System includes
       
    22 #include <hal.h>
       
    23 #include <coecntrl.h>
       
    24 #include <aknlists.h>
       
    25 
       
    26 // User includes
       
    27 #include "MemSpyViewBase.h"
       
    28 
       
    29 // Classes referenced
       
    30 class CMemSpyEngineGenericKernelObjectContainer;
       
    31 
       
    32 
       
    33 class CMemSpyViewKernelContainers : public CMemSpyViewBase
       
    34     {
       
    35 public:
       
    36     CMemSpyViewKernelContainers( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver );
       
    37     ~CMemSpyViewKernelContainers();
       
    38     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
       
    39 
       
    40 public: // From CMemSpyViewBase
       
    41     void RefreshL();
       
    42     TMemSpyViewType ViewType() const;
       
    43     CMemSpyViewBase* PrepareParentViewL();
       
    44     CMemSpyViewBase* PrepareChildViewL();
       
    45 
       
    46 public: // Menu framework
       
    47     TUint MenuCascadeResourceId() const { return R_MEMSPY_MENUPANE_KERNEL_CONTAINERS; }
       
    48     TInt MenuCascadeCommandId() const { return EMemSpyCmdKernelContainers; }
       
    49 
       
    50 private: // From CMemSpyViewBase
       
    51     void SetListBoxModelL();
       
    52     TBool HandleCommandL( TInt aCommand );
       
    53 
       
    54 private: // Command handlers
       
    55     void OnCmdOutputAllContainerContentsL();
       
    56 
       
    57 private: // Internal methods
       
    58 
       
    59 private: // Data members
       
    60     CMemSpyEngineGenericKernelObjectContainer* iModel;
       
    61     };
       
    62 
       
    63 
       
    64 #endif