]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/midi-def.hh
*** empty log message ***
[lilypond.git] / lily / include / midi-def.hh
index 964d87f15de1e88e0da5cf319d80f7fa8ffc3e76..4363b9b0287196a6a1c3681d3249c6b0318649de 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Jan Nieuwenhuizen <jan@digicash.com>
+  (c)  1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 
   definitions for midi output. Rather empty
  */
 class Midi_def : public Music_output_def {
-public:
-  VIRTUAL_COPY_CONS(Midi_def, Music_output_def);
-  DECLARE_MY_RUNTIME_TYPEINFO;
+  static int score_count_;
 
-  /// duration of whole note
-  Real whole_seconds_f_;
+public:
+  VIRTUAL_COPY_CONS (Music_output_def);
 
-  Midi_def();
-  Midi_def (Midi_def const& midi_c_r);
-  ~Midi_def();
+  Midi_def ();
 
-  Real duration_to_seconds_f (Moment);
-  int get_tempo_i (Moment moment);
-  void print() const;
+  int get_tempo (Moment moment);
   void set_tempo (Moment moment, int count_per_minute_i);
+  virtual int get_next_score_count () const;
+  static void reset_score_count ();
 };
 
 #endif // MIDI_DEF_HH
-