~ubuntu-branches/ubuntu/precise/lilypond/precise

« back to all changes in this revision

Viewing changes to lily/include/timing-translator.hh

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2006-12-19 10:18:12 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061219101812-7awtjkp0i393wxty
Tags: 2.8.7-3
scripts/midi2ly.py: When setting DATADIR, find Lilypond python files
in the @TOPLEVEL_VERSION@ directory, not 'current'.  Patch thanks to
Chris Lamb (chris@chris-lamb.co.uk).  (Closes: #400550)

Show diffs side-by-side

added added

removed removed

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