Ardour  9.2-266-g5d535d4cb7
mcp_http_gui.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2026 Frank Povazanj <frank.povazanj@gmail.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef _ardour_surface_mcp_http_gui_h_
20 #define _ardour_surface_mcp_http_gui_h_
21 
22 #include <ytkmm/box.h>
23 #include <ytkmm/comboboxtext.h>
24 #include <ytkmm/label.h>
25 #include <ytkmm/spinbutton.h>
26 #include <ytkmm/table.h>
27 
28 namespace ArdourSurface
29 {
30 
31 class MCPHttp;
32 
33 class MCPHttpGUI : public Gtk::VBox
34 {
35 public:
36  explicit MCPHttpGUI (MCPHttp&);
38 
39 private:
47 
49  void commit_port ();
50  void port_activate ();
52  void debug_changed ();
53 };
54 
55 } // namespace ArdourSurface
56 
57 #endif // _ardour_surface_mcp_http_gui_h_
Gtk::ComboBoxText _debug_combo
Definition: mcp_http_gui.h:45
bool port_focus_out(GdkEventFocus *)
Gtk::SpinButton _port_entry
Definition: mcp_http_gui.h:44