Ardour  9.0-pre0-582-g084a23a80d
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 #pragma once
19 
20 #include <string>
21 
22 #include <gtkmm/adjustment.h>
23 #include <gtkmm/button.h>
24 #include <gtkmm/checkbutton.h>
25 #include <gtkmm/comboboxtext.h>
26 #include <gtkmm/entry.h>
27 #include <gtkmm/label.h>
28 #include <gtkmm/spinbutton.h>
29 
30 #include "ardour/types.h"
31 #include "ardour/template_utils.h"
32 #include "ardour_dialog.h"
33 
38 {
39 public:
42 
43  std::string get_exec_path () { return path_entry.get_text(); }
44  std::string get_docroot ();
45  std::string get_listenaddr () { return listenaddr_combo.get_active_text();}
49 
50 private:
51  void on_show ();
54 
58 
62 
69 };
70 
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