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.

74 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Abstract:
  4. @doc
  5. @module asyncdlg.h | Header file for the Async dialog
  6. @end
  7. Author:
  8. Adi Oltean [aoltean] 10/10/1999
  9. Revision History:
  10. Name Date Comments
  11. aoltean 10/10/1999 Created
  12. --*/
  13. #if !defined(__VSS_ASYNC_DLG_H__)
  14. #define __VSS_ASYNC_DLG_H__
  15. #if _MSC_VER > 1000
  16. #pragma once
  17. #endif // _MSC_VER > 1000
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CAsyncDlg dialog
  20. class CAsyncDlg : public CVssTestGenericDlg
  21. {
  22. // Construction
  23. public:
  24. CAsyncDlg(
  25. IVssAsync *pIAsync,
  26. CWnd* pParent = NULL);
  27. ~CAsyncDlg();
  28. // Dialog Data
  29. //{{AFX_DATA(CAsyncDlg)
  30. enum { IDD = IDD_ASYNC };
  31. CString m_strState;
  32. CString m_strPercentCompleted;
  33. //}}AFX_DATA
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CAsyncDlg)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. protected:
  40. CComPtr<IVssAsync> m_pIAsync;
  41. // Generated message map functions
  42. //{{AFX_MSG(CAsyncDlg)
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnNext();
  45. afx_msg void OnWait();
  46. afx_msg void OnCancel();
  47. afx_msg void OnQueryStatus();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(__VSS_ASYNC_DLG_H__)