]> git.lyx.org Git - features.git/blobdiff - src/debug.h
Replace LString.h with support/std_string.h,
[features.git] / src / debug.h
index 38c0b7e3df2514c91b5252a2ff7e3592c97f4b27..edfabb5f167c39014d87405fef361a091117c680 100644 (file)
@@ -1,24 +1,21 @@
 // -*- C++ -*-
-/* This file is part of
- * ====================================================== 
- * 
- *           LyX, The Document Processor
- *        
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
+/**
+ * \file debug.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * ====================================================== */
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
 
 #ifndef LYXDEBUG_H
 #define LYXDEBUG_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include <iosfwd>
 
-#include "LString.h"
+#include "support/std_string.h"
 
 /** Ideally this should have been a namespace, but since we try to be
     compilable on older C++ compilators too, we use a struct instead.
@@ -70,7 +67,13 @@ struct Debug {
                ///
                WORKAREA   = (1 << 19),
                ///
-               INSETTEXT  = (1 << 20)
+               INSETTEXT  = (1 << 20),
+               ///
+               GRAPHICS   = (1 << 21),
+               /// change tracking
+               CHANGES    = (1 << 22),
+               ///
+               EXTERNAL   = (1 << 23)
        };
        ///
        static type const ANY;
@@ -78,10 +81,10 @@ struct Debug {
        /** A function to convert symbolic string names on debug levels
            to their numerical value.
        */
-       static Debug::type value(string const & val); 
+       static Debug::type value(string const & val);
 
-       /** Display the tags and descriptions of the current debug level 
-           of ds 
+       /** Display the tags and descriptions of the current debug level
+           of ds
        */
        static void showLevel(std::ostream & o, type level);