]> git.mxchange.org Git - flightgear.git/blobdiff - Debug/fg_debug.h
Converted to new logstream debugging facility. This allows release
[flightgear.git] / Debug / fg_debug.h
index aa3b44117971624b6fe7e14b8c50a74e524142c1..22adb912ab4136d0ce493737986a223a96e2f7b9 100644 (file)
  * (Log is kept at end of this file)
  **************************************************************************/
 
+#error "use logstream"
 
 #ifndef _FG_DEBUG_H
 #define _FG_DEBUG_H
 
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
 #include <stdio.h>
 
 /* NB: To add a dbg_class, add it here, and add it to the structure in
    fg_debug.c */
 typedef enum {
-    FG_NONE    = 0x00000000,
-
-    FG_TERRAIN = 0x00000001,
-    FG_ASTRO   = 0x00000002,
-    FG_FLIGHT  = 0x00000004,
-    FG_INPUT   = 0x00000008,
-    FG_GL      = 0x00000010,
-    FG_VIEW    = 0x00000020,
-    FG_COCKPIT = 0x00000040,
-    FG_GENERAL = 0x00000080,
-    FG_MATH    = 0x00000100,
-    FG_EVENT   = 0x00000200,
-    FG_AIRCRAFT= 0x00000400,
-    FG_UNDEFD  = 0x00001000, // For range checking
+    FG_NONE      = 0x00000000,
+
+    FG_TERRAIN   = 0x00000001,
+    FG_ASTRO     = 0x00000002,
+    FG_FLIGHT    = 0x00000004,
+    FG_INPUT     = 0x00000008,
+    FG_GL        = 0x00000010,
+    FG_VIEW      = 0x00000020,
+    FG_COCKPIT   = 0x00000040,
+    FG_GENERAL   = 0x00000080,
+    FG_MATH      = 0x00000100,
+    FG_EVENT     = 0x00000200,
+    FG_AIRCRAFT  = 0x00000400,
+    FG_AUTOPILOT = 0x00000800,
+    FG_UNDEFD    = 0x00001000, // For range checking
 
     FG_ALL     = 0xFFFFFFFF
 } fgDebugClass;
@@ -139,5 +146,11 @@ extern fgDebugPriority fg_DebugPriority;
 
 extern FILE *          fg_DebugOutput;
 
+
+#ifdef __cplusplus
+}
+#endif
+
+
 #endif /* _FG_DEBUG_H */