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 class RMemSpySession; |
|
32 |
|
33 class CMemSpyViewThreadInfoItemServer : public CMemSpyViewThreadInfoItemGeneric |
|
34 { |
|
35 public: |
|
36 CMemSpyViewThreadInfoItemServer( RMemSpySession& aSession, MMemSpyViewObserver& aObserver, TProcessId aProcId, TThreadId aId, TMemSpyThreadInfoItemType aType ); |
|
37 |
|
38 public: // From CMemSpyViewBase |
|
39 void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL ); |
|
40 |
|
41 public: // From CMemSpyViewBase |
|
42 TBool HandleCommandL( TInt aCommand ); |
|
43 void HandleListBoxItemSelectedL( TInt aCurrentIndex ); |
|
44 |
|
45 public: // From CMemSpyViewBase |
|
46 CMemSpyViewBase* PrepareChildViewL(); |
|
47 |
|
48 private: // Data members |
|
49 TMemSpyDriverHandleInfoGeneric iCurrentInfoItemDetails; |
|
50 }; |
|
51 |
|
52 |
|
53 |
|
54 class CMemSpyViewThreadInfoItemServerDetails : public CMemSpyViewThreadInfoItemGeneric |
|
55 { |
|
56 public: |
|
57 CMemSpyViewThreadInfoItemServerDetails( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aContainer, const TMemSpyDriverHandleInfoGeneric& aInfoItemDetails ); |
|
58 |
|
59 public: // From CMemSpyViewBase |
|
60 void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL ); |
|
61 |
|
62 public: // From CMemSpyViewBase |
|
63 TBool HandleCommandL( TInt aCommand ); |
|
64 TMemSpyViewType ViewType() const; |
|
65 CMemSpyViewBase* PrepareChildViewL(); |
|
66 CMemSpyViewBase* PrepareParentViewL(); |
|
67 |
|
68 private: // From CMemSpyViewBase |
|
69 void SetListBoxModelL(); |
|
70 void HandleListBoxItemActionedL( TInt aCurrentIndex ); |
|
71 void HandleListBoxItemSelectedL( TInt aCurrentIndex ); |
|
72 |
|
73 private: // Internal methods |
|
74 |
|
75 private: // Member data |
|
76 const TMemSpyDriverHandleInfoGeneric iInfoItemDetails; |
|
77 }; |
|
78 |
|
79 |
|
80 |
|
81 class CMemSpyViewThreadInfoItemServerSessions : public CMemSpyViewThreadInfoItemGeneric |
|
82 { |
|
83 public: |
|
84 CMemSpyViewThreadInfoItemServerSessions( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aContainer, const TMemSpyDriverHandleInfoGeneric& aInfoItemDetails ); |
|
85 |
|
86 public: // From CMemSpyViewBase |
|
87 void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL ); |
|
88 |
|
89 public: // From CMemSpyViewBase |
|
90 TBool HandleCommandL( TInt aCommand ); |
|
91 TMemSpyViewType ViewType() const; |
|
92 CMemSpyViewBase* PrepareParentViewL(); |
|
93 |
|
94 private: // From CMemSpyViewBase |
|
95 void SetListBoxModelL(); |
|
96 |
|
97 private: // Member data |
|
98 const TMemSpyDriverHandleInfoGeneric iInfoItemDetails; |
|
99 }; |
|
100 |
|
101 |
|
102 |
|
103 #endif |
|