Ardour  8.12
video_server_dialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013-2017 Robin Gareus <robin@gareus.org>
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 #ifndef __gtk_ardour_video_server_dialog_h__
19 #define __gtk_ardour_video_server_dialog_h__
20 
21 #include <string>
22 
23 #include <gtkmm/adjustment.h>
24 #include <gtkmm/button.h>
25 #include <gtkmm/checkbutton.h>
26 #include <gtkmm/comboboxtext.h>
27 #include <gtkmm/entry.h>
28 #include <gtkmm/label.h>
29 #include <gtkmm/spinbutton.h>
30 
31 #include "ardour/types.h"
32 #include "ardour/template_utils.h"
33 #include "ardour_dialog.h"
34 
39 {
40 public:
43 
44  std::string get_exec_path () { return path_entry.get_text(); }
45  std::string get_docroot ();
46  std::string get_listenaddr () { return listenaddr_combo.get_active_text();}
50 
51 private:
52  void on_show ();
55 
59 
63 
70 };
71 
72 #endif /* __gtk_ardour_video_server_dialog_h__ */
Glib::ustring get_active_text() const
Glib::ustring get_text() const
int get_value_as_int() const
bool get_active() const
dialog box to collect video-server settings
Gtk::Adjustment listenport_adjustment
Gtk::CheckButton showagain_checkbox
Gtk::SpinButton cachesize_spinner
Gtk::SpinButton listenport_spinner
void open_docroot_dialog()
VideoServerDialog(ARDOUR::Session *)
Gtk::Button docroot_browse_button
std::string get_listenaddr()
Gtk::Adjustment cachesize_adjustment
void on_show()
This is a default handler for the signal signal_show().
Gtk::ComboBoxText listenaddr_combo
std::string get_exec_path()
std::string get_docroot()
Gtk::Button path_browse_button