From 90fa6c8ee4485f0217ce86feba9eb4408baa67ff Mon Sep 17 00:00:00 2001 From: Stéphane Lenclud Date: Mon, 1 Apr 2019 20:50:41 +0200 Subject: Easy Tracker: Removing base static library. --- tracker-easy/module/module.cpp | 72 ------------------------------------------ 1 file changed, 72 deletions(-) delete mode 100644 tracker-easy/module/module.cpp (limited to 'tracker-easy/module/module.cpp') diff --git a/tracker-easy/module/module.cpp b/tracker-easy/module/module.cpp deleted file mode 100644 index 9aa71385..00000000 --- a/tracker-easy/module/module.cpp +++ /dev/null @@ -1,72 +0,0 @@ -#include "ftnoir_tracker_pt.h" - -#include "module.hpp" -#include "camera.h" -#include "frame.hpp" -#include "point_extractor.h" -#include "ftnoir_tracker_pt_dialog.h" - -#include "pt-api.hpp" - -#include - -static const QString module_name = "tracker-pt"; - -#ifdef __clang__ -# pragma clang diagnostic ignored "-Wweak-vtables" -#endif - -namespace pt_module { - -struct pt_module_traits final : pt_runtime_traits -{ - pointer make_camera() const override - { - return pointer(new Camera(module_name)); - } - - pointer make_point_extractor() const override - { - return pointer(new PointExtractor(module_name)); - } - - QString get_module_name() const override - { - return module_name; - } - - pointer make_frame() const override - { - return pointer(new Frame); - } - - pointer make_preview(int w, int h) const override - { - return pointer(new Preview(w, h)); - } -}; - -struct tracker_pt : Tracker_PT -{ - tracker_pt() : EasyTracker(pointer(new pt_module_traits)) - { - } -}; - -struct dialog_pt : TrackerDialog_PT -{ - dialog_pt(); -}; - -dialog_pt::dialog_pt() : EasyTrackerDialog(module_name) {} - -QString metadata_pt::name() { return tr("Easy Tracker 0.1"); } -QIcon metadata_pt::icon() { return QIcon(":/Resources/Logo_IR.png"); } - -} - -// ns pt_module - -using namespace pt_module; - -OPENTRACK_DECLARE_TRACKER(tracker_pt, dialog_pt, metadata_pt) -- cgit v1.2.3