summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_component.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_component.h')
-rw-r--r--gtk2_ardour/editor_component.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/gtk2_ardour/editor_component.h b/gtk2_ardour/editor_component.h
index 5c1ae8be2a..5b4f7e15d8 100644
--- a/gtk2_ardour/editor_component.h
+++ b/gtk2_ardour/editor_component.h
@@ -21,32 +21,19 @@
#define __ardour_gtk_editor_component_h__
#include <list>
-#include <sigc++/sigc++.h>
-namespace ARDOUR {
- class Session;
-}
+#include "ardour/session_handle.h"
class Editor;
-class EditorComponent
+class EditorComponent : public ARDOUR::SessionHandlePtr
{
public:
EditorComponent (Editor *);
virtual ~EditorComponent() {}
- virtual void connect_to_session (ARDOUR::Session *);
-
protected:
-
Editor* _editor;
- ARDOUR::Session* _session;
- std::list<sigc::connection> _session_connections;
-
-private:
-
- void session_going_away ();
-
};
#endif