summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/ftnoir_protocol_wine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'proto-wine/ftnoir_protocol_wine.cpp')
-rw-r--r--proto-wine/ftnoir_protocol_wine.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp
index b1b8ecef..36c01c25 100644
--- a/proto-wine/ftnoir_protocol_wine.cpp
+++ b/proto-wine/ftnoir_protocol_wine.cpp
@@ -54,9 +54,12 @@ void wine::pose( const double *headpose )
}
}
-bool wine::correct()
+module_status wine::check_status()
{
- return lck_shm.success();
+ if (lck_shm.success())
+ return status_ok();
+ else
+ return error(QCoreApplication::translate("wine", "Can't open shared memory mapping"));
}
OPENTRACK_DECLARE_PROTOCOL(wine, FTControls, wineDll)