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.

78 lines
1.3 KiB

  1. // Copyright (c) 2001 Microsoft Corporation
  2. //
  3. // File: FileServerPage.h
  4. //
  5. // Synopsis: Declares the File Server page
  6. // for the CYS Wizard
  7. //
  8. // History: 02/08/2001 JeffJon Created
  9. #ifndef __CYS_FILESERVERPAGE_H
  10. #define __CYS_FILESERVERPAGE_H
  11. #include "CYSWizardPage.h"
  12. #include "XBytes.h"
  13. class FileServerPage : public CYSWizardPage
  14. {
  15. public:
  16. // Constructor
  17. FileServerPage();
  18. // Destructor
  19. virtual
  20. ~FileServerPage();
  21. // Dialog overrides
  22. virtual
  23. void
  24. OnInit();
  25. // PropertyPage overrides
  26. virtual
  27. bool
  28. OnSetActive();
  29. virtual
  30. bool
  31. OnCommand(
  32. HWND windowFrom,
  33. unsigned controlIDFrom,
  34. unsigned code);
  35. protected:
  36. // CYSWizardPage overrides
  37. virtual
  38. int
  39. Validate();
  40. void
  41. SetControlState();
  42. private:
  43. void
  44. UpdateQuotaControls(
  45. unsigned controlIDFrom,
  46. unsigned editboxID);
  47. XBytes quotaUIControls;
  48. XBytes warningUIControls;
  49. // not defined: no copying allowed
  50. FileServerPage(const FileServerPage&);
  51. const FileServerPage& operator=(const FileServerPage&);
  52. };
  53. #endif // __CYS_FILESERVERPAGE_H