From 7d1905251c12c27d7bc2caed03169b6a0fd9f83d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 12 Oct 2018 16:59:12 +0200 Subject: pt/settings: make header-only --- tracker-pt/pt-settings.cpp | 8 -------- tracker-pt/pt-settings.hpp | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 tracker-pt/pt-settings.cpp diff --git a/tracker-pt/pt-settings.cpp b/tracker-pt/pt-settings.cpp deleted file mode 100644 index 5e9e1e1a..00000000 --- a/tracker-pt/pt-settings.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include "pt-settings.hpp" - -namespace pt_settings_detail { - -pt_settings::pt_settings(const QString& name) : opts(name) {} -pt_settings::~pt_settings() = default; - -} // ns pt_settings_detail diff --git a/tracker-pt/pt-settings.hpp b/tracker-pt/pt-settings.hpp index 7d8a8f0a..088dfe5a 100644 --- a/tracker-pt/pt-settings.hpp +++ b/tracker-pt/pt-settings.hpp @@ -23,9 +23,6 @@ struct pt_settings final : options::opts { using slider_value = options::slider_value; - explicit pt_settings(const QString& name); - ~pt_settings() override; - value camera_name { b, "camera-name", "" }; value cam_res_x { b, "camera-res-width", 640 }, cam_res_y { b, "camera-res-height", 480 }, @@ -58,6 +55,9 @@ struct pt_settings final : options::opts value blob_color { b, "blob-color", pt_color_natural }; value threshold_slider { b, "threshold-slider", { 128, 0, 255 } }; + + explicit pt_settings(const QString& name) : opts(name) {} + ~pt_settings() = default; }; } // ns pt_settings_detail -- cgit v1.2.3