]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/midi-def.hh
patch::: 0.0.73pre.jcn1: epsilon performance
[lilypond.git] / lily / include / midi-def.hh
index 9673783d25fed2cecd240c36ebd37f197d172e6d..788cf1dc4f6399eaa357eef34978abfc25b7f3b0 100644 (file)
@@ -7,8 +7,8 @@
 */
 
 
-#ifndef MIDIDEF_HH
-#define MIDIDEF_HH
+#ifndef MIDI_DEF_HH
+#define MIDI_DEF_HH
 #include "lily-proto.hh"
 #include "real.hh"
 #include "string.hh"
@@ -25,18 +25,25 @@ struct Midi_def {
     /// output file name
     String outfile_str_;
 
+    Assoc<String, Real> *real_vars_p_;
+    Input_performer* iperf_p_;
+
     /// duration of whole note
     Real whole_seconds_f_;
 
     Midi_def();
-    Midi_def(Midi_def const& midi_c_r);
+    Midi_def( Midi_def const& midi_c_r );
     ~Midi_def();
 
     Real duration_to_seconds_f(Moment);
+    Global_translator* get_global_translator_p() const;
+    Real get_var( String s ) const;
     int get_tempo_i( Moment moment );
-    void set_tempo( Moment moment, int count_per_minute_i );
     void print() const;
+    void set( Input_performer* iperf_p );
+    void set_var( String s, Real r );
+    void set_tempo( Moment moment, int count_per_minute_i );
 };
 
-#endif // MIDIDEF_HH //
+#endif // MIDI_DEF_HH