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.

28 lines
699 B

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. #ifndef __LOGGINGPAGE__
  3. #define __LOGGINGPAGE__
  4. #include "UIHelpers.h"
  5. #include "DataSrc.h"
  6. class CLogPage : public CUIHelpers
  7. {
  8. private:
  9. public:
  10. CLogPage(DataSource *ds, bool htmlSupport) :
  11. CUIHelpers(ds, &(ds->m_rootThread), htmlSupport){}
  12. virtual ~CLogPage(void);
  13. private:
  14. virtual BOOL DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  15. void InitDlg(HWND hDlg);
  16. void Refresh(HWND hDlg);
  17. void OnApply(HWND hDlg, bool bClose);
  18. BOOL OnValidate(HWND hDlg);
  19. bool GoodPathSyntax(LPCTSTR path);
  20. DataSource::LOGSTATUS m_oldStatus; //original logging status.
  21. };
  22. #endif __LOGGINGPAGE__