switch to using boost::signals2 instead of sigc++, at least for libardour. not finish...
[ardour.git] / gtk2_ardour / automation_selectable.h
index 7a157d261c1414815446d5bc69cef92773ab4d44..92e73a3c33e8a3ce81187549a30512fc0d8a0d9c 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2000-2007 Paul Davis 
+    Copyright (C) 2000-2007 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
@@ -31,17 +31,17 @@ struct AutomationSelectable : public Selectable
     nframes_t end;
     double low_fract;
     double high_fract;
-    TimeAxisViewPtr track;
+    TimeAxisView* track; // ref would be better, but ARDOUR::SessionHandlePtr is non-assignable
 
-    AutomationSelectable (nframes_t s, nframes_t e, double l, double h, TimeAxisViewPtr atv)
+    AutomationSelectable (nframes_t s, nframes_t e, double l, double h, TimeAxisView* atv)
            : start (s), end (e), low_fract (l), high_fract (h), track (atv) {}
 
     bool operator== (const AutomationSelectable& other) {
            return start == other.start &&
-                   end == other.end &&
-                   low_fract == other.low_fract &&
-                   high_fract == other.high_fract &&
-                   track == other.track;
+           end == other.end &&
+           low_fract == other.low_fract &&
+           high_fract == other.high_fract &&
+           track == other.track;
     }
 };