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"
22 class Break_req : public Request {
27 VIRTUAL_COPY_CONS(Music);
30 class Mark_req : public Request {
32 virtual bool do_equal_b (Request const*) const;
34 VIRTUAL_COPY_CONS(Music);
38 /** Baseclass for time_signature/partial req. It has to be handled by
39 Staff_{walker,column} baseclass. */
40 class Timing_req : public Request {
42 VIRTUAL_COPY_CONS(Music);
48 class Tempo_req : public Timing_req
57 VIRTUAL_COPY_CONS(Music);
58 bool do_equal_b (Request const *) const;
63 todo: allow C time_signature
69 class Time_signature_change_req : public Timing_req {
71 Time_signature_change_req();
74 bool do_equal_b (Request const *) const;
75 VIRTUAL_COPY_CONS(Music);
79 /// check if we're at start of a measure.
80 class Barcheck_req : public Timing_req {
82 bool do_equal_b (Request const *) const;
83 VIRTUAL_COPY_CONS(Music);
87 /** draw a (repeat)-bar. This something different than #Barcheck_req#,
88 the latter should only happen at the start of a measure. */
89 class Bar_req : public Request {
94 VIRTUAL_COPY_CONS(Music);
97 class Breathing_sign_req : public Request {
98 VIRTUAL_COPY_CONS(Music);
104 class Key_change_req : public Request
110 VIRTUAL_COPY_CONS(Music);
111 void transpose (Musical_pitch d);
112 bool do_equal_b (Request const * )const;
119 class Clef_change_req : public Request {
125 VIRTUAL_COPY_CONS(Music);
129 #endif // COMMANDREQUEST_HH