Run grand-replace for 2010.
[lilypond/mpolesky.git] / lily / include / mensural-ligature.hh
blobfbe2b652cb22069f9717094a520bfe0a6de5473e
1 /*
2 This file is part of LilyPond, the GNU music typesetter.
4 Copyright (C) 2002--2010 Juergen Reuter <reuter@ipd.uka.de>,
5 Pal Benko <benkop@freestart.hu>
7 LilyPond is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 LilyPond is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef MENSURAL_LIGATURE_HH
22 #define MENSURAL_LIGATURE_HH
24 #include "lily-proto.hh"
25 #include "grob-interface.hh"
29 * These are all possible mensural ligature primitives.
31 #define MLP_NONE 0x00 // no output
32 #define MLP_UP 0x01 // upward left stem
33 #define MLP_DOWN 0x02 // downward left stem
34 #define MLP_BREVIS 0x04 // mensural brevis head
35 #define MLP_LONGA 0x08 // mensural brevis head with right cauda
36 #define MLP_MAXIMA 0x10 // mensural maxima head without stem
37 #define MLP_FLEXA 0x20 // mensural flexa-like shape
39 #define MLP_STEM (MLP_UP | MLP_DOWN)
40 #define MLP_SINGLE_HEAD (MLP_BREVIS | MLP_LONGA | MLP_MAXIMA)
41 #define MLP_ANY (MLP_FLEXA | MLP_SINGLE_HEAD)
43 struct Mensural_ligature
45 DECLARE_SCHEME_CALLBACK (brew_ligature_primitive, (SCM));
46 DECLARE_SCHEME_CALLBACK (print, (SCM));
47 DECLARE_GROB_INTERFACE();
50 #endif /* MENSURAL_LIGATURE_HH */