SpeedComboBox.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. |* NeroSDK / NVAPIExample
  10. |*
  11. |* PROGRAM: SpeedComboBox.h
  12. |*
  13. |* PURPOSE: A combobox that holds all available speeds for a particular
  14. |* recorder.
  15. ******************************************************************************/
  16. #ifndef _NVAPIEXAMPLE_SPEED_COMBOBOX_H_
  17. #define _NVAPIEXAMPLE_SPEED_COMBOBOX_H_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. class CSpeedComboBox : public CComboBox
  22. {
  23. // Construction
  24. public:
  25. CSpeedComboBox() {}
  26. virtual ~CSpeedComboBox() {}
  27. // Attributes
  28. public:
  29. // Operations
  30. public:
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CSpeedComboBox)
  34. //}}AFX_VIRTUAL
  35. // Generated message map functions
  36. protected:
  37. //{{AFX_MSG(CSpeedComboBox)
  38. // NOTE - the ClassWizard will add and remove member functions here.
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. public:
  42. void RefreshSpeeds (const NERO_SCSI_DEVICE_INFO * pnsdi);
  43. DWORD GetSelectedSpeed (void) const;
  44. };
  45. /////////////////////////////////////////////////////////////////////////////
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48. #endif