Remove LocaleGuards from Editor class
[ardour.git] / gtk2_ardour / sfdb_ui.h
index f070d36ab6daf245313921daac16de4339484ad8..d7eb80eccafe01e0e40b2741c85032c8295cb8f1 100644 (file)
@@ -86,9 +86,11 @@ class SoundFileBox : public Gtk::VBox, public ARDOUR::SessionHandlePtr, public P
        Gtk::Label channels;
        Gtk::Label samplerate;
        Gtk::Label timecode;
+       Gtk::Label tempomap;
 
        Gtk::Label channels_value;
        Gtk::Label samplerate_value;
+       Gtk::Label tempomap_value;
 
        Gtk::Label format_text;
        AudioClock length_clock;
@@ -113,6 +115,9 @@ class SoundFileBox : public Gtk::VBox, public ARDOUR::SessionHandlePtr, public P
        void audition_active(bool);
        void audition_progress(ARDOUR::framecnt_t, ARDOUR::framecnt_t);
 
+       void update_autoplay ();
+       void autoplay_toggled ();
+
        bool tags_entry_left (GdkEventFocus* event);
        void tags_changed ();
        void save_tags (const std::vector<std::string>&);
@@ -214,7 +219,6 @@ class SoundFileBrowser : public ArdourWindow
        Gtk::VBox vpacker;
 
        Gtk::Button import_button;
-       Gtk::Button close_button;
 
        static std::string persistent_folder;
 
@@ -248,11 +252,12 @@ class SoundFileBrowser : public ArdourWindow
        bool on_audio_and_midi_filter (const Gtk::FileFilter::Info& filter_info);
 
        void set_action_sensitive (bool);
+       bool get_action_sensitive () const;
 
        virtual bool reset_options () { return true; }
 
-  protected:
        void on_show();
+       bool on_key_press_event (GdkEventKey*);
        virtual void do_something(int action);
 };
 
@@ -283,12 +288,16 @@ class SoundFileOmega : public SoundFileBrowser
        Gtk::ComboBoxText where_combo;
        Gtk::ComboBoxText channel_combo;
        Gtk::ComboBoxText src_combo;
+       Gtk::ComboBoxText midi_track_name_combo;
        InstrumentSelector instrument_combo;
 
        Gtk::CheckButton copy_files_btn;
+       Gtk::CheckButton smf_tempo_btn;
 
        void set_mode (Editing::ImportMode);
        Editing::ImportMode get_mode() const;
+       ARDOUR::MidiTrackNameSource get_midi_track_name_source () const;
+       bool get_use_smf_tempo_map () const;
        Editing::ImportPosition get_position() const;
        Editing::ImportDisposition get_channel_disposition() const;
        ARDOUR::SrcQuality get_src_quality() const;