Ardour  9.0-pre0-582-g084a23a80d
ambiguous_file_dialog.h
Go to the documentation of this file.
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 #pragma once
23 
24 #include <gtkmm/radiobutton.h>
25 #include "ardour_dialog.h"
26 
28 {
29 public:
30  AmbiguousFileDialog (const std::string &, const std::vector<std::string> &);
31 
32  int get_which () const;
33 
34 private:
36  std::vector<Gtk::RadioButton*> _radio_buttons;
38 };
39 
AmbiguousFileDialog(const std::string &, const std::vector< std::string > &)
bool rb_button_press(GdkEventButton *)
Gtk::RadioButtonGroup _group
std::vector< Gtk::RadioButton * > _radio_buttons
int get_which() const