Counter Strike : Global Offensive Source Code
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.

52 lines
1.1 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef __SYNC_FILE_DIALOG_H
  9. #define __SYNC_FILE_DIALOG_H
  10. #pragma once
  11. #include "afxwin.h"
  12. struct P4File_t;
  13. // CSyncFileDialog dialog
  14. class CSyncFileDialog : public CDialog
  15. {
  16. DECLARE_DYNAMIC(CSyncFileDialog)
  17. public:
  18. CSyncFileDialog( P4File_t *pFileInfo, CWnd* pParent = NULL ); // standard constructor
  19. virtual ~CSyncFileDialog();
  20. // Dialog Data
  21. enum { IDD = IDD_DIALOG_SYNC_FILE };
  22. protected:
  23. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  24. P4File_t *m_pFileInfo;
  25. DECLARE_MESSAGE_MAP()
  26. public:
  27. CStatic m_FileNameControl;
  28. CStatic m_RevisionControl;
  29. CButton m_DoOperationControl;
  30. CStatic m_IconControl;
  31. afx_msg void OnBnClickedOk();
  32. afx_msg void OnBnClickedCancel();
  33. virtual BOOL OnInitDialog();
  34. static bool m_bRepeatOperation;
  35. static bool m_bDoSync;
  36. };
  37. void CheckForFileSync( const char *pszFileName, bool bClearRepeat );
  38. #endif // __SYNC_FILE_DIALOG_H