/*
  midi-def.hh -- declare Midi_def

  source file of the GNU LilyPond music typesetter

  (c)  1997--2003 Jan Nieuwenhuizen <janneke@gnu.org>
*/


#ifndef MIDI_DEF_HH
#define MIDI_DEF_HH

#include "lily-proto.hh"
#include "real.hh"
#include "string.hh"
#include "moment.hh"
#include "music-output-def.hh"

/** 
  definitions for midi output. Rather empty
 */
class Midi_def : public Music_output_def {
  static int score_count_;

public:
  VIRTUAL_COPY_CONS (Music_output_def);

  Midi_def ();

  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
