]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/timing-translator.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / timing-translator.hh
index f03459bfc45cace5473205109d6bb6f544643f4d..f30f596b919f519d4d88f93037a67425052197b4 100644 (file)
@@ -3,33 +3,27 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
-
 #ifndef TIMING_TRANSLATOR_HH
 #define TIMING_TRANSLATOR_HH
 
+#include "moment.hh"
 #include "translator.hh"
-#include "time-description.hh"
-#include "grouping.hh"
-#include "parray.hh"
 
-class Timing_translator : public virtual Translator
+class Timing_translator : public Translator
 {
 public:
-  TRANSLATOR_CLONE(Timing_translator);
-  Meter_change_req * meter_req_l () const;
-  Timing_translator ();
-  DECLARE_MY_RUNTIME_TYPEINFO;
-  Time_description time_;
-  Rhythmic_grouping  default_grouping_;
-  Link_array<Timing_req> timing_req_l_arr_;
-protected: 
-  virtual void do_creation_processing ();
-  virtual bool do_try_request (Request *req_l);
-  virtual void do_process_requests();
-  virtual void do_pre_move_processing();
-  virtual void do_post_move_processing();
+  TRANSLATOR_DECLARATIONS (Timing_translator);
+
+protected:
+  virtual void initialize ();
+  void stop_translation_timestep ();
+  void start_translation_timestep ();
+
+public:
+  Rational measure_length () const;
 };
+
 #endif // TIMING_TRANSLATOR_HH