Mercurial > hg > svcore
comparison base/Debug.h @ 1042:16dc7307d43a cxx11
More build fixes
author | Chris Cannam |
---|---|
date | Wed, 04 Mar 2015 13:52:48 +0000 |
parents | 0b15c9328003 |
children | c1e43c8d2527 |
comparison
equal
deleted
inserted
replaced
1041:843f67be0ed9 | 1042:16dc7307d43a |
---|---|
17 #define _DEBUG_H_ | 17 #define _DEBUG_H_ |
18 | 18 |
19 #include <QDebug> | 19 #include <QDebug> |
20 #include <QTextStream> | 20 #include <QTextStream> |
21 | 21 |
22 #include <vamp-hostsdk/RealTime.h> | 22 #include "RealTime.h" |
23 | 23 |
24 #include <string> | 24 #include <string> |
25 #include <iostream> | 25 #include <iostream> |
26 | 26 |
27 class QString; | 27 class QString; |
38 #ifndef NDEBUG | 38 #ifndef NDEBUG |
39 | 39 |
40 extern QDebug &getSVDebug(); | 40 extern QDebug &getSVDebug(); |
41 | 41 |
42 #define SVDEBUG getSVDebug() | 42 #define SVDEBUG getSVDebug() |
43 | |
44 inline QDebug &operator<<(QDebug &d, const RealTime &rt) { | |
45 d << rt.toString(); | |
46 return d; | |
47 } | |
43 | 48 |
44 inline QDebug &operator<<(QDebug &d, const Vamp::RealTime &rt) { | 49 inline QDebug &operator<<(QDebug &d, const Vamp::RealTime &rt) { |
45 d << rt.toString(); | 50 d << rt.toString(); |
46 return d; | 51 return d; |
47 } | 52 } |