memspyui/include/MemSpyViewRAMInfo.h
changeset 0 d6fe6244b863
equal deleted inserted replaced
-1:000000000000 0:d6fe6244b863
       
     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 MEMSPYVIEWRAMINFO_H
       
    19 #define MEMSPYVIEWRAMINFO_H
       
    20 
       
    21 // System includes
       
    22 #include <coecntrl.h>
       
    23 #include <aknlists.h>
       
    24 
       
    25 // User includes
       
    26 #include "MemSpyViewBase.h"
       
    27 
       
    28 // Classes referenced
       
    29 
       
    30 
       
    31 class CMemSpyViewRAMInfo : public CMemSpyViewBase
       
    32     {
       
    33 public:
       
    34     CMemSpyViewRAMInfo( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver );
       
    35     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
       
    36 
       
    37 public: // From CMemSpyViewBase
       
    38     void RefreshL();
       
    39     TMemSpyViewType ViewType() const;
       
    40     CMemSpyViewBase* PrepareParentViewL();
       
    41     CMemSpyViewBase* PrepareChildViewL();
       
    42     TBool HandleCommandL( TInt aCommand );
       
    43 
       
    44 public: // Menu framework
       
    45     TUint MenuCascadeResourceId() const { return R_MEMSPY_MENUPANE_RAM; }
       
    46     TInt MenuCascadeCommandId() const { return EMemSpyCmdRAM; }
       
    47 
       
    48 private: // Command handlers
       
    49     void OnCmdSetIconCacheStatusL( TBool aEnabled );
       
    50 
       
    51 private: // From CMemSpyViewBase
       
    52     void SetListBoxModelL();
       
    53 
       
    54 private: // Data members
       
    55     };
       
    56 
       
    57 
       
    58 #endif