diff options
author | Christian Strømme <christian.stromme@qt.io> | 2016-11-09 14:46:41 +0100 |
---|---|---|
committer | Christian Stromme <christian.stromme@qt.io> | 2016-11-15 11:11:01 +0000 |
commit | afaeb309ec801b13bc960a44cfb7f8e054366238 (patch) | |
tree | b3a6195b9421eb1d90719fba732ab88739d78134 /src/plugins/directshow/helpers/directshowglobal.h | |
parent | 6de666a5b623aa5fe950fc10fb3db62453346ba8 (diff) |
DirectShow: Add generic logging category for the DirectShow plugin
Change-Id: I38cee48cc85baa5ad5e42e03f8cb05eab1287566
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'src/plugins/directshow/helpers/directshowglobal.h')
-rw-r--r-- | src/plugins/directshow/helpers/directshowglobal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/directshow/helpers/directshowglobal.h b/src/plugins/directshow/helpers/directshowglobal.h index f7890c52b..1447bff16 100644 --- a/src/plugins/directshow/helpers/directshowglobal.h +++ b/src/plugins/directshow/helpers/directshowglobal.h @@ -43,6 +43,13 @@ #include <dshow.h> #include <QtCore/qglobal.h> +#include <QtCore/qloggingcategory.h> + +QT_BEGIN_NAMESPACE + +Q_DECLARE_LOGGING_CATEGORY(qtDirectShowPlugin) + +QT_END_NAMESPACE template <typename T> T *com_cast(IUnknown *unknown, const IID &iid) { |