]> git.lyx.org Git - lyx.git/blobdiff - src/debug.h
small changes to ButtonController usage
[lyx.git] / src / debug.h
index 8f787f728c4c605f0d274b2c7ccc93d4838cf30b..4df1f6e0a813e4a81ab100271a0984d9132dc6ec 100644 (file)
@@ -1,8 +1,21 @@
 // -*- C++ -*-
+/* This file is part of
+ * ====================================================== 
+ * 
+ *           LyX, The Document Processor
+ *        
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1995-2000 The LyX Team.
+ *
+ * ====================================================== */
 
 #ifndef LYXDEBUG_H
 #define LYXDEBUG_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include <iosfwd>
 
 #include "LString.h"
@@ -24,7 +37,7 @@ struct Debug {
                ///
                KEY        = (1 << 2),   // 4
                ///
-               TOOLBAR    = (1 << 3),   // 8
+               GUI        = (1 << 3),   // 8
                ///
                PARSER     = (1 << 4),   // 16
                ///
@@ -55,7 +68,7 @@ struct Debug {
                INSETS     = (1 << 17)
        };
        ///
-       static const type ANY = type(INFO | INIT | KEY | TOOLBAR |
+       static const type ANY = type(INFO | INIT | KEY | GUI |
                                     PARSER | LYXRC | KBMAP | LATEX |
                                     MATHED | FONT | TCLASS | LYXVC |
                                     LYXSERVER | ROFF | ACTION | LYXLEX |
@@ -79,7 +92,7 @@ struct Debug {
 };
 
 
-///
+
 inline
 void operator|= (Debug::type & d1, Debug::type d2)
 {
@@ -90,7 +103,7 @@ void operator|= (Debug::type & d1, Debug::type d2)
 #include "support/DebugStream.h"
 
 
-///
+
 std::ostream & operator<<(std::ostream & o, Debug::type t);
 
 extern DebugStream lyxerr;