CutFile.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #if !defined(AFX_CUTFILE_H__B01A7B05_EE58_496E_BB87_98764D1661F3__INCLUDED_)
  2. #define AFX_CUTFILE_H__B01A7B05_EE58_496E_BB87_98764D1661F3__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // CutFile.h : header file
  7. //
  8. #include "StoneU_HC_CARDOCX.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CCutFile dialog
  11. class CCutFile : public CDialog
  12. {
  13. // Construction
  14. public:
  15. DWORD m_nMaxFrameNum;
  16. DWORD m_nMaxTime;
  17. HANDLE m_hPlayFile;
  18. CString m_csPlayFileName;
  19. FRAME_POS m_strRealBegin;
  20. FRAME_POS m_strRealEnd;
  21. BOOL SetFileName(CString csName);
  22. BOOL CheckValue();
  23. CCutFile(CWnd* pParent = NULL); // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(CCutFile)
  26. enum { IDD = IDD_CUTFILE };
  27. UINT m_nBegin;
  28. int m_nType;
  29. UINT m_nEnd;
  30. CString m_csSaveFileName;
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CCutFile)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CCutFile)
  42. afx_msg BOOL OnView();
  43. afx_msg void OnSave();
  44. virtual void OnOK();
  45. virtual BOOL OnInitDialog();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_CUTFILE_H__B01A7B05_EE58_496E_BB87_98764D1661F3__INCLUDED_)