Various fixes to multiple-2D panner signal handling. Should fix some or all of ...
[ardour.git] / gtk2_ardour / region_editor.h
index 176ced0792a874666a201ecc3c1c04de66f75b34..f66d7f8f813cebc86d0662bfdad1b35e2104768d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2001 Paul Davis 
+    Copyright (C) 2001 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
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: region_editor.h 231 2006-01-03 14:16:27Z karstenweise $
 */
 
 #ifndef __gtk_ardour_region_edit_h__
 #define __gtk_ardour_region_edit_h__
 
+#include "ardour/session_handle.h"
+
 #include "ardour_dialog.h"
 
 namespace ARDOUR { class Session; }
@@ -29,15 +30,12 @@ namespace ARDOUR { class Session; }
 class RegionEditor : public ArdourDialog
 {
   public:
-       RegionEditor(ARDOUR::Session& s)
-       : ArdourDialog ("region editor")
-       , _session(s)
-       {}
+       RegionEditor(ARDOUR::Session* s)
+               : ArdourDialog ("region editor") {
+               set_session (s);
+       }
 
        virtual ~RegionEditor () {}
-
-  protected:
-       ARDOUR::Session&     _session;
 };
 
 #endif /* __gtk_ardour_region_edit_h__ */