3b91a592be
git-svn-id: svn://localhost/trunk/ardour2@59 d708f5d6-7413-0410-9779-e7cbd77b26cf
50 lines
921 B
C++
50 lines
921 B
C++
#ifndef __ardour_sfdb_ui_h__
|
|
#define __ardour_sfdb_ui_h__
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include <gtkmm/button.h>
|
|
#include <gtkmm/dialog.h>
|
|
#include <gtkmm/filechooserwidget.h>
|
|
|
|
class SoundFileBrowser : public Gtk::Dialog
|
|
{
|
|
public:
|
|
SoundFileBrowser (std::string title);
|
|
virtual ~SoundFileBrowser ();
|
|
|
|
protected:
|
|
Gtk::FileChooserWidget* chooser;
|
|
|
|
Gtk::Button* ok_btn;
|
|
};
|
|
|
|
class SoundFileChooser : public SoundFileBrowser
|
|
{
|
|
public:
|
|
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__
|