summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/camera-names.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/camera-names.hpp b/opentrack/camera-names.hpp
index 3d3948fa..6f82ba34 100644
--- a/opentrack/camera-names.hpp
+++ b/opentrack/camera-names.hpp
@@ -13,6 +13,7 @@
# include <unistd.h>
#endif
+template<typename = void>
QList<QString> get_camera_names() {
QList<QString> ret;
#if defined(_WIN32)
@@ -82,6 +83,7 @@ QList<QString> get_camera_names() {
return ret;
}
+template<typename = void>
int camera_name_to_index(const QString &name)
{
auto list = get_camera_names();