]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/command-request.hh
release: 1.3.93
[lilypond.git] / lily / include / command-request.hh
index ee64d1fe2789e6fc89185092a21ae336954fd22e..078e02dd2f07e109ff913db02fa5fb0852662c46 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
@@ -14,7 +14,7 @@
 #include "array.hh"
 #include "duration.hh"
 #include "musical-pitch.hh"
-#include "key-def.hh"
+#include "protected-scm.hh"
 
 class Break_req : public Request {
 public:
@@ -26,10 +26,8 @@ protected:
 
 class Mark_req : public Request {
 public:
-  Mark_req (String);
-  String str_;
-protected:
-  virtual void do_print () const;  
+  virtual bool do_equal_b (Request const*) const;
+  SCM mark_label ();
   VIRTUAL_COPY_CONS(Music);
 };
 
@@ -50,22 +48,12 @@ public:
 
   Tempo_req();
 protected:
-    virtual void do_print () const;
-  VIRTUAL_COPY_CONS(Music);
-  bool do_equal_b (Request const *) const;
-};
-
-class Partial_measure_req  : public Timing_req  {
-public:
-  Moment length_mom_;
 
-  Partial_measure_req (Moment);
-protected:
   VIRTUAL_COPY_CONS(Music);
-  virtual void do_print () const;
   bool do_equal_b (Request const *) const;
 };
 
+
 /**
   todo: allow C time_signature
  */
@@ -76,24 +64,12 @@ public:
 
   Time_signature_change_req();
 protected:
-  virtual void do_print () const;
-  bool do_equal_b (Request const *) const;
-  VIRTUAL_COPY_CONS(Music);
-};
 
-/// toggle Cadenza mode
-class Cadenza_req  : public Timing_req  {
-public:
-  /// turn on?
-  bool on_b_;
-  Cadenza_req (bool);
-protected:
-  virtual void do_print () const;
-  
   bool do_equal_b (Request const *) const;
   VIRTUAL_COPY_CONS(Music);
 };
 
+
 /// check if we're at start of a  measure.
 class Barcheck_req  : public Timing_req  {
 public:
@@ -106,12 +82,9 @@ public:
   the latter should only happen at the start of a measure.  */
 class Bar_req  : public Request  {
 public:
-  String type_str_;
+
   Bar_req (String);
 protected:
-  virtual void do_print () const;
-  bool do_equal_b (Request const *) const;
-
   VIRTUAL_COPY_CONS(Music);
 };
 
@@ -121,19 +94,16 @@ class Breathing_sign_req : public Request {
 
 /**
     Handle key changes.
-    Routines for sharps and flats are separated, 
-    so that caller may identify non-conventional keys.
 */
 class Key_change_req  : public Request
 {
 public:
-  Key_change_req ();
-  Key_def key_;
-
+  SCM pitch_alist ();
+  
 protected:
   VIRTUAL_COPY_CONS(Music);
   void transpose (Musical_pitch  d);
-  virtual void do_print () const;
+  bool do_equal_b (Request const * )const; 
 };
 
 class Clef_change_req  : public Request  {
@@ -141,7 +111,7 @@ public:
   String clef_str_;
   Clef_change_req (String);
 protected:
-  virtual void do_print () const;
+
   VIRTUAL_COPY_CONS(Music);
 };