Ardour  8.12
plugin_scan_dialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 Paul Davis <paul@linuxaudiosystems.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 __gtk2_ardour_plugin_scan_dialog_h__
20 #define __gtk2_ardour_plugin_scan_dialog_h__
21 
22 #include <gtkmm/box.h>
23 #include <gtkmm/button.h>
24 #include <gtkmm/label.h>
25 #include <gtkmm/progressbar.h>
26 #include <gtkmm/sizegroup.h>
27 
28 #include "widgets/ardour_button.h"
29 
30 #include "ardour_dialog.h"
31 
33 {
34 public:
35  PluginScanDialog (bool cache_only, bool verbose, Gtk::Window* parent = NULL);
36  void start ();
37 
38 private:
46  Glib::RefPtr<Gtk::SizeGroup> btn_size_group;
47 
48  bool cache_only;
49  bool verbose;
51 
52  void on_hide ();
53 
54  void cancel_scan_all ();
55  void cancel_scan_one ();
58 
59  void plugin_scan_timeout (int timeout);
60  void message_handler (std::string type, std::string plugin, bool can_cancel);
61 
63 };
64 
65 #endif /* __gtk2_ardour_plugin_scan_dialog_h__ */
PluginScanDialog(bool cache_only, bool verbose, Gtk::Window *parent=NULL)
void enable_scan_timeout()
ArdourWidgets::ArdourButton btn_cancel_one
void cancel_scan_one()
Gtk::ProgressBar pbar
void cancel_scan_all()
ArdourWidgets::ArdourButton btn_timeout_enable
void disable_per_plugin_interaction()
ArdourWidgets::ArdourButton btn_cancel_all
PBD::ScopedConnectionList connections
Glib::RefPtr< Gtk::SizeGroup > btn_size_group
void on_hide()
This is a default handler for the signal signal_hide().
void plugin_scan_timeout(int timeout)
void message_handler(std::string type, std::string plugin, bool can_cancel)