lilypond-1.1.31
[lilypond.git] / hdr / midi-main.hh
blobb58e077d432d06309699da86f205cf55010c3db4
1 //
2 // midi-main.hh -- global (sic) m2m stuff
3 //
4 // copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
5 #include "string.hh"
7 #define monitor_p_g &cout
8 enum Verbose { QUIET_ver, BRIEF_ver, NORMAL_ver, VERBOSE_ver, DEBUG_ver };
9 extern Verbose level_ver;
10 #ifdef NPRINT
11 #define dtor if ( 0 ) *monitor_p_g
12 #define mtor if ( 0 ) *monitor_p_g
13 #else
14 #define dtor if ( level_ver >= DEBUG_ver ) *monitor_p_g
15 #define vtor if ( level_ver >= VERBOSE_ver ) *monitor_p_g
16 #define mtor if ( level_ver >= NORMAL_ver ) *monitor_p_g
17 #define btor if ( level_ver >= BRIEF_ver ) *monitor_p_g
18 #define qtor if ( level_ver >= QUIET_ver ) *monitor_p_g
19 #endif
21 extern Source* source_l_g;
22 extern bool no_triplets_bo_g;
23 void message( String message_str, char const* context_ch_c_l );
24 void warning( String message_str, char const* context_ch_c_l );
25 void error( String message_str, char const* context_ch_c_l );
27 String version_str();