]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/command-request.hh
patch::: 1.3.136.jcn3
[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   VIRTUAL_COPY_CONS (Music);
43 };
44
45 /// check if we're at start of a  measure.
46 class Barcheck_req  : public Request  {
47 public:
48   bool do_equal_b (Request const *) const;
49   VIRTUAL_COPY_CONS (Music);
50 };
51
52 class Breathing_sign_req : public Request {
53   VIRTUAL_COPY_CONS (Music);
54 };
55
56 /**
57     Handle key changes.
58 */
59 class Key_change_req  : public Request
60 {
61 public:
62   SCM pitch_alist ();
63   
64 protected:
65   VIRTUAL_COPY_CONS (Music);
66   void transpose (Pitch  d);
67 };
68
69 #endif // COMMANDREQUEST_HH
70