From c2f88ee8bec8cdd0ea573b54aee89a241c7d4deb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 18 Dec 2017 09:05:25 +0100 Subject: plugins: rename check_status -> initialize It's a contract for plugin invocation that the particular function fills the role of initialization. Rename accordingly. --- proto-fsuipc/ftnoir_protocol_fsuipc.cpp | 2 +- proto-fsuipc/ftnoir_protocol_fsuipc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'proto-fsuipc') diff --git a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp index fba893bc..90a75f52 100644 --- a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp +++ b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp @@ -144,7 +144,7 @@ void fsuipc::pose(const double *headpose ) { prevRotZ = virtRotZ; } -module_status fsuipc::check_status() +module_status fsuipc::initialize() { FSUIPCLib.setFileName( s.LocationOfDLL ); diff --git a/proto-fsuipc/ftnoir_protocol_fsuipc.h b/proto-fsuipc/ftnoir_protocol_fsuipc.h index bbfd265b..c0560efe 100644 --- a/proto-fsuipc/ftnoir_protocol_fsuipc.h +++ b/proto-fsuipc/ftnoir_protocol_fsuipc.h @@ -50,7 +50,7 @@ class fsuipc : public IProtocol public: fsuipc(); ~fsuipc() override; - module_status check_status() override; + module_status initialize() override; void pose(const double* headpose); QString game_name() { return otr_tr("Microsoft Flight Simulator X"); } private: -- cgit v1.2.3