memspyui/ui/avkon/inc/MemSpyViewThreadInfoItemGeneric.h
changeset 19 4b22a598b890
parent 17 4f2773374eff
child 31 e7a04a6385be
equal deleted inserted replaced
17:4f2773374eff 19:4b22a598b890
    22 #include <coecntrl.h>
    22 #include <coecntrl.h>
    23 #include <aknlists.h>
    23 #include <aknlists.h>
    24 
    24 
    25 // Engine includes
    25 // Engine includes
    26 #include <memspy/engine/memspyengineobjectthreadinfoobjects.h>
    26 #include <memspy/engine/memspyengineobjectthreadinfoobjects.h>
       
    27 #include <memspy/api/memspyapithreadinfoitem.h>
    27 
    28 
    28 // User includes
    29 // User includes
    29 #include "MemSpyViewBase.h"
    30 #include "MemSpyViewBase.h"
    30 
    31 
    31 // Classes referenced
    32 // Classes referenced
    32 class CAknWaitDialog;
    33 class CAknWaitDialog;
    33 class CMemSpyProcess;
    34 class CMemSpyProcess;
    34 class CMemSpyThread;
    35 class CMemSpyThread;
    35 class CMemSpyThreadInfoContainer;
    36 class CMemSpyThreadInfoContainer;
    36 class CMemSpyThreadInfoItemBase;
    37 class CMemSpyThreadInfoItemBase;
    37 
    38 class RMemSpySession;
    38 
    39 
    39 class CMemSpyViewThreadInfoItemGeneric : public CMemSpyViewBase
    40 class CMemSpyViewThreadInfoItemGeneric : public CMemSpyViewBase
    40     {
    41     {
    41 public:
    42 public:
    42     CMemSpyViewThreadInfoItemGeneric( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aInfoContainer, TMemSpyThreadInfoItemType aType );
    43     //CMemSpyViewThreadInfoItemGeneric( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, CMemSpyThreadInfoContainer& aInfoContainer, TMemSpyThreadInfoItemType aType );
       
    44 	CMemSpyViewThreadInfoItemGeneric( RMemSpySession& aSession, MMemSpyViewObserver& aObserver, TProcessId aProcessId, TThreadId aId, TMemSpyThreadInfoItemType aType );
    43     ~CMemSpyViewThreadInfoItemGeneric();
    45     ~CMemSpyViewThreadInfoItemGeneric();
    44 
    46 
    45 public: // From CMemSpyViewBase
    47 public: // From CMemSpyViewBase
    46     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
    48     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
    47 
    49 
    67     void ShowWaitNoteL();
    69     void ShowWaitNoteL();
    68     void DestroyWaitNote();
    70     void DestroyWaitNote();
    69     static TInt CheckForItemConstructionComplete( TAny* aSelf );
    71     static TInt CheckForItemConstructionComplete( TAny* aSelf );
    70 
    72 
    71 protected: // Member data
    73 protected: // Member data
    72     CMemSpyThreadInfoContainer& iContainer;
    74     //CMemSpyThreadInfoContainer& iContainer;
    73     CMemSpyThreadInfoItemBase* iInfoItem;
    75     //CMemSpyThreadInfoItemBase* iInfoItem;
    74 
    76     
    75 private: // Member data
    77 private: // Member data
    76     CAknWaitDialog* iWaitNote;
    78     CAknWaitDialog* iWaitNote;
    77     CPeriodic* iWaitConstructionChecker;
    79     CPeriodic* iWaitConstructionChecker;
       
    80     
       
    81     RArray<CMemSpyApiThreadInfoItem*> iThreadInfoItems;  //cigasto
       
    82     CDesCArrayFlat* iModel;
       
    83     TThreadId iThreadId;
       
    84     TProcessId iParentProcessId;
       
    85     TMemSpyThreadInfoItemType iType;
    78     };
    86     };
    79 
    87 
    80 
    88 
    81 #endif
    89 #endif