2 Copyright (C) 2005 Paul Davis
3 Written by Taybin Rutkin
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #ifndef __ardour_sfdb_ui_h__
23 #define __ardour_sfdb_ui_h__
28 #include <sigc++/signal.h>
30 #include <gtkmm/box.h>
31 #include <gtkmm/button.h>
32 #include <gtkmm/checkbutton.h>
33 #include <gtkmm/dialog.h>
34 #include <gtkmm/filechooserwidget.h>
36 class SoundFileBrowser : public Gtk::Dialog
39 SoundFileBrowser (std::string title);
40 virtual ~SoundFileBrowser () {}
43 Gtk::FileChooserWidget chooser;
46 class SoundFileChooser : public SoundFileBrowser
49 SoundFileChooser (std::string title);
50 virtual ~SoundFileChooser () {};
52 std::string get_filename () {return chooser.get_filename();};
55 class SoundFileOmega : public SoundFileBrowser
58 SoundFileOmega (std::string title);
59 virtual ~SoundFileOmega () {};
61 sigc::signal<void, std::vector<std::string>, bool> Embedded;
62 sigc::signal<void, std::vector<std::string>, bool> Imported;
65 Gtk::Button embed_btn;
66 Gtk::Button import_btn;
67 Gtk::CheckButton split_check;
69 void embed_clicked ();
70 void import_clicked ();
73 #endif // __ardour_sfdb_ui_h__