Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. doc.h
  5. Abstract:
  6. Author:
  7. Sivaprasad Padisetty (sivapad) 6/25/97
  8. Revision History:
  9. --*/
  10. //
  11. /////////////////////////////////////////////////////////////////////////////
  12. #include "globals.h"
  13. class CEvtviewDoc : public CDocument
  14. {
  15. protected: // create from serialization only
  16. CEvtviewDoc();
  17. DECLARE_DYNCREATE(CEvtviewDoc)
  18. // Attributes
  19. public:
  20. CPtrList ptrlstEvent ;
  21. DWORD dwCount, dwMaxCount ;
  22. CWinThread *pWorkerThread ;
  23. EVENTTHREADPARAM sThreadParam ;
  24. // Operations
  25. public:
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CEvtviewDoc)
  29. public:
  30. virtual BOOL OnNewDocument();
  31. virtual void Serialize(CArchive& ar);
  32. //}}AFX_VIRTUAL
  33. // Implementation
  34. public:
  35. virtual ~CEvtviewDoc();
  36. void GotEvent (PEVTFILTER_TYPE pEventDetails) ;
  37. void ClearAllEvents () ;
  38. #ifdef _DEBUG
  39. virtual void AssertValid() const;
  40. virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42. protected:
  43. // Generated message map functions
  44. protected:
  45. //{{AFX_MSG(CEvtviewDoc)
  46. // NOTE - the ClassWizard will add and remove member functions here.
  47. // DO NOT EDIT what you see in these blocks of generated code !
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. /////////////////////////////////////////////////////////////////////////////