]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/debug.hh
patch::: 1.3.86.jcn2
[lilypond.git] / lily / include / debug.hh
index aca896309d5fbaaed845067c8ac263f8b81e8934..c5928440069b3f9984305cb382549d73f112f063 100644 (file)
@@ -6,33 +6,12 @@
 #define DEBUG_HH
 
 #include <assert.h>
-#include <iostream.h>
 #include "dstream.hh"
 #include "real.hh"
 #include "lily-proto.hh"
+#include "flower-debug.hh"
 #include "warn.hh"
 
-void error_t (const String& s, Time_description const &  t_tdes);
-void error_t (String const &s, const Moment &when);
-
-#define WARN warnout << "warning: "<<__FUNCTION__ << "(): "
-extern ostream &warnout ;
-
-// progress
-extern ostream *mlog;
-
-// debugging
-extern Dstream *monitor; // monitor
-
-#ifdef NPRINT
-/** 
-  Global debug output. Compare with cin, cout, cerr, DOUT is DEBUG OUTPUT
- */
-#define DOUT if (0) *monitor   // clever hack 
-#else
-#define DOUT if (check_debug) monitor->identify_as (__PRETTY_FUNCTION__)
-#endif
-
-extern bool check_debug;
+void progress_indication (String);
 
 #endif