X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fdebug.h;h=f963f383ca5ab495f5064fc0ac58a7d45c3bf5a4;hb=024275f0690b41634e26dabe8758e3dc6cd31ee2;hp=af7b04067e08b20c66e9dd7f6fa18cfe8e4dc012;hpb=c9f9ba315c8e475ad47c64fef6c9c755dea3d55c;p=lyx.git diff --git a/src/debug.h b/src/debug.h index af7b04067e..f963f383ca 100644 --- a/src/debug.h +++ b/src/debug.h @@ -1,6 +1,11 @@ // -*- C++ -*- /** * \file debug.h + * + * FIXME: It would be nice if, in lyx::use_gui mode, instead of + * outputting to the console, we would pipe all messages onto a file + * and visualise the contents dynamically in a Qt window if needed. + * * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * @@ -14,6 +19,10 @@ #define LYXDEBUG_H #include "support/debugstream.h" +#include "support/docstring.h" + + +namespace lyx { /** Ideally this should have been a namespace, but since we try to be * compilable on older C++ compilators too, we use a struct instead. @@ -74,6 +83,8 @@ public: /// EXTERNAL = (1 << 23), /// + PAINTING = (1 << 24), + /// DEBUG = (1 << 31), /// ANY = 0xffffffff @@ -114,4 +125,7 @@ typedef LyXErr::debug Debug; extern LyXErr lyxerr; + +} // namespace lyx + #endif