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-ft | |
| 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-ft')
| -rw-r--r-- | proto-ft/ftnoir_protocol_ft.cpp | 2 | ||||
| -rw-r--r-- | proto-ft/ftnoir_protocol_ft.h | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp index a0272115..08f6efb3 100644 --- a/proto-ft/ftnoir_protocol_ft.cpp +++ b/proto-ft/ftnoir_protocol_ft.cpp @@ -157,7 +157,7 @@ void freetrack::set_protocols(bool ft, bool npclient)          settings_npclient.setValue("Path", "");  } -module_status freetrack::check_status() +module_status freetrack::initialize()  {      if (!shm.success())          return error("Can't load freetrack memory mapping"); diff --git a/proto-ft/ftnoir_protocol_ft.h b/proto-ft/ftnoir_protocol_ft.h index e01c08e2..56ad1b0b 100644 --- a/proto-ft/ftnoir_protocol_ft.h +++ b/proto-ft/ftnoir_protocol_ft.h @@ -38,7 +38,7 @@ class freetrack : public IProtocol  public:      freetrack();      ~freetrack() override; -    module_status check_status() override; +    module_status initialize() override;      void pose( const double *headpose );      QString game_name() override {          QMutexLocker foo(&game_name_mutex);  | 
