/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2006--2010 Han-Wen Nienhuys <hanwen@lilypond.org>
+ Copyright (C) 2006--2014 Han-Wen Nienhuys <hanwen@lilypond.org>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "translator.icc"
-
-class Dots_engraver : public Engraver
+class Dots_engraver : public Engraver
{
DECLARE_ACKNOWLEDGER (rhythmic_head);
TRANSLATOR_DECLARATIONS (Dots_engraver);
return;
Grob *note = gi.grob ();
- if (unsmob_grob (note->get_object ("dot")))
+ if (Grob::unsmob (note->get_object ("dot")))
return;
-
- Duration *dur = unsmob_duration (cause->get_property ("duration"));
+
+ Duration *dur = Duration::unsmob (cause->get_property ("duration"));
if (dur && dur->dot_count ())
{
Item *d = make_item ("Dots", note->self_scm ());
}
}
-
ADD_ACKNOWLEDGER (Dots_engraver, rhythmic_head);
ADD_TRANSLATOR (Dots_engraver,
- "Create @ref{Dots} objects for"
- " @ref{rhythmic-head-interface}s.",
-
- /* create */
- "Dots ",
-
- /* read */
- "",
-
- /* write */
- ""
- );
+ "Create @ref{Dots} objects for"
+ " @ref{rhythmic-head-interface}s.",
+
+ /* create */
+ "Dots ",
+
+ /* read */
+ "",
+
+ /* write */
+ ""
+ );