diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-16 11:29:59 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-16 11:29:59 +0200 |
commit | b0b7c2b0e1762a7c0058e7f507a3b7cc9a03daf6 (patch) | |
tree | 246864539eba1669fc19a2007038dfb692a04788 /ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | |
parent | dfbe00cb1d9ce4cb52448cf4c1d577fe7b1eaad7 (diff) |
all: use macros for symbol exposure
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt.cpp')
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp index 5b9ec8b6..85ce0ad2 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -214,11 +214,12 @@ void Tracker_PT::data(THeadPoseData *data) //----------------------------------------------------------------------------- #ifdef OPENTRACK_API -extern "C" OPENTRACK_EXPORT ITracker* GetConstructor() +#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() -#endif { - return new Tracker_PT; + return new Tracker_PT; } +#endif |