summaryrefslogtreecommitdiffhomepage
path: root/compat/camera-names.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-06 03:52:45 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-06 03:53:01 +0200
commit31bab22b5ee7bc18ad4bdb2fb74ed4948a900cc0 (patch)
tree7532ffae7542002136e94f217fa3596787f0cc0a /compat/camera-names.hpp
parentc246ff0280eda1a8ccdfdfb557037b7cea8ecc63 (diff)
compat/camera-names: move to original location
Issue: #946
Diffstat (limited to 'compat/camera-names.hpp')
-rw-r--r--compat/camera-names.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/compat/camera-names.hpp b/compat/camera-names.hpp
new file mode 100644
index 00000000..bda15e81
--- /dev/null
+++ b/compat/camera-names.hpp
@@ -0,0 +1,18 @@
+/* Copyright (c) 2014-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 <vector>
+#include <QString>
+
+#include "export.hpp"
+
+OTR_COMPAT_EXPORT std::vector<QString> get_camera_names();
+OTR_COMPAT_EXPORT int camera_name_to_index(const QString &name);
+