(c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
-#include <ctype.h>
-#include <stdio.h>
+
+#include <cctype>
+#include <cstdio>
#include "rhythmic-head.hh"
#include "output-def.hh"
Tab_note_heads_engraver::process_music ()
{
int j = 0;
- for (int i=0; i < note_events_.size (); i++)
+ for (int i = 0; i < note_events_.size (); i++)
{
SCM stringTunings = get_property ("stringTunings");
int number_of_strings = ((int) ly_length (stringTunings));
Item * note = make_item ("TabNoteHead", event->self_scm ());
- Music * tabstring_event=0;
+ Music * tabstring_event = 0;
- for (SCM s =event->get_property ("articulations");
+ for (SCM s = event->get_property ("articulations");
!tabstring_event && scm_is_pair (s); s = scm_cdr (s))
{
Music * art = unsmob_music (scm_car (s));
}
-ENTER_DESCRIPTION (Tab_note_heads_engraver,
+ADD_TRANSLATOR (Tab_note_heads_engraver,
/* descr */ "Generate one or more tablature noteheads from Music of type NoteEvent.",
/* creats*/ "TabNoteHead Dots",
/* accepts */ "note-event string-number-event busy-playing-event",