/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2005--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2005--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Grid_point_engraver::process_music ()
{
SCM grid_interval = get_property ("gridInterval");
- if (Moment *mom = unsmob_moment (grid_interval))
+ if (Moment *mom = unsmob<Moment> (grid_interval))
{
Moment now = now_mom ();
if (!now.main_part_.mod_rat (mom->main_part_))
- make_item ("GridPoint", SCM_EOL);
+ make_item ("GridPoint", SCM_EOL);
}
}
{
}
+void
+Grid_point_engraver::boot ()
+{
+
+}
+
ADD_TRANSLATOR (Grid_point_engraver,
- /* doc */
- "Generate grid points.",
+ /* doc */
+ "Generate grid points.",
- /* create */
- "GridPoint ",
+ /* create */
+ "GridPoint ",
- /* read */
- "gridInterval ",
+ /* read */
+ "gridInterval ",
- /* write */
- ""
- );
+ /* write */
+ ""
+ );