summaryrefslogtreecommitdiffhomepage
path: root/compat/camera-names.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/camera-names.hpp')
-rw-r--r--compat/camera-names.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/compat/camera-names.hpp b/compat/camera-names.hpp
index 97184c8c..3585edfe 100644
--- a/compat/camera-names.hpp
+++ b/compat/camera-names.hpp
@@ -8,11 +8,12 @@
#pragma once
-#include <QList>
+#include <vector>
#include <QString>
+# include <tuple>
#include "export.hpp"
-OTR_COMPAT_EXPORT QList<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);