X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fgregorian-ligature.hh;h=8caf27044e1dee13e3bb28ac582e8be18aa0c000;hb=058370efc7e9710f149d0f444328bb1fcd7bdec1;hp=d59833a1617e77977129b6c269eafd0013c761c5;hpb=b37e3f652677ae0298423db9fa0e552e5fce0c92;p=lilypond.git diff --git a/lily/include/gregorian-ligature.hh b/lily/include/gregorian-ligature.hh index d59833a161..8caf27044e 100644 --- a/lily/include/gregorian-ligature.hh +++ b/lily/include/gregorian-ligature.hh @@ -1,9 +1,20 @@ /* - gregorian-ligature.hh -- part of GNU LilyPond + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2003--2014 Juergen Reuter - (c) 2003--2006 Juergen Reuter + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef GREGORIAN_LIGATURE_HH @@ -11,12 +22,13 @@ class Grob; #include "std-string.hh" +#include "grob-interface.hh" class Gregorian_ligature { public: - static bool has_interface (Grob *); - static std::string prefixes_to_str (Grob *); + DECLARE_GROB_INTERFACE (); + static string prefixes_to_str (Grob *); }; /* @@ -48,14 +60,10 @@ public: * These definitions may be extended by more specific Gregorian * ligatures such as vaticana-ligature.hh. */ -#define PES_LOWER 0x0001 // this is a head before "\~" in an - // ascending melody -#define PES_UPPER 0x0002 // this is a head after "\~" in an - // ascending melody -#define FLEXA_LEFT 0x0004 // this is a head before "\~" in a -// descending melody -#define FLEXA_RIGHT 0x0008 // this is a head after "\~" in a -// descending melody +#define PES_LOWER 0x0001 // this is a head before "\~" in an ascending melody +#define PES_UPPER 0x0002 // this is a head after "\~" in an ascending melody +#define FLEXA_LEFT 0x0004 // this is a head before "\~" in a descending melody +#define FLEXA_RIGHT 0x0008 // this is a head after "\~" in a descending melody #define AFTER_DEMINUTUM 0x0020 // previous head was a deminutum #endif /* GREGORIAN_LIGATURE_HH */