]> git.lyx.org Git - lyx.git/blobdiff - src/debug.C
add missing writeNormal() methods to some insets
[lyx.git] / src / debug.C
index 6c2029a18f19b9a2463ce23a07cae0284074b7f6..6a77781768c1c82229eaa55af074debe3380edfa 100644 (file)
@@ -3,7 +3,7 @@
 * 
 *           LyX, The Document Processor
 *        
-*           Copyright 1999-2000 The LyX Team.
+*           Copyright 1999-2001 The LyX Team.
 *
 * ====================================================== */
 
 
 #include "debug.h"
 #include "gettext.h"
+#include "support/lstrings.h"
 
 using std::ostream;
 using std::setw;
 using std::endl;
 
+namespace {
+
 struct error_item {
        Debug::type level;
        char const * name;
        char const * desc;
 };
 
-static error_item errorTags[] = {
+
+error_item errorTags[] = {
        { Debug::NONE,      "none",      N_("No debugging message")},
        { Debug::INFO,      "info",      N_("General information")},
        { Debug::INIT,      "init",      N_("Program initialisation")},
@@ -53,7 +57,9 @@ static error_item errorTags[] = {
 };
 
 
-static const int numErrorTags = sizeof(errorTags)/sizeof(error_item);
+int const numErrorTags = sizeof(errorTags)/sizeof(error_item);
+
+} // namespace anon
 
        
 Debug::type const Debug::ANY = Debug::type(