summaryrefslogtreecommitdiffhomepage
path: root/cv/camera-dialog.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cv/camera-dialog.hpp')
-rw-r--r--cv/camera-dialog.hpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/cv/camera-dialog.hpp b/cv/camera-dialog.hpp
deleted file mode 100644
index c5896ca3..00000000
--- a/cv/camera-dialog.hpp
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Copyright (c) 2015, Stanislaw Halik <sthalik@misaki.pl>
-
- * Permission to use, copy, modify, and/or distribute this
- * software for any purpose with or without fee is hereby granted,
- * provided that the above copyright notice and this permission
- * notice appear in all copies.
- */
-
-#pragma once
-
-#include "compat/camera-names.hpp"
-#include "compat/sleep.hpp"
-#include "compat/win32-com.hpp"
-
-#ifdef __linux
-# include <QProcess>
-#endif
-
-#ifdef _WIN32
-# include <QTimer>
-#endif
-
-#include <opencv2/videoio.hpp>
-#include <QMutex>
-
-class camera_dialog
-{
- static void maybe_grab_frame(cv::VideoCapture& cap);
-public:
- virtual ~camera_dialog();
- void open_camera_settings(cv::VideoCapture*, const QString&, QMutex*);
-#if defined(_WIN32)
- cv::VideoCapture fake_capture;
- QTimer t;
- void delete_capture();
-#endif
-};