From 86c58f729706933e84b2f50771d4e4fb3345a449 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 6 Jul 2016 15:49:56 +0200 Subject: Revert "compat/options: export template instances to lessen code bloat" This reverts commit 1e26e00e9ae0c519355e3a6fe5ad098d1f6a9622. Broke osx. --- opentrack-compat/options-specialize.hpp | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 opentrack-compat/options-specialize.hpp (limited to 'opentrack-compat/options-specialize.hpp') diff --git a/opentrack-compat/options-specialize.hpp b/opentrack-compat/options-specialize.hpp deleted file mode 100644 index 735836d9..00000000 --- a/opentrack-compat/options-specialize.hpp +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -#ifndef OPENTRACK_OPTIONS_EXTERN_TEMPLATES -# define OPENTRACK_OPTIONS_EXTERN_TEMPLATES -# error "define OPENTRACK_OPTIONS_EXTERN_TEMPLATES before including" -#endif - -#include "export.hpp" - -namespace options { - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QComboBox* cb); - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QComboBox* cb); - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QCheckBox* cb); - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QDoubleSpinBox* dsb); - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QSpinBox* sb); - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QSlider* sl); - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QLineEdit* le); - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QLabel* lb); - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QTabWidget* t); - OPENTRACK_OPTIONS_EXTERN_TEMPLATES template OPENTRACK_COMPAT_EXPORT void tie_setting(value& v, QSlider* w); -} -- cgit v1.2.3