summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.h
blob: fda3c1d94e1ba2940d0fa10573747afcebf152bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#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__