diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-12 16:59:12 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-12 16:59:12 +0200 |
commit | 7d1905251c12c27d7bc2caed03169b6a0fd9f83d (patch) | |
tree | 1686c09ef04637c3eb4c9fcd0af508e994408e9c /tracker-pt | |
parent | 8f884f056e80fefa766481dbc04ae3936ae29c97 (diff) |
pt/settings: make header-only
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/pt-settings.cpp | 8 | ||||
-rw-r--r-- | tracker-pt/pt-settings.hpp | 6 |
2 files changed, 3 insertions, 11 deletions
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<QString> camera_name { b, "camera-name", "" }; value<int> 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<pt_color_type> blob_color { b, "blob-color", pt_color_natural }; value<slider_value> threshold_slider { b, "threshold-slider", { 128, 0, 255 } }; + + explicit pt_settings(const QString& name) : opts(name) {} + ~pt_settings() = default; }; } // ns pt_settings_detail |