summarylogtreecommitdiffstats
path: root/MIDIDeviceDialog.h
blob: 64e23070b55df86b3f93f9cea5aa383fc9477a5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#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