]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/vaticana-ligature.hh
Run grand-replace (issue 3765)
[lilypond.git] / lily / include / vaticana-ligature.hh
index feb965d3557fe0dec5afc831a5812b8ce251bbb8..c8aab6870e61a226a0ba7d450279387ceb4260ec 100644 (file)
@@ -1,22 +1,41 @@
 /*
-  vaticana-ligature.hh
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 2003--2014 Juergen Reuter <reuter@ipd.uka.de>
 
- (C) 2003 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
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #ifndef VATICANA_LIGATURE_HH
 #define VATICANA_LIGATURE_HH
 
-#include "lily-guile.hh"
-#include "molecule.hh"
+#include "grob-interface.hh"
+#include "lily-proto.hh"
 
 struct Vaticana_ligature
 {
-  DECLARE_SCHEME_CALLBACK (brew_ligature_primitive, (SCM ));
-  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
-  static bool has_interface (Grob *);
+  DECLARE_SCHEME_CALLBACK (brew_ligature_primitive, (SCM));
+  DECLARE_SCHEME_CALLBACK (print, (SCM));
+  DECLARE_GROB_INTERFACE ();
 };
 
+/*
+ * Ligature context info: these attributes are derived from the head
+ * prefixes by considering the current and the two neighbouring heads.
+ *
+ * The below definition extends those in gregorian-ligature.hh.
+ */
+#define STACKED_HEAD 0x0100 // this head is stacked on the previous one
+
 #endif // VATICANA_LIGATURE_HH