]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/musical-request.hh
patch::: 1.1.27.jcn3: geen genade
[lilypond.git] / lily / include / musical-request.hh
index cdc293a5f63dcc8e741c996dd8b6c9500b40af07..eea7e90b167678c71a2c520623e1e4c6f4cf2cd6 100644 (file)
@@ -37,7 +37,7 @@ public:
     
   bool do_equal_b (Request*) const;
   void compress (Moment);
-  virtual Moment duration() const;
+  virtual Moment length_mom () const;
   static int compare (Rhythmic_req const&,Rhythmic_req const&);
   REQUESTMETHODS(Rhythmic_req);
 };
@@ -88,6 +88,13 @@ struct Melodic_req :virtual Musical_req
   REQUESTMETHODS(Melodic_req);
 };
 
+/// specify tonic of a chord
+struct Tonic_req : public Melodic_req
+{
+  Tonic_req ();
+  REQUESTMETHODS(Tonic_req);
+};
+
 /// Put a note of specified type, height, and with accidental on the staff.
 class Note_req  : public Rhythmic_req, virtual public Melodic_req  {
 public: