]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/cursor.hh
release: 1.0.15
[lilypond.git] / flower / include / cursor.hh
index 7aea72d3347fabffb3d36b5b6c9f82d0a6b86ac7..a7e5a1836d911cc9bb86722384078b49ee7cd9dc 100644 (file)
@@ -21,10 +21,6 @@ public:
   /** create cursor, set at top. The const part isn't true, actually, #list#
     surely isn't const, but I get tired of the warning messages.  */
   Cursor (const List<T>& list, Link<T>* pointer = 0);
-  /**
-    Create an invalid cursor (pointing to nothing, associated with   no list.)
-    */
-  Cursor();
   Cursor (const Cursor<T>& cursor);
 
   T& thing();
@@ -94,12 +90,14 @@ public:
   void del();
     
   /// access the list this came from
-  List<T>& list() const ;
+  List<T>* list_l() const ;
   Link<T>* pointer();
   static   int compare (Cursor<T> a,Cursor<T>b) { return a-b; }
+
 private:
-  List<T>& list_;
+  
   Link<T>* pointer_;
+  List<T>* list_l_;
 };