13
0
livetrax/gtk2_ardour/missing_file_dialog.h
Paul Davis 429ff2547b missing dialog cleanups and logic improvements
git-svn-id: svn://localhost/ardour2/branches/3.0@7990 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09 23:50:20 +00:00

40 lines
948 B
C++

#ifndef __gtk_ardour_missing_file_dialog_h__
#define __gtk_ardour_missing_file_dialog_h__
#include <string>
#include <gtkmm/label.h>
#include <gtkmm/filechooserbutton.h>
#include <gtkmm/radiobutton.h>
#include "ardour/types.h"
#include "ardour_dialog.h"
namespace ARDOUR {
class Session;
}
class MissingFileDialog : public ArdourDialog
{
public:
MissingFileDialog (ARDOUR::Session*, const std::string& path, ARDOUR::DataType type);
int get_action();
private:
ARDOUR::DataType filetype;
Gtk::FileChooserButton chooser;
Gtk::RadioButton use_chosen;
Gtk::RadioButton::Group choice_group;
Gtk::RadioButton use_chosen_and_no_more_questions;
Gtk::RadioButton stop_loading_button;
Gtk::RadioButton all_missing_ok;
Gtk::RadioButton this_missing_ok;
Gtk::Label msg;
void add_chosen ();
};
#endif /* __gtk_ardour_missing_file_dialog_h__ */