From 3b91a592be371e25c6c135664ba0af2f484431ab Mon Sep 17 00:00:00 2001 From: Taybin Rutkin Date: Wed, 12 Oct 2005 21:59:45 +0000 Subject: split sfdb_v3 into 3 classes. git-svn-id: svn://localhost/trunk/ardour2@59 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/sfdb_ui.h | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/sfdb_ui.h') 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 +#include -#include +#include +#include +#include -#include +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 get_filenames(); + bool get_split(); + + protected: + Gtk::Button* insert_btn; + Gtk::Button* import_btn; +} + #endif // __ardour_sfdb_ui_h__ -- cgit v1.2.3