X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbreathing-sign.hh;h=c140bfd1b42a7df0d5014fd0e831908fb87f42bf;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=6e861a905c06f46a8b71884df912d9ebfcb7ac09;hpb=6fd2c101db89f70b080ec95fc0b458a760bd336a;p=lilypond.git diff --git a/lily/include/breathing-sign.hh b/lily/include/breathing-sign.hh index 6e861a905c..c140bfd1b4 100644 --- a/lily/include/breathing-sign.hh +++ b/lily/include/breathing-sign.hh @@ -1,35 +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); - void set_direction (Direction d ) { dir_ = d; } - Direction get_direction () const { return dir_; } +#include "grob-interface.hh" +#include "lily-proto.hh" +class Grob; -protected: - virtual void do_post_processing (); - virtual Molecule* do_brew_molecule_p () const; - -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