when clearing route solo state, do the required update
[ardour.git] / gtk2_ardour / editor_cursors.h
index 50958d1ac02235ca5745cd189f38a98f501d6b59..7b739e5a53ee99e1633b90049657e77a17d0866e 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef __gtk_ardour_editor_cursors_h__
+#define __gtk_ardour_editor_cursors_h__
+
 #include "pbd/signals.h"
 #include "ardour/types.h"
 
@@ -29,6 +32,7 @@ class Editor;
 class EditorCursor {
   public:
         EditorCursor (Editor&, bool (Editor::*)(GdkEvent*,ArdourCanvas::Item*));
+        EditorCursor (Editor&);
        ~EditorCursor ();
 
        void set_position (framepos_t);
@@ -49,9 +53,10 @@ class EditorCursor {
 
        PBD::Signal1<void, framepos_t> PositionChanged;
 
-  private:     
+  private:
        Editor&               _editor;
        ArdourCanvas::Arrow*  _track_canvas_item;
        framepos_t            _current_frame;
-       double                _length;
 };
+
+#endif // __gtk_ardour_editor_cursors_h__