memspyui/ui/avkon/inc/MemSpyViewKernel.h
branchRCL_3
changeset 19 b3cee849fa46
equal deleted inserted replaced
18:48060abbbeaf 19: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 MEMSPYVIEWKERNEL_H
       
    19 #define MEMSPYVIEWKERNEL_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 RMemSpySession;
       
    31 
       
    32 class CMemSpyViewKernel : public CMemSpyViewBase
       
    33     {
       
    34 public:
       
    35     CMemSpyViewKernel( RMemSpySession& aSession, MMemSpyViewObserver& aObserver );
       
    36     ~CMemSpyViewKernel();
       
    37     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
       
    38 
       
    39 public: // From CMemSpyViewBase
       
    40     void RefreshL();
       
    41     TMemSpyViewType ViewType() const;
       
    42     CMemSpyViewBase* PrepareParentViewL();
       
    43     CMemSpyViewBase* PrepareChildViewL();
       
    44 
       
    45 private: // From CMemSpyViewBase
       
    46     void SetListBoxModelL();
       
    47 
       
    48 private: // Internal methods
       
    49     static TInt IndexByViewType( TMemSpyViewType aType );
       
    50 
       
    51 private: // Data members
       
    52     };
       
    53 
       
    54 
       
    55 #endif