/*
- 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: /local/undo/gtk2_ardour/region_editor.h 5 2006-05-31T02:48:48.738745Z paul $
*/
#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; }
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__ */