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-wine/ftnoir_protocol_wine.cpp | 2 +- proto-wine/ftnoir_protocol_wine.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'proto-wine') diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp index dd1370e2..07501632 100644 --- a/proto-wine/ftnoir_protocol_wine.cpp +++ b/proto-wine/ftnoir_protocol_wine.cpp @@ -55,7 +55,7 @@ void wine::pose( const double *headpose ) } } -module_status wine::check_status() +module_status wine::initialize() { if (lck_shm.success()) return status_ok(); diff --git a/proto-wine/ftnoir_protocol_wine.h b/proto-wine/ftnoir_protocol_wine.h index d435ffb6..0f300ff3 100644 --- a/proto-wine/ftnoir_protocol_wine.h +++ b/proto-wine/ftnoir_protocol_wine.h @@ -18,7 +18,7 @@ public: wine(); ~wine() override; - module_status check_status() override; + module_status initialize() override; void pose(const double* headpose) override; QString game_name() override -- cgit v1.2.3