memspyui/include/MemSpyViewThreadInfoItemServer.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 MEMSPYVIEWTHREADINFOITEMSERVER_H
       
    19 #define MEMSPYVIEWTHREADINFOITEMSERVER_H
       
    20 
       
    21 // System includes
       
    22 #include <coecntrl.h>
       
    23 #include <aknlists.h>
       
    24 #include <badesca.h>
       
    25 
       
    26 // User includes
       
    27 #include "MemSpyViewThreadInfoItemGeneric.h"
       
    28 
       
    29 // Classes referenced
       
    30 class TMemSpyDriverHandleInfoGeneric;
       
    31 
       
    32 
       
    33 
       
    34 class CMemSpyViewThreadInfoItemServer : public CMemSpyViewThreadInfoItemGeneric
       
    35     {
       
    36 public:
       
    37     CMemSpyViewThreadInfoItemServer( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aContainer );
       
    38 
       
    39 public: // From CMemSpyViewBase
       
    40     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
       
    41 
       
    42 public: // From CMemSpyViewBase
       
    43     TBool HandleCommandL( TInt aCommand );
       
    44     void HandleListBoxItemSelectedL( TInt aCurrentIndex );
       
    45 
       
    46 public: // From CMemSpyViewBase
       
    47     CMemSpyViewBase* PrepareChildViewL();
       
    48 
       
    49 private: // Data members
       
    50     TMemSpyDriverHandleInfoGeneric iCurrentInfoItemDetails;
       
    51     };
       
    52 
       
    53 
       
    54 
       
    55 class CMemSpyViewThreadInfoItemServerDetails : public CMemSpyViewThreadInfoItemGeneric
       
    56     {
       
    57 public:
       
    58     CMemSpyViewThreadInfoItemServerDetails( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aContainer, const TMemSpyDriverHandleInfoGeneric& aInfoItemDetails );
       
    59 
       
    60 public: // From CMemSpyViewBase
       
    61     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
       
    62 
       
    63 public: // From CMemSpyViewBase
       
    64     TBool HandleCommandL( TInt aCommand );
       
    65     TMemSpyViewType ViewType() const;
       
    66     CMemSpyViewBase* PrepareChildViewL();
       
    67     CMemSpyViewBase* PrepareParentViewL();
       
    68 
       
    69 private: // From CMemSpyViewBase
       
    70     void SetListBoxModelL();
       
    71     void HandleListBoxItemActionedL( TInt aCurrentIndex );
       
    72     void HandleListBoxItemSelectedL( TInt aCurrentIndex );
       
    73 
       
    74 private: // Internal methods
       
    75 
       
    76 private: // Member data
       
    77     const TMemSpyDriverHandleInfoGeneric iInfoItemDetails;
       
    78     };
       
    79 
       
    80 
       
    81 
       
    82 class CMemSpyViewThreadInfoItemServerSessions : public CMemSpyViewThreadInfoItemGeneric
       
    83     {
       
    84 public:
       
    85     CMemSpyViewThreadInfoItemServerSessions( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aContainer, const TMemSpyDriverHandleInfoGeneric& aInfoItemDetails );
       
    86 
       
    87 public: // From CMemSpyViewBase
       
    88     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
       
    89 
       
    90 public: // From CMemSpyViewBase
       
    91     TBool HandleCommandL( TInt aCommand );
       
    92     TMemSpyViewType ViewType() const;
       
    93     CMemSpyViewBase* PrepareParentViewL();
       
    94 
       
    95 private: // From CMemSpyViewBase
       
    96     void SetListBoxModelL();
       
    97 
       
    98 private: // Member data
       
    99     const TMemSpyDriverHandleInfoGeneric iInfoItemDetails;
       
   100     };
       
   101 
       
   102 
       
   103 
       
   104 #endif