00001
00023 #ifndef _TelepathyQt4_debug_h_HEADER_GUARD_
00024 #define _TelepathyQt4_debug_h_HEADER_GUARD_
00025
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029
00030 #include <TelepathyQt4/Global>
00031
00032 namespace Tp
00033 {
00034
00035 TELEPATHY_QT4_EXPORT void enableDebug(bool enable);
00036 TELEPATHY_QT4_EXPORT void enableWarnings(bool enable);
00037
00038 typedef void (*DebugCallback)(const QString &libraryName,
00039 const QString &libraryVersion,
00040 QtMsgType type,
00041 const QString &msg);
00042 TELEPATHY_QT4_EXPORT void setDebugCallback(DebugCallback cb);
00043
00044 }
00045
00046 #endif