]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/command-request.hh
release: 1.3.145
[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 protected:
22   VIRTUAL_COPY_CONS (Music);
23 };
24
25 class Mark_req : public Request {
26 public:
27   virtual bool do_equal_b (Request const*) const;
28   SCM mark_label ();
29   VIRTUAL_COPY_CONS (Music);
30 };
31
32 /*
33     int metronome_i_;
34  */
35 class Tempo_req : public Request
36 {
37 public:
38   Tempo_req ();
39 protected:
40   VIRTUAL_COPY_CONS (Music);
41 };
42
43 /// check if we're at start of a  measure.
44 class Barcheck_req  : public Request  {
45 public:
46   bool do_equal_b (Request const *) const;
47   VIRTUAL_COPY_CONS (Music);
48 };
49
50 class Breathing_sign_req : public Request {
51   VIRTUAL_COPY_CONS (Music);
52 };
53
54 /**
55     Handle key changes.
56 */
57 class Key_change_req  : public Request
58 {
59 public:
60   SCM pitch_alist ();
61   
62 protected:
63   VIRTUAL_COPY_CONS (Music);
64   bool do_equal_b (Request const * ) const;
65   void transpose (Pitch  d);
66 };
67
68 #endif // COMMANDREQUEST_HH
69