Leaked source code of windows server 2003
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.

40 lines
876 B

  1. #ifndef _source_h
  2. #define _source_h
  3. #include "evntfind.h"
  4. class CTcSource;
  5. class CLcSource;
  6. class CMessage;
  7. class CEventFindDlg;
  8. class CXMessageArray;
  9. class CXEventSource;
  10. class CEventTrapDlg;
  11. class CSource
  12. {
  13. public:
  14. CSource();
  15. ~CSource();
  16. SCODE Create(CEventTrapDlg* pdlgEventTrap);
  17. SCODE CreateWindowEpilogue();
  18. BOOL Find(BOOL bSearchTree, CString sText, BOOL bWholeWord, BOOL bMatchCase);
  19. void OnFind(CWnd* pwndParent);
  20. void GetSelectedMessages(CXMessageArray& aMessages);
  21. void NotifyTrappingChange(CXEventSource* pEventSource, DWORD dwId, BOOL bIsTrapping);
  22. void NotifyTcSelChanged();
  23. CXEventSource* m_pEventSource;
  24. private:
  25. CLcSource* m_plcSource;
  26. CTcSource* m_ptcSource;
  27. CEventTrapDlg* m_pdlgEventTrap;
  28. friend class CEventFindDlg;
  29. CEventFindDlg* m_pdlgFind;
  30. };
  31. #endif _source_h