Mercurial > hg > svcore
diff base/Debug.h @ 911:73c2fd9a7dbe
Merge from branch tony_integration
author | Chris Cannam |
---|---|
date | Wed, 14 May 2014 09:54:20 +0100 |
parents | 0b15c9328003 |
children | 16dc7307d43a |
line wrap: on
line diff
--- a/base/Debug.h Wed May 07 15:17:58 2014 +0100 +++ b/base/Debug.h Wed May 14 09:54:20 2014 +0100 @@ -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;