]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/command-request.hh
release: 1.3.131
[lilypond.git] / lily / include / command-request.hh
1 /*
2   command-request.hh -- declare non-musical requests
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef COMMANDREQUEST_HH
11 #define COMMANDREQUEST_HH
12
13 #include "request.hh"
14 #include "array.hh"
15 #include "duration.hh"
16 #include "pitch.hh"
17 #include "protected-scm.hh"
18
19 class Break_req : public Request {
20 public:
21
22   Break_req ();
23 protected:
24   VIRTUAL_COPY_CONS(Music);
25 };
26
27 class Mark_req : public Request {
28 public:
29   virtual bool do_equal_b (Request const*) const;
30   SCM mark_label ();
31   VIRTUAL_COPY_CONS(Music);
32 };
33
34 /*
35     int metronome_i_;
36  */
37 class Tempo_req : public Request
38 {
39 public:
40   Tempo_req();
41 protected:
42
43   VIRTUAL_COPY_CONS(Music);
44   bool do_equal_b (Request const *) const;
45 };
46
47 /// check if we're at start of a  measure.
48 class Barcheck_req  : public Request  {
49 public:
50   bool do_equal_b (Request const *) const;
51   VIRTUAL_COPY_CONS(Music);
52 };
53
54 class Breathing_sign_req : public Request {
55   VIRTUAL_COPY_CONS(Music);
56 };
57
58 /**
59     Handle key changes.
60 */
61 class Key_change_req  : public Request
62 {
63 public:
64   SCM pitch_alist ();
65   
66 protected:
67   VIRTUAL_COPY_CONS(Music);
68   void transpose (Pitch  d);
69   bool do_equal_b (Request const * )const; 
70 };
71
72 #endif // COMMANDREQUEST_HH