2005-10-12 16:06:20 -04:00
|
|
|
#ifndef __ardour_sfdb_ui_h__
|
|
|
|
#define __ardour_sfdb_ui_h__
|
|
|
|
|
|
|
|
#include <string>
|
2005-10-12 17:59:45 -04:00
|
|
|
#include <vector>
|
2005-10-12 16:06:20 -04:00
|
|
|
|
2005-10-12 17:59:45 -04:00
|
|
|
#include <gtkmm/button.h>
|
|
|
|
#include <gtkmm/dialog.h>
|
|
|
|
#include <gtkmm/filechooserwidget.h>
|
2005-10-12 16:06:20 -04:00
|
|
|
|
2005-10-12 17:59:45 -04:00
|
|
|
class SoundFileBrowser : public Gtk::Dialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
SoundFileBrowser (std::string title);
|
|
|
|
virtual ~SoundFileBrowser ();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
Gtk::FileChooserWidget* chooser;
|
2005-10-12 16:06:20 -04:00
|
|
|
|
2005-10-12 17:59:45 -04:00
|
|
|
Gtk::Button* ok_btn;
|
|
|
|
};
|
|
|
|
|
|
|
|
class SoundFileChooser : public SoundFileBrowser
|
2005-10-12 16:06:20 -04:00
|
|
|
{
|
|
|
|
public:
|
2005-10-12 17:59:45 -04:00
|
|
|
SoundFileChooser (std::string title);
|
2005-10-12 16:06:20 -04:00
|
|
|
virtual ~SoundFileChooser ();
|
2005-10-12 17:59:45 -04:00
|
|
|
|
|
|
|
std::string get_filename ();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
Gtk::Button* open_btn;
|
2005-10-12 16:06:20 -04:00
|
|
|
};
|
|
|
|
|
2005-10-12 17:59:45 -04:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2005-10-12 16:06:20 -04:00
|
|
|
#endif // __ardour_sfdb_ui_h__
|