]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/vaticana-ligature.hh
use classnames for interface naming; remove inclusion of
[lilypond.git] / lily / include / vaticana-ligature.hh
index feb965d3557fe0dec5afc831a5812b8ce251bbb8..c9e53803e4a627679026ee8bd4339d8cf3c14f40 100644 (file)
@@ -3,20 +3,29 @@
 
   source file of the GNU LilyPond music typesetter
 
(C) 2003 Juergen Reuter <reuter@ipd.uka.de>
 (c) 2003--2006 Juergen Reuter <reuter@ipd.uka.de>
 */
 
 #ifndef VATICANA_LIGATURE_HH
 #define VATICANA_LIGATURE_HH
 
-#include "lily-guile.hh"
-#include "molecule.hh"
+#include "stencil.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