mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
32 lines
438 B
C++
Executable File
32 lines
438 B
C++
Executable File
#ifndef ADR_MIDI_DEVICE_DIALOG_H
|
|
#define ADR_MIDI_DEVICE_DIALOG_H
|
|
|
|
|
|
#include <string>
|
|
#include "wx.h"
|
|
|
|
|
|
class MIDIDeviceDialog : public wxDialog {
|
|
public:
|
|
MIDIDeviceDialog(wxWindow* parent);
|
|
|
|
const std::string& getName() const {
|
|
return m_name_str;
|
|
}
|
|
|
|
private:
|
|
void OnButton(wxCommandEvent& event);
|
|
|
|
wxTextCtrl* m_name;
|
|
|
|
wxButton* m_ok;
|
|
wxButton* m_cancel;
|
|
|
|
std::string m_name_str;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
|
|
#endif
|