Add keyboard shortcut to tooltip text where possible.
[ardour.git] / gtk2_ardour / export_format_selector.h
index 46d9bc3f069486a18dba139b439cb6fe5af44e5f..6e1dd527869a2f34a05ea42cea26d37b01d44bf2 100644 (file)
 #include <sigc++/signal.h>
 #include <boost/shared_ptr.hpp>
 
+#include "ardour/session_handle.h"
+
 namespace ARDOUR {
-       class Session;
        class ExportFormatSpecification;
        class ExportProfileManager;
 }
 
 ///
-class ExportFormatSelector : public Gtk::HBox {
+class ExportFormatSelector : public Gtk::HBox, public ARDOUR::SessionHandlePtr
+{
 
   private:
 
@@ -67,7 +69,6 @@ class ExportFormatSelector : public Gtk::HBox {
        void update_format_description ();
 
        ARDOUR::ExportProfileManager::FormatStatePtr state;
-       ARDOUR::Session * session;
 
        /*** GUI componenets ***/