2 * Copyright (C) 2005-2019 Paul Davis <paul@linuxaudiosystems.com>
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.
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.
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.
19 #ifndef __gtk2_ardour_plugin_scan_dialog_h__
20 #define __gtk2_ardour_plugin_scan_dialog_h__
22 #include <gtkmm/label.h>
23 #include <gtkmm/box.h>
24 #include <gtkmm/button.h>
25 #include <gtkmm/progressbar.h>
27 #include "ardour_dialog.h"
29 class PluginScanDialog : public ArdourDialog
32 PluginScanDialog (bool cache_only, bool verbose);
37 Gtk::ProgressBar pbar;
39 Gtk::Button timeout_button;
40 Gtk::Button cancel_button;
44 void cancel_plugin_scan ();
45 void cancel_plugin_timeout ();
46 void plugin_scan_timeout (int timeout);
47 void message_handler (std::string type, std::string plugin, bool can_cancel);
49 PBD::ScopedConnectionList connections;
52 #endif /* __gtk2_ardour_plugin_scan_dialog_h__ */