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.

95 lines
2.2 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Abstract:
  4. @doc
  5. @module DiffDlg.h | Header file for the diff dialog
  6. @end
  7. Author:
  8. Adi Oltean [aoltean] 01/25/2000
  9. Revision History:
  10. Name Date Comments
  11. aoltean 01/25/2000 Created
  12. --*/
  13. #if !defined(__VSS_DIFF_DLG_H__)
  14. #define __VSS_DIFF_DLG_H__
  15. #if _MSC_VER > 1000
  16. #pragma once
  17. #endif // _MSC_VER > 1000
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CDiffDlg dialog
  20. class CDiffDlg : public CVssTestGenericDlg
  21. {
  22. typedef enum _EMethodType {
  23. VSST_F_ADD_VOL,
  24. VSST_F_QUERY_DIFF,
  25. VSST_F_CLEAR_DIFF,
  26. VSST_F_GET_SIZES,
  27. VSST_F_SET_ALLOCATED,
  28. VSST_F_SET_MAXIMUM
  29. } EMethodType;
  30. // Construction
  31. public:
  32. CDiffDlg(
  33. IVssCoordinator *pICoord,
  34. CWnd* pParent = NULL);
  35. ~CDiffDlg();
  36. // Dialog Data
  37. //{{AFX_DATA(CDiffDlg)
  38. enum { IDD = IDD_DIFF_AREA };
  39. CString m_strVolumeName;
  40. CString m_strVolumeMountPoint;
  41. CString m_strVolumeDevice;
  42. CString m_strVolumeID;
  43. CString m_strUsedBytes;
  44. CString m_strAllocatedBytes;
  45. CString m_strMaximumBytes;
  46. //}}AFX_DATA
  47. // ClassWizard generated virtual function overrides
  48. //{{AFX_VIRTUAL(CDiffDlg)
  49. protected:
  50. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  51. //}}AFX_VIRTUAL
  52. protected:
  53. CComPtr<IVssCoordinator> m_pICoord;
  54. // CComPtr<IVsDiffArea> m_pIDiffArea;
  55. CComPtr<IVssEnumObject> m_pEnum;
  56. EMethodType m_eMethodType;
  57. // Generated message map functions
  58. //{{AFX_MSG(CDiffDlg)
  59. virtual BOOL OnInitDialog();
  60. afx_msg void OnNext();
  61. afx_msg void OnAddVol();
  62. afx_msg void OnQueryDiff();
  63. afx_msg void OnClearDiff();
  64. afx_msg void OnGetSizes();
  65. afx_msg void OnSetAllocated();
  66. afx_msg void OnSetMaximum();
  67. afx_msg void OnNextVolume();
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. };
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  73. #endif // !defined(__VSS_DIFF_DLG_H__)