From: fred Date: Fri, 22 Nov 1996 21:32:25 +0000 (+0000) Subject: lilypond-0.0.11 X-Git-Tag: release/1.5.59~6773 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c8d11d49c4b82f1e5dde68f8c63a24458529a6fa;p=lilypond.git lilypond-0.0.11 --- diff --git a/hdr/request.hh b/hdr/request.hh index 1911f20219..d8ee21ccc7 100644 --- a/hdr/request.hh +++ b/hdr/request.hh @@ -19,6 +19,7 @@ struct Request { virtual Rest_req *rest() {return 0;} virtual Span_req *span() {return 0;} virtual Beam_req *beam() { return 0 ; } + virtual Slur_req *slur() { return 0 ; } virtual Rhythmic_req*rhythmic() { return 0;} virtual Real duration() const { return 0.0; } virtual Request* clone() const =0; @@ -154,6 +155,7 @@ struct Beam_req : Span_req { /// a slur struct Slur_req : Span_req { virtual Request*clone()const; + virtual Slur_req*slur() { return this; } };