]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-debug.h
Clean up #include directives in headers
[empathy.git] / libempathy / empathy-debug.h
index 42403ca15dce0f41229bed72061d54c9ac624477..5a600602bbb8190b349613832801f1dd9191288a 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
 #ifndef __EMPATHY_DEBUG_H__
 #define __EMPATHY_DEBUG_H__
 
-#include "config.h"
-
-
 #include <glib.h>
-#include <telepathy-glib/debug.h>
+#include <telepathy-glib/telepathy-glib.h>
 
 G_BEGIN_DECLS
 
@@ -38,12 +35,23 @@ 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,
+  EMPATHY_DEBUG_SHARE_DESKTOP = 1 << 10,
+  EMPATHY_DEBUG_CONNECTIVITY = 1 << 11,
+  EMPATHY_DEBUG_IMPORT_MC4_ACCOUNTS = 1 << 11,
+  EMPATHY_DEBUG_TESTS = 1 << 12,
+  EMPATHY_DEBUG_VOIP = 1 << 13,
+  EMPATHY_DEBUG_TLS = 1 << 14,
+  EMPATHY_DEBUG_SASL = 1 << 15,
+  EMPATHY_DEBUG_CAMERA = 1 << 16,
 } 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 +94,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) */