Remove unused variable and the accessor methods for it from ARDOUR_UI
[ardour.git] / gtk2_ardour / option_editor.h
index 4d6736aa84a4a6b046f64d74bb48198a89ceda81..7754b0555dc747b9e25dc23f616c84199800a424 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __gtk_ardour_option_editor_h__
@@ -70,25 +69,12 @@ class OptionEditor : public Gtk::Dialog
 
        /* paths */
 
-       Gtk::Table              path_table;
-       Gtk::Entry              session_raid_entry;
-       Gtk::ComboBoxText       native_format_combo;
-
-       struct SoundFilePathColumns : public Gtk::TreeModel::ColumnRecord {
-           public:
-                 SoundFilePathColumns() { add (paths); }
-                 Gtk::TreeModelColumn<std::string> paths;
-                           
-       };
-
-       SoundFilePathColumns sfdb_path_columns;
-       Glib::RefPtr<Gtk::ListStore> sfdb_paths;
-       Gtk::TreeView sfdb_path_view;
+       Gtk::Table      path_table;
+       Gtk::Entry      session_raid_entry;
 
        void setup_path_options();
        void add_session_paths ();
        void remove_session_paths ();
-       void native_format_chosen ();
        void raid_path_changed ();
 
        /* fades */
@@ -108,13 +94,11 @@ class OptionEditor : public Gtk::Dialog
        Gtk::VBox sync_packer;
 
        Gtk::ComboBoxText slave_type_combo;
-       Gtk::ComboBoxText smpte_fps_combo;
        AudioClock smpte_offset_clock;
        Gtk::CheckButton smpte_offset_negative_button;
 
        void setup_sync_options ();
 
-       void smpte_fps_chosen ();
        void smpte_offset_chosen ();
        void smpte_offset_negative_clicked ();
 
@@ -126,14 +110,19 @@ class OptionEditor : public Gtk::Dialog
        Gtk::RadioButton::Group mmc_button_group;
        Gtk::RadioButton::Group midi_button_group;
 
-       gint port_online_toggled (GdkEventButton*,MIDI::Port*,Gtk::ToggleButton*);
-       gint port_trace_in_toggled (GdkEventButton*,MIDI::Port*,Gtk::ToggleButton*);
-       gint port_trace_out_toggled (GdkEventButton*,MIDI::Port*,Gtk::ToggleButton*);
+       Gtk::Adjustment mmc_device_id_adjustment;
+       Gtk::SpinButton mmc_device_id_spinner;
+
+       void port_online_toggled (MIDI::Port*,Gtk::ToggleButton*);
+       void port_trace_in_toggled (MIDI::Port*,Gtk::ToggleButton*);
+       void port_trace_out_toggled (MIDI::Port*,Gtk::ToggleButton*);
        
        void mmc_port_chosen (MIDI::Port*,Gtk::RadioButton*);
        void mtc_port_chosen (MIDI::Port*,Gtk::RadioButton*);
        void midi_port_chosen (MIDI::Port*,Gtk::RadioButton*);
 
+       void mmc_device_id_adjusted ();
+
        void map_port_online (MIDI::Port*, Gtk::ToggleButton*);
 
        void setup_midi_options();