diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-01-04 05:53:51 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-01-04 05:53:51 +0000 |
commit | fd20404daa41011a1eb747e054921f63ccae6bb2 (patch) | |
tree | d3794b59dff8683eab29faa7d36f5bb57232a9ee /gtk2_ardour/sfdb_ui.h | |
parent | 422f290094f30c0b94ddb221b77c09d9cf06cc64 (diff) |
Updates for set_type_hint() and the sfdb_ui.
git-svn-id: svn://localhost/trunk/ardour2@239 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r-- | gtk2_ardour/sfdb_ui.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h index 6be971ca73..2c43fb1aa7 100644 --- a/gtk2_ardour/sfdb_ui.h +++ b/gtk2_ardour/sfdb_ui.h @@ -47,12 +47,15 @@ class SoundFileBox : public Gtk::VBox { public: - SoundFileBox (ARDOUR::Session* session); + SoundFileBox (); virtual ~SoundFileBox () {}; bool update (std::string filename); + void set_session (ARDOUR::Session* s); protected: + ARDOUR::Session* _session; + struct LabelModelColumns : public Gtk::TreeModel::ColumnRecord { public: @@ -111,6 +114,7 @@ class SoundFileBrowser : public ArdourDialog SoundFileBrowser (std::string title); virtual ~SoundFileBrowser () {}; + virtual void set_session (ARDOUR::Session*); protected: Gtk::FileChooserWidget chooser; SoundFileBox preview; |