X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fgregorian-ligature.hh;h=51891ff6268c816d9ef0157235c2b743daf26513;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=299c37833c9c9ac5c215cbfe5e1f6d2c41744f2e;hpb=8c29be317f46136a5dd1b2b0c46abb04602548c4;p=lilypond.git diff --git a/lily/include/gregorian-ligature.hh b/lily/include/gregorian-ligature.hh index 299c37833c..51891ff626 100644 --- a/lily/include/gregorian-ligature.hh +++ b/lily/include/gregorian-ligature.hh @@ -2,13 +2,25 @@ gregorian-ligature.hh -- part of GNU LilyPond source file of the GNU LilyPond music typesetter - - (c) 2003 Juergen Reuter + + (c) 2003--2008 Juergen Reuter */ #ifndef GREGORIAN_LIGATURE_HH #define GREGORIAN_LIGATURE_HH +class Grob; +#include "std-string.hh" +#include "grob-interface.hh" + + +class Gregorian_ligature +{ +public: + DECLARE_GROB_INTERFACE(); + static string prefixes_to_str (Grob *); +}; + /* * Head prefixes: these bit-mask constants are used to represent * attributes immediately derived from user input (e.g. by the user @@ -18,17 +30,17 @@ * treated like a prefix for the head that follows the operator, but * does not affect the head that precedes the operator, if any. */ -#define VIRGA 0x0001 // attribute "\virga" -#define STROPHA 0x0002 // attribute "\stropha" -#define INCLINATUM 0x0004 // attribute "\inclinatum" -#define AUCTUM 0x0008 // attribute "\auctum" -#define DESCENDENS 0x0010 // attribute "\descendens" -#define ASCENDENS 0x0020 // attribute "\ascendens" -#define ORISCUS 0x0040 // attribute "\oriscus" -#define QUILISMA 0x0080 // attribute "\quilisma" -#define DEMINUTUM 0x0100 // attribute "\deminutum" -#define CAVUM 0x0200 // attribute "\cavum" -#define LINEA 0x0400 // attribute "\linea" +#define VIRGA 0x0001 // attribute "\virga" +#define STROPHA 0x0002 // attribute "\stropha" +#define INCLINATUM 0x0004 // attribute "\inclinatum" +#define AUCTUM 0x0008 // attribute "\auctum" +#define DESCENDENS 0x0010 // attribute "\descendens" +#define ASCENDENS 0x0020 // attribute "\ascendens" +#define ORISCUS 0x0040 // attribute "\oriscus" +#define QUILISMA 0x0080 // attribute "\quilisma" +#define DEMINUTUM 0x0100 // attribute "\deminutum" +#define CAVUM 0x0200 // attribute "\cavum" +#define LINEA 0x0400 // attribute "\linea" #define PES_OR_FLEXA 0x0800 // operator "\~" /* @@ -38,15 +50,14 @@ * 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 AFTER_VIRGA 0x0010 // previous head was a virga +#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 */