Home · All Classes · All Namespaces · Modules · Functions · Files
debug.h
1 
23 #ifndef _TelepathyQt_debug_h_HEADER_GUARD_
24 #define _TelepathyQt_debug_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 
32 namespace Tp
33 {
34 
35 TP_QT_EXPORT void enableDebug(bool enable);
36 TP_QT_EXPORT void enableWarnings(bool enable);
37 
38 typedef void (*DebugCallback)(const QString &libraryName,
39  const QString &libraryVersion,
40  QtMsgType type,
41  const QString &msg);
42 TP_QT_EXPORT void setDebugCallback(DebugCallback cb);
43 
44 } // Tp
45 
46 #endif
void enableWarnings(bool enable)
Definition: debug.cpp:163
void enableDebug(bool enable)
Definition: debug.cpp:159
void(* DebugCallback)(const QString &libraryName, const QString &libraryVersion, QtMsgType type, const QString &msg)
Definition: debug.h:38
void setDebugCallback(DebugCallback cb)
Definition: debug.cpp:167


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.6.1