1
0

WelcomeDialog.h 751 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * WelcomeDialog.cpp
  3. * -----------------
  4. * Purpose: "First run" OpenMPT welcome dialog
  5. * Notes : (currently none)
  6. * Authors: OpenMPT Devs
  7. * The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
  8. */
  9. #pragma once
  10. #include "openmpt/all/BuildSettings.hpp"
  11. #include "../common/mptPathString.h"
  12. OPENMPT_NAMESPACE_BEGIN
  13. class WelcomeDlg : public CDialog
  14. {
  15. protected:
  16. mpt::PathString m_vstPath;
  17. public:
  18. WelcomeDlg(CWnd *parent);
  19. protected:
  20. BOOL OnInitDialog() override;
  21. void OnOK() override;
  22. void OnCancel() override;
  23. void PostNcDestroy() override { CDialog::PostNcDestroy(); delete this; }
  24. afx_msg void OnOptions();
  25. afx_msg void OnScanPlugins();
  26. DECLARE_MESSAGE_MAP()
  27. };
  28. OPENMPT_NAMESPACE_END