]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/timing-translator.hh
2003 -> 2004
[lilypond.git] / lily / include / timing-translator.hh
1 /*
2   timing-translator.hh -- declare Timing_translator
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef TIMING_TRANSLATOR_HH
11 #define TIMING_TRANSLATOR_HH
12
13 #include "moment.hh"
14 #include "translator.hh"
15
16 #include "parray.hh"
17
18 class Timing_translator : public virtual Translator
19 {
20 public:
21   //  VIRTUAL_COPY_CONS (Translator);
22   TRANSLATOR_DECLARATIONS(Timing_translator);
23
24
25 protected: 
26   virtual void initialize ();
27   virtual void stop_translation_timestep ();
28   virtual void start_translation_timestep ();
29
30 public:
31   Moment measure_position () const;
32   Rational measure_length () const;  
33 };
34 #endif // TIMING_TRANSLATOR_HH