From 31bab22b5ee7bc18ad4bdb2fb74ed4948a900cc0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 6 May 2019 03:52:45 +0200 Subject: compat/camera-names: move to original location Issue: #946 --- compat/camera-names.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 compat/camera-names.hpp (limited to 'compat/camera-names.hpp') 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 + + * 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 +#include + +#include "export.hpp" + +OTR_COMPAT_EXPORT std::vector get_camera_names(); +OTR_COMPAT_EXPORT int camera_name_to_index(const QString &name); + -- cgit v1.2.3