]> git.donarmstrong.com Git - lilypond.git/blob - mi2mu/include/mi2mu-global.hh
release: 0.1.53
[lilypond.git] / mi2mu / include / mi2mu-global.hh
1 //
2 // mi2mu-global.hh -- declare global (sic) stuff for mi2mu
3 //
4 // copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
5
6 #ifndef MI2MU_GLOBAL_HH
7 #define MI2MU_GLOBAL_HH
8
9 #include "string.hh"
10 #include "proto.hh"
11
12 #define monitor_p_g &cout
13 enum Verbose { QUIET_ver, BRIEF_ver, NORMAL_ver, VERBOSE_ver, DEBUG_ver };
14 extern Verbose level_ver;
15 #if 0 // NPRINT
16     // not what i want, all output goes through tors.
17     // set verbosity level.
18     #define LOGOUT(threshold) if  (0) *monitor_p_g
19 #else
20     #define LOGOUT(threshold) if  (level_ver >= threshold) *monitor_p_g
21 #endif
22
23 extern Sources* source_l_g;
24 // huh?
25 void message (String message_str); //, char const* context_ch_C);
26 void warning (String message_str); //, char const* context_ch_C);
27 void error (String message_str); //, char const* context_ch_C);
28
29 String mi2mu_version_str();
30
31 #endif // MI2MU_GLOBAL_HH
32