return to the old way of editing track names, but hopefully better than it was. likel...
[ardour.git] / gtk2_ardour / sfdb_ui.h
index d0e63568cdcaf413052ec262197dbea2a10b7a05..6992bc5fcdc10058b74f356b935b3c15b06af6b4 100644 (file)
@@ -152,7 +152,7 @@ class SoundFileBrowser : public ArdourWindow
        Gtk::Button freesound_stop_btn;
 
   public:
-       SoundFileBrowser (Gtk::Window& parent, std::string title, ARDOUR::Session* _s, bool persistent);
+       SoundFileBrowser (std::string title, ARDOUR::Session* _s, bool persistent);
        virtual ~SoundFileBrowser ();
 
         int run ();
@@ -236,6 +236,8 @@ class SoundFileBrowser : public ArdourWindow
        bool on_midi_filter (const Gtk::FileFilter::Info& filter_info);
        bool on_audio_and_midi_filter (const Gtk::FileFilter::Info& filter_info);
 
+        void set_action_sensitive (bool);
+
        virtual bool reset_options() { return true; }
 
   protected:
@@ -246,7 +248,7 @@ class SoundFileBrowser : public ArdourWindow
 class SoundFileChooser : public SoundFileBrowser
 {
   public:
-       SoundFileChooser (Gtk::Window& parent, std::string title, ARDOUR::Session* _s = 0);
+       SoundFileChooser (std::string title, ARDOUR::Session* _s = 0);
        virtual ~SoundFileChooser () {};
 
        std::string get_filename ();
@@ -259,7 +261,7 @@ class SoundFileOmega : public SoundFileBrowser
 {
 
   public:
-       SoundFileOmega (Gtk::Window& parent, std::string title, ARDOUR::Session* _s, 
+       SoundFileOmega (std::string title, ARDOUR::Session* _s, 
                        uint32_t selected_audio_tracks, uint32_t selected_midi_tracks,
                        bool persistent,
                        Editing::ImportMode mode_hint = Editing::ImportAsTrack);