X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Frc_option_editor.h;h=87662cb7a767028a124ad023a2e811c16c3c2eee;hb=254f22e372ff1155e76bea2c9a6f9c6c85a94868;hp=879a9c44646cdd9ac3363cb0be643261064a4c48;hpb=9aacefc17010a889222425f97b99050171165038;p=ardour.git diff --git a/gtk2_ardour/rc_option_editor.h b/gtk2_ardour/rc_option_editor.h index 879a9c4464..87662cb7a7 100644 --- a/gtk2_ardour/rc_option_editor.h +++ b/gtk2_ardour/rc_option_editor.h @@ -1,27 +1,31 @@ /* - Copyright (C) 2001-2011 Paul Davis - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -*/ + * Copyright (C) 2009-2011 Carl Hetherington + * Copyright (C) 2012-2017 Robin Gareus + * Copyright (C) 2012-2018 Paul Davis + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #ifndef __gtk_ardour_rc_option_editor_h__ #define __gtk_ardour_rc_option_editor_h__ +#include "widgets/tabbable.h" + #include "option_editor.h" #include "visibility_group.h" +#include "transport_masters_dialog.h" /** @file rc_option_editor.h * @brief Editing of options which are obtained from and written back to one of the .rc files. @@ -32,12 +36,15 @@ */ /** Editor for options which are obtained from and written back to one of the .rc files. */ -class RCOptionEditor : public OptionEditor +class RCOptionEditor : public OptionEditorContainer, public ARDOUR::SessionHandlePtr, public ArdourWidgets::Tabbable { public: RCOptionEditor (); - void populate_sync_options (); + void set_session (ARDOUR::Session*); + + Gtk::Window* use_own_window (bool and_fill_it); + XMLNode& get_state (); private: void parameter_changed (std::string const &); @@ -46,16 +53,25 @@ private: BoolOption* _solo_control_is_listen_control; ComboOption* _listen_position; VisibilityGroup _mixer_strip_visibility; - ComboOption* _sync_source; BoolOption* _sync_framerate; - BoolOption* _sync_genlock; - BoolOption* _sync_source_2997; ComboStringOption* _ltc_port; HSliderOption* _ltc_volume_slider; Gtk::Adjustment* _ltc_volume_adjustment; BoolOption* _ltc_send_continuously; + BoolOption* _plugin_prefer_inline; + TransportMastersWidget _transport_masters_widget; + + PBD::ScopedConnection parameter_change_connection; + PBD::ScopedConnection engine_started_connection; - PBD::ScopedConnection parameter_change_connection; + /* plugin actions */ + void plugin_scan_refresh (); + void clear_vst_cache (); + void clear_vst_blacklist (); + void clear_au_cache (); + void clear_au_blacklist (); + void edit_lxvst_path (); + void edit_vst_path (); }; #endif /* __gtk_ardour_rc_option_editor_h__ */