/*
- Copyright (C) 2009 Paul Davis
+ Copyright (C) 2009 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#ifndef __ardour_gtk_editor_component_h__
#define __ardour_gtk_editor_component_h__
-#include <list>
-#include <sigc++/sigc++.h>
-
-namespace ARDOUR {
- class Session;
-}
-
class Editor;
class EditorComponent
{
public:
EditorComponent (Editor *);
-
- virtual void connect_to_session (ARDOUR::Session *);
+ virtual ~EditorComponent() {}
protected:
-
Editor* _editor;
- ARDOUR::Session* _session;
- std::list<sigc::connection> _session_connections;
-
-private:
-
- void session_going_away ();
-
};
#endif