Preferences/Config changes for image-surface settings
[ardour.git] / gtk2_ardour / ambiguous_file_dialog.h
1 /*
2  * Copyright (C) 2010 Carl Hetherington <carl@carlh.net>
3  * Copyright (C) 2011 David Robillard <d@drobilla.net>
4  * Copyright (C) 2013 Paul Davis <paul@linuxaudiosystems.com>
5  * Copyright (C) 2015 Tim Mayberry <mojofunk@gmail.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21
22 #ifndef __gtk_ardour_ambiguous_file_dialog_h__
23 #define __gtk_ardour_ambiguous_file_dialog_h__
24
25 #include <gtkmm/radiobutton.h>
26 #include "ardour_dialog.h"
27
28 class AmbiguousFileDialog : public ArdourDialog
29 {
30 public:
31         AmbiguousFileDialog (const std::string &, const std::vector<std::string> &);
32
33         int get_which () const;
34
35 private:
36         Gtk::RadioButtonGroup _group;
37         std::vector<Gtk::RadioButton*> _radio_buttons;
38         bool rb_button_press (GdkEventButton*);
39 };
40
41 #endif // __gtk_ardour_ambiguous_file_dialog_h__