dlg_WavSrcInfo.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /******************************************************************************
  2. |* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  3. |* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  4. |* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  5. |* PARTICULAR PURPOSE.
  6. |*
  7. |* Copyright 1995-2005 Nero AG. All Rights Reserved.
  8. |*-----------------------------------------------------------------------------
  9. |* PROJECT: Nero Plugin Manager Example
  10. |*
  11. |* FILE: dlg_WavSrcInfo.h
  12. |*
  13. |* PURPOSE: Declaration of the source info dialog.
  14. ******************************************************************************/
  15. #if !defined(AFX_DLG_WAVSRCINFO_H__E95FB7B0_430A_45E6_8970_876A7EBC49A9__INCLUDED_)
  16. # define AFX_DLG_WAVSRCINFO_H__E95FB7B0_430A_45E6_8970_876A7EBC49A9__INCLUDED_
  17. #if _MSC_VER > 1000
  18. # pragma once
  19. #endif // _MSC_VER > 1000
  20. // main symbols
  21. #include "resource.h"
  22. // translator class definitions
  23. #include "NeroPluginNLS.h"
  24. // interface definitions
  25. #include "AudioPluginEnv.h"
  26. class CWavSrc;
  27. class CWavSrcInfoDlg : public CDialog
  28. {
  29. // Construction
  30. public:
  31. CWavSrcInfoDlg(CWavSrc* pSource);
  32. // Operations
  33. protected:
  34. void SetModified(bool b);
  35. void UpdateModified();
  36. // Data
  37. protected:
  38. CWavSrc* m_pSource;
  39. CComQIPtr<ISrcInfoViewerEditor> m_pInfo;
  40. bool m_bModified;
  41. int m_iCustBtnCount;
  42. CPtrArray m_ptrarUserButtons;
  43. CTranslator* m_pTranslator;
  44. // Dialog Data
  45. //{{AFX_DATA(CWavSrcInfoDlg)
  46. enum { IDD = IDD_INFO };
  47. CButton m_btnStub;
  48. CButton m_btnOK;
  49. CEdit m_editDataFormat;
  50. CString m_csPath;
  51. CString m_csFileSize;
  52. CString m_csDateTime;
  53. CString m_csArtist;
  54. CString m_csDataFormat;
  55. CString m_csTitle;
  56. //}}AFX_DATA
  57. // Overrides
  58. // ClassWizard generated virtual function overrides
  59. //{{AFX_VIRTUAL(CWavSrcInfoDlg)
  60. protected:
  61. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  62. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  63. //}}AFX_VIRTUAL
  64. // Implementation
  65. protected:
  66. // Generated message map functions
  67. //{{AFX_MSG(CWavSrcInfoDlg)
  68. virtual BOOL OnInitDialog();
  69. afx_msg void OnSelendokGenre();
  70. afx_msg void OnChangeField();
  71. afx_msg void OnDestroy();
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. };
  75. //{{AFX_INSERT_LOCATION}}
  76. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  77. #endif // !defined(AFX_DLG_WAVSRCINFO_H__E95FB7B0_430A_45E6_8970_876A7EBC49A9__INCLUDED_)