summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.h
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2005-10-12 21:59:45 +0000
committerTaybin Rutkin <taybin@taybin.com>2005-10-12 21:59:45 +0000
commit3b91a592be371e25c6c135664ba0af2f484431ab (patch)
tree51d97a89212d52b019a079827520d34078e942da /gtk2_ardour/sfdb_ui.h
parentabb086738cdd0f862b1600e0780bbbf0f0967713 (diff)
split sfdb_v3 into 3 classes.
git-svn-id: svn://localhost/trunk/ardour2@59 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r--gtk2_ardour/sfdb_ui.h40
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__