summaryrefslogtreecommitdiffhomepage
path: root/compat/camera-names.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-01-27 15:21:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-01-27 15:21:52 +0100
commit631c85c85f2e82bfdf7f6c58c5866f12ad0836a6 (patch)
treec216067fc5f09cdd79542c81e9a618734a43b994 /compat/camera-names.hpp
parent63a2c2bc5c592e28de4090be861d8e2c7e0062a0 (diff)
video/opencv: store camera index
Issue: #1031
Diffstat (limited to 'compat/camera-names.hpp')
-rw-r--r--compat/camera-names.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/camera-names.hpp b/compat/camera-names.hpp
index bda15e81..3585edfe 100644
--- a/compat/camera-names.hpp
+++ b/compat/camera-names.hpp
@@ -10,9 +10,10 @@
#include <vector>
#include <QString>
+# include <tuple>
#include "export.hpp"
-OTR_COMPAT_EXPORT std::vector<QString> get_camera_names();
+OTR_COMPAT_EXPORT std::vector<std::tuple<QString, int>> get_camera_names();
OTR_COMPAT_EXPORT int camera_name_to_index(const QString &name);