Run grand-replace for 2010.
[lilypond/mpolesky.git] / lily / include / note-head.hh
blob05da0624c56afe256ba2349a94f32a94c1619c5e
1 /*
2 This file is part of LilyPond, the GNU music typesetter.
4 Copyright (C) 1996--2010 Han-Wen Nienhuys
6 LilyPond is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 LilyPond is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef NOTEHEAD_HH
21 #define NOTEHEAD_HH
23 #include "stencil.hh"
24 #include "grob-interface.hh"
27 class Note_head
29 public:
30 DECLARE_SCHEME_CALLBACK (print, (SCM));
31 DECLARE_SCHEME_CALLBACK (brew_ez_stencil, (SCM));
32 DECLARE_SCHEME_CALLBACK (stem_x_shift, (SCM));
33 DECLARE_SCHEME_CALLBACK (calc_stem_attachment, (SCM));
34 DECLARE_GROB_INTERFACE();
36 static Real stem_attachment_coordinate (Grob *, Axis a);
37 static int get_balltype (Grob *);
39 static Offset get_stem_attachment (Font_metric *, string);
41 #endif // NOTEHEAD_HH