]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/spanner.hh
Imported Upstream version 2.19.51
[lilypond.git] / lily / include / spanner.hh
index 79032dfb305c2d52dc2eef5f3d057e52565240c7..bc41ec6e639155fdc08ce05a9ed443551e0182c5 100644 (file)
@@ -39,7 +39,7 @@
     is absolutely necessary for beams, since they have to adjust the
     length of stems of notes they encompass.
 */
-class Spanner : public Grob
+class Spanner : public Preinit<Spanner>, public Grob
 {
   Drul_array<Item *> spanned_drul_;
   vsize break_index_;
@@ -66,6 +66,7 @@ public:
   void set_bound (Direction d, Grob *);
   Item *get_bound (Direction d) const;
 
+  void pre_init ();
   Spanner (SCM);
   Spanner (Spanner const &);
   bool is_broken () const;