summaryrefslogtreecommitdiffhomepage
path: root/proto-fsuipc/ftnoir_protocol_fsuipc.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-03 22:23:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-04 12:19:26 +0100
commitb256886a5cb9f2ae3ebda70a2045b19ed9f4233e (patch)
tree4fa1e46de224cf834a05824dc1eb86001bdb3300 /proto-fsuipc/ftnoir_protocol_fsuipc.h
parente89709a801e7874bc02c66848c638c6a0ccc85c1 (diff)
api: add status check for modules
Diffstat (limited to 'proto-fsuipc/ftnoir_protocol_fsuipc.h')
-rw-r--r--proto-fsuipc/ftnoir_protocol_fsuipc.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/proto-fsuipc/ftnoir_protocol_fsuipc.h b/proto-fsuipc/ftnoir_protocol_fsuipc.h
index cd2ed9a7..54171ce7 100644
--- a/proto-fsuipc/ftnoir_protocol_fsuipc.h
+++ b/proto-fsuipc/ftnoir_protocol_fsuipc.h
@@ -50,12 +50,9 @@ class fsuipc : public IProtocol
public:
fsuipc();
~fsuipc() override;
- bool correct();
+ module_status check_status() override;
void pose(const double* headpose);
- QString game_name()
- {
- return QCoreApplication::translate("fsuipc", "Microsoft Flight Simulator X");
- }
+ QString game_name() { return QCoreApplication::translate("fsuipc", "Microsoft Flight Simulator X"); }
private:
QLibrary FSUIPCLib;
double prevPosX, prevPosY, prevPosZ, prevRotX, prevRotY, prevRotZ;