VerifyDlg.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. ** Command & Conquer Generals(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #if !defined(AFX_VERIFYDLG_H__88E9C121_599B_11D3_B9DA_006097B90D93__INCLUDED_)
  19. #define AFX_VERIFYDLG_H__88E9C121_599B_11D3_B9DA_006097B90D93__INCLUDED_
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif // _MSC_VER > 1000
  23. // VerifyDlg.h : header file
  24. //
  25. #include "transDB.h"
  26. #define IDSKIP 100
  27. /////////////////////////////////////////////////////////////////////////////
  28. // VerifyDlg dialog
  29. class VerifyDlg : public CDialog
  30. {
  31. CBitmapButton stop;
  32. CBitmapButton play;
  33. CBitmapButton pause;
  34. CWnd *wave;
  35. CStatic *text;
  36. NoxText *nox_text;
  37. LANGINFO *linfo;
  38. UINT timer;
  39. char wavefile[1024];
  40. CSliderCtrl *slider;
  41. // Construction
  42. public:
  43. VerifyDlg(NoxText *ntext, LangID langid, const char *path, CWnd* pParent = NULL); // standard constructor
  44. void CloseAudio ( void );
  45. // Dialog Data
  46. //{{AFX_DATA(VerifyDlg)
  47. enum { IDD = IDD_MATCHDIALOG };
  48. // NOTE: the ClassWizard will add data members here
  49. //}}AFX_DATA
  50. // Overrides
  51. // ClassWizard generated virtual function overrides
  52. //{{AFX_VIRTUAL(VerifyDlg)
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. //}}AFX_VIRTUAL
  56. // Implementation
  57. protected:
  58. // Generated message map functions
  59. //{{AFX_MSG(VerifyDlg)
  60. virtual BOOL OnInitDialog();
  61. afx_msg void OnNomatch();
  62. afx_msg void OnMatch();
  63. virtual void OnCancel();
  64. afx_msg void OnStop();
  65. afx_msg void OnPlay();
  66. afx_msg void OnPause();
  67. afx_msg void OnTimer(UINT nIDEvent);
  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(AFX_VERIFYDLG_H__88E9C121_599B_11D3_B9DA_006097B90D93__INCLUDED_)