diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:05:25 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:12:55 +0100 |
commit | c2f88ee8bec8cdd0ea573b54aee89a241c7d4deb (patch) | |
tree | 3b311ad8bec8c05bf82e4f7ef77ace6468798fb4 /proto-simconnect | |
parent | 6167effc23b8ca8a3034f1ab465565f92c621187 (diff) |
plugins: rename check_status -> initialize
It's a contract for plugin invocation that the particular function fills
the role of initialization. Rename accordingly.
Diffstat (limited to 'proto-simconnect')
-rw-r--r-- | proto-simconnect/ftnoir_protocol_sc.cpp | 2 | ||||
-rw-r--r-- | proto-simconnect/ftnoir_protocol_sc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/proto-simconnect/ftnoir_protocol_sc.cpp b/proto-simconnect/ftnoir_protocol_sc.cpp index 787cf0e3..e84f85ec 100644 --- a/proto-simconnect/ftnoir_protocol_sc.cpp +++ b/proto-simconnect/ftnoir_protocol_sc.cpp @@ -161,7 +161,7 @@ private: bool ok; }; -module_status simconnect::check_status() +module_status simconnect::initialize() { if (!SCClientLib.isLoaded()) { diff --git a/proto-simconnect/ftnoir_protocol_sc.h b/proto-simconnect/ftnoir_protocol_sc.h index afea0d3d..7a4a9f5b 100644 --- a/proto-simconnect/ftnoir_protocol_sc.h +++ b/proto-simconnect/ftnoir_protocol_sc.h @@ -39,7 +39,7 @@ class simconnect : public IProtocol, private QThread public: simconnect(); ~simconnect() override; - module_status check_status() override; + module_status initialize() override; void pose(const double* headpose); void handle(); QString game_name() { |