2 command-request.hh -- declare non-musical requests
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef COMMANDREQUEST_HH
11 #define COMMANDREQUEST_HH
15 #include "duration.hh"
16 #include "musical-pitch.hh"
17 #include "protected-scm.hh"
19 class Break_req : public Request {
24 VIRTUAL_COPY_CONS(Music);
27 class Mark_req : public Request {
29 virtual bool do_equal_b (Request const*) const;
31 VIRTUAL_COPY_CONS(Music);
35 /** Baseclass for time_signature/partial req. It has to be handled by
36 Staff_{walker,column} baseclass. */
37 class Timing_req : public Request {
39 VIRTUAL_COPY_CONS(Music);
43 class Tempo_req : public Timing_req
52 VIRTUAL_COPY_CONS(Music);
53 bool do_equal_b (Request const *) const;
58 todo: allow C time_signature
60 class Time_signature_change_req : public Timing_req {
65 Time_signature_change_req();
68 bool do_equal_b (Request const *) const;
69 VIRTUAL_COPY_CONS(Music);
73 /// check if we're at start of a measure.
74 class Barcheck_req : public Timing_req {
76 bool do_equal_b (Request const *) const;
77 VIRTUAL_COPY_CONS(Music);
81 /** draw a (repeat)-bar. This something different than #Barcheck_req#,
82 the latter should only happen at the start of a measure. */
83 class Bar_req : public Request {
88 VIRTUAL_COPY_CONS(Music);
91 class Breathing_sign_req : public Request {
92 VIRTUAL_COPY_CONS(Music);
98 class Key_change_req : public Request
104 VIRTUAL_COPY_CONS(Music);
105 void transpose (Musical_pitch d);
106 bool do_equal_b (Request const * )const;
109 class Clef_change_req : public Request {
112 Clef_change_req (String);
115 VIRTUAL_COPY_CONS(Music);
119 #endif // COMMANDREQUEST_HH