Ardour  9.0-pre0-582-g084a23a80d
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/frame.h>
25 #include <gtkmm/label.h>
26 #include <gtkmm/progressbar.h>
27 #include <gtkmm/sizegroup.h>
28 
29 #include "widgets/ardour_button.h"
30 
31 #include "ardour_dialog.h"
32 
34 {
35 public:
36  PluginScanDialog (bool cache_only, bool verbose, Gtk::Window* parent = NULL);
37  void start ();
38 
39 private:
47  Glib::RefPtr<Gtk::SizeGroup> btn_size_group;
48 
49  bool cache_only;
50  bool verbose;
52 
53  void on_hide ();
54 
55  void cancel_scan_all ();
56  void cancel_scan_one ();
59 
60  void plugin_scan_timeout (int timeout);
61  void message_handler (std::string type, std::string plugin, bool can_cancel);
62 
64 };
65 
66 #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)