diff options
Diffstat (limited to 'cv')
-rw-r--r-- | cv/camera-dialog.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cv/camera-dialog.hpp b/cv/camera-dialog.hpp index e99b5f6e..08462e92 100644 --- a/cv/camera-dialog.hpp +++ b/cv/camera-dialog.hpp @@ -8,7 +8,6 @@ #pragma once -#include "export.hpp" #include "opentrack-compat/camera-names.hpp" #include "opentrack-compat/sleep.hpp" @@ -17,16 +16,16 @@ #endif #ifdef _WIN32 +# include <opencv2/videoio.hpp> +# include <QTimer> # include <objbase.h> # include <winerror.h> # include <windows.h> -# include <opencv2/videoio.hpp> -# include <QTimer> #endif #include <QMutex> -class OPENTRACK_CV_EXPORT camera_dialog +class camera_dialog { static void maybe_grab_frame(cv::VideoCapture& cap); #ifdef _WIN32 |