X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbreathing-sign.hh;h=c140bfd1b42a7df0d5014fd0e831908fb87f42bf;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=41de60c64d187511c62993b440e000a6c27f2708;hpb=07d4d05df6479d58c3c5152c07d7c86b94ee98b4;p=lilypond.git diff --git a/lily/include/breathing-sign.hh b/lily/include/breathing-sign.hh index 41de60c64d..c140bfd1b4 100644 --- a/lily/include/breathing-sign.hh +++ b/lily/include/breathing-sign.hh @@ -1,32 +1,35 @@ /* breathing-sign.hh - Copyright (C) 1999 Michael Krause + Copyright (c) 1999--2015 Michael Krause written for the GNU LilyPond music typesetter - */ #ifndef BREATHING_SIGN_HH #define BREATHING_SIGN_HH -#include "item.hh" -#include "staff-symbol-referencer.hh" -#include "parray.hh" - -class Breathing_sign : public Item, public Staff_symbol_referencer { -public: - VIRTUAL_COPY_CONS(Score_element); - Breathing_sign (); - - void set_vertical_position (Direction); +#include "grob-interface.hh" +#include "lily-proto.hh" -protected: - virtual void do_post_processing (); - virtual Molecule* do_brew_molecule_p () const; +class Grob; -private: - Direction dir_; +/* + breathing sign (apostrophe within staff, not the comma above staff + type) +*/ +class Breathing_sign +{ +public: + DECLARE_SCHEME_CALLBACK (print, (SCM)); + DECLARE_SCHEME_CALLBACK (railtracks, (SCM)); + DECLARE_SCHEME_CALLBACK (divisio_minima, (SCM)); + DECLARE_SCHEME_CALLBACK (divisio_maior, (SCM)); + DECLARE_SCHEME_CALLBACK (divisio_maxima, (SCM)); + DECLARE_SCHEME_CALLBACK (finalis, (SCM)); + DECLARE_SCHEME_CALLBACK (offset_callback, (SCM element)); + + DECLARE_GROB_INTERFACE (); }; #endif // BREATHING_SIGN_HH