From 44ec992eea7ed6f842bc04be22e94d82a57bbdb9 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:30:25 +0000 Subject: [PATCH] lilypond-0.0.28 --- Variables.make | 2 +- hdr/request.hh | 23 +++++++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/Variables.make b/Variables.make index 39719441bf..f0a26c0c3d 100644 --- a/Variables.make +++ b/Variables.make @@ -40,7 +40,7 @@ endif # version info MAJVER=0 MINVER=0 -PATCHLEVEL=27 +PATCHLEVEL=28 VERSION=$(MAJVER).$(MINVER).$(PATCHLEVEL) CXXVER=`$(CXX) --version` diff --git a/hdr/request.hh b/hdr/request.hh index 9a01ade3fb..203fc9ab05 100644 --- a/hdr/request.hh +++ b/hdr/request.hh @@ -22,7 +22,9 @@ struct Request { virtual Moment duration() const { return 0; } - /* accessors for children */ + /* accessors for children + maybe checkout RTTI + */ virtual Barcheck_req *barcheck() { return 0; } virtual Note_req *note() {return 0;} virtual Script_req *script() {return 0;} @@ -40,6 +42,8 @@ struct Request { virtual Terminate_voice_req *terminate() {return 0;} virtual Group_change_req * groupchange() { return 0;} virtual Group_feature_req * groupfeature() { return 0; } + virtual Spacing_req * spacing() { return 0; } + virtual Blank_req * blank() { return 0; } protected: virtual void do_print()const ; }; @@ -87,6 +91,18 @@ struct Rhythmic_req : virtual Request { REQUESTMETHODS(Rhythmic_req, rhythmic); }; +struct Spacing_req :virtual Request { + Moment next; + Real distance; + Real strength; + /****************/ + REQUESTMETHODS(Spacing_req, spacing); +}; + +struct Blank_req : Spacing_req, Rhythmic_req { + REQUESTMETHODS(Spacing_req, spacing); + +}; ///Put a text above or below (?) this staff. struct Text_req : virtual Request { @@ -309,11 +325,6 @@ struct Grace_notes { }; -struct Spacing_req { - Moment next; - Real distance; -}; - struct Glissando_req : Span_req { }; -- 2.39.5