diff options
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r-- | gtk2_ardour/sfdb_ui.h | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h index b453859821..fda3c1d94e 100644 --- a/gtk2_ardour/sfdb_ui.h +++ b/gtk2_ardour/sfdb_ui.h @@ -2,16 +2,48 @@ #define __ardour_sfdb_ui_h__ #include <string> +#include <vector> -#include <gtkmm/filechooserdialog.h> +#include <gtkmm/button.h> +#include <gtkmm/dialog.h> +#include <gtkmm/filechooserwidget.h> -#include <ardour/audio_library.h> +class SoundFileBrowser : public Gtk::Dialog +{ + public: + SoundFileBrowser (std::string title); + virtual ~SoundFileBrowser (); + + protected: + Gtk::FileChooserWidget* chooser; -class SoundFileChooser : public Gtk::FileChooserDialog + Gtk::Button* ok_btn; +}; + +class SoundFileChooser : public SoundFileBrowser { public: - SoundFileChooser (std::string title, bool split_makes_sense); + SoundFileChooser (std::string title); virtual ~SoundFileChooser (); + + std::string get_filename (); + + protected: + Gtk::Button* open_btn; }; +class SoundFileOmega : public SoundFileChooser +{ + public: + SoundFileOmega (std::string title); + virtual ~SoundFileOmega (); + + std::vector<std::string> get_filenames(); + bool get_split(); + + protected: + Gtk::Button* insert_btn; + Gtk::Button* import_btn; +} + #endif // __ardour_sfdb_ui_h__ |