]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/coherent-ligature-engraver.hh
Doc: CSS: A better brown for the usage manual
[lilypond.git] / lily / include / coherent-ligature-engraver.hh
index cc3ed8d6951fa115b0fab960fab9583725fb81e3..fb509dcb2260115ab74339f7174b85b7aca5fdd7 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2003--2012 Juergen Reuter <reuter@ipd.uka.de>
+  Copyright (C) 2003--2015 Juergen Reuter <reuter@ipd.uka.de>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
 class Coherent_ligature_engraver : public Ligature_engraver
 {
 public:
+  Coherent_ligature_engraver(Context *c)
+    : Ligature_engraver (c)
+  {}
   // no TRANSLATOR_DECLARATIONS (Coherent_ligature_engraver) needed
   // since this class is abstract
+  TRANSLATOR_INHERIT (Ligature_engraver);
+  DECLARE_TRANSLATOR_CALLBACKS (Coherent_ligature_engraver);
 
 protected:
   virtual void build_ligature (Spanner *ligature,
-                               vector<Grob_info> primitives) = 0;
+                               vector<Grob_info> const &primitives) = 0;
   virtual void typeset_ligature (Spanner *ligature,
-                                 vector<Grob_info> primitives);
+                                 vector<Grob_info> const &primitives);
   virtual void move_related_items_to_column (Item *, Paper_column *, Real);
 private:
-  void collect_accidentals (Spanner *, vector<Grob_info>);
+  void collect_accidentals (Spanner *, vector<Grob_info> const &);
 };
 
 #endif // COHERENT_LIGATURE_ENGRAVER_HH