Mercurial > hg > svcore
diff base/Debug.h @ 874:862fe7b20df7 tony_integration
Merge from tonioni branch
author | Chris Cannam |
---|---|
date | Tue, 28 Jan 2014 15:01:54 +0000 |
parents | 0b15c9328003 |
children | 16dc7307d43a |
line wrap: on
line diff
--- a/base/Debug.h Wed Dec 11 21:40:27 2013 +0000 +++ b/base/Debug.h Tue Jan 28 15:01:54 2014 +0000 @@ -19,6 +19,8 @@ #include <QDebug> #include <QTextStream> +#include <vamp-hostsdk/RealTime.h> + #include <string> #include <iostream> @@ -39,6 +41,11 @@ #define SVDEBUG getSVDebug() +inline QDebug &operator<<(QDebug &d, const Vamp::RealTime &rt) { + d << rt.toString(); + return d; +} + template <typename T> inline QDebug &operator<<(QDebug &d, const T &t) { QString s;