mechanism to allow Track (or other Route-derived type) to add its own processors...
[ardour.git] / gtk2_ardour / missing_file_dialog.h
index fb32a81aa6ceaf8d46bb769b2f3acac9b38a90fb..12695c5117435f91b65a342f95899b8914be9884 100644 (file)
 #include "ardour_dialog.h"
 
 namespace ARDOUR {
-        class Session;
+       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 ();
+public:
+       MissingFileDialog (ARDOUR::Session*, const std::string& path, ARDOUR::DataType type);
+
+       int get_action();
+
+private:
+       ARDOUR::DataType filetype;
+       bool is_absolute_path;
+
+       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 ();
+       void set_absolute ();
 };
 
 #endif /* __gtk_ardour_missing_file_dialog_h__ */