]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-debug.h
Merge branch 'debugger'
[empathy.git] / libempathy / empathy-debug.h
index 42403ca15dce0f41229bed72061d54c9ac624477..9df72892260a3a2aa7a3b80e3b4213bd1b916b67 100644 (file)
@@ -1,4 +1,4 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
 /*
  * Copyright (C) 2007 Collabora Ltd.
  * Copyright (C) 2007 Nokia Corporation
@@ -38,12 +38,15 @@ typedef enum
   EMPATHY_DEBUG_ACCOUNT = 1 << 4,
   EMPATHY_DEBUG_IRC = 1 << 5,
   EMPATHY_DEBUG_DISPATCHER = 1 << 6,
-  EMPATHY_DEBUG_OTHER = 1 << 7,
+  EMPATHY_DEBUG_FT = 1 << 7,
+  EMPATHY_DEBUG_LOCATION = 1 << 8,
+  EMPATHY_DEBUG_OTHER = 1 << 9,
 } EmpathyDebugFlags;
 
 gboolean empathy_debug_flag_is_set (EmpathyDebugFlags flag);
 void empathy_debug (EmpathyDebugFlags flag, const gchar *format, ...)
     G_GNUC_PRINTF (2, 3);
+void empathy_debug_free (void);
 void empathy_debug_set_flags (const gchar *flags_string);
 G_END_DECLS
 
@@ -86,4 +89,7 @@ G_END_DECLS
 #define DEBUGGING 0
 
 #endif /* !defined (ENABLE_DEBUG) */
+
+#define gabble_debug_free() G_STMT_START { } G_STMT_END
+
 #endif /* defined (DEBUG_FLAG) */