summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-03-31 05:52:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-03-31 05:52:43 +0200
commit6722803ee7e8c34649a351df0ea069ab4065de3a (patch)
treeaaaf13343e087225a6b38982e498c7d50d55f3e9 /ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
parentf11305e6d89661f6a8552ff344358d93d09dd4ab (diff)
hatire: minor opentrack API usage updates
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp b/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
index 9ca65115..3f7e1988 100644
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
@@ -287,7 +287,7 @@ void FTNoIR_Tracker::notifyCenter() {
#else
-void FTNoIR_Tracker::StartTracker(QFrame*)
+void FTNoIR_Tracker::start_tracker(QFrame*)
{
CptError=0;
dataRead.clear();
@@ -361,7 +361,7 @@ int FTNoIR_Tracker::preferredHz() {
// Return 6DOF info
//
#ifdef OPENTRACK_API
-void FTNoIR_Tracker::GetHeadPoseData(double *data)
+void FTNoIR_Tracker::data(double *data)
#else
bool FTNoIR_Tracker::GiveHeadPoseData(THeadPoseData *data)
#endif
@@ -536,7 +536,7 @@ void FTNoIR_Tracker::applysettings(const TrackerSettings& settings){
// _GetTracker@0 - Common name decoration for __stdcall functions in C language.
////////////////////////////////////////////////////////////////////////////////
#ifdef OPENTRACK_API
-extern "C" FTNOIR_TRACKER_BASE_EXPORT ITracker* CALLING_CONVENTION GetConstructor()
+extern "C" OPENTRACK_EXPORT ITracker* GetConstructor()
#else
#pragma comment(linker, "/export:GetTracker=_GetTracker@0")
FTNOIR_TRACKER_BASE_EXPORT ITrackerPtr __stdcall GetTracker()