diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-20 12:58:12 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-20 12:58:30 +0200 |
commit | faec4b17c7cffb2836b4f364326f494af93bb7c1 (patch) | |
tree | 76722c8efef3c087b7262dbea970af4bef68af89 /ftnoir_tracker_pt | |
parent | d933b11c29124abc3e99b6591d0d74b4343f4fc0 (diff) |
cleanup ftnoir code
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp index 013777bc..48a62c2c 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -190,18 +190,7 @@ void Tracker_PT::start_tracker(QFrame *parent_window) start(); } -#ifndef OPENTRACK_API -void Tracker::StopTracker(bool exit) -{ - set_command(PAUSE); -} -#endif - -#ifdef OPENTRACK_API -#define THeadPoseData double -#endif - -void Tracker_PT::data(THeadPoseData *data) +void Tracker_PT::data(double *data) { if (ever_success) { @@ -237,14 +226,6 @@ void Tracker_PT::data(THeadPoseData *data) } } -//----------------------------------------------------------------------------- -#ifdef OPENTRACK_API #include "ftnoir_tracker_pt_dialog.h" OPENTRACK_DECLARE_TRACKER(Tracker_PT, TrackerDialog_PT, TrackerDll) -#else -#pragma comment(linker, "/export:GetTracker=_GetTracker@0") -OPENTRACK_EXPORT ITrackerPtr __stdcall GetTracker() -{ - return new Tracker_PT; -} -#endif + |