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-udp/ftnoir_protocol_ftn.h | |
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-udp/ftnoir_protocol_ftn.h')
-rw-r--r-- | proto-udp/ftnoir_protocol_ftn.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/proto-udp/ftnoir_protocol_ftn.h b/proto-udp/ftnoir_protocol_ftn.h index a28097cb..3a5c820b 100644 --- a/proto-udp/ftnoir_protocol_ftn.h +++ b/proto-udp/ftnoir_protocol_ftn.h @@ -11,10 +11,7 @@ #pragma once #include "ui_ftnoir_ftncontrols.h" -#include <QThread> #include <QUdpSocket> -#include <QMessageBox> -#include <cmath> #include "api/plugin-api.hpp" #include "options/options.hpp" using namespace options; @@ -37,7 +34,7 @@ class udp : public QObject, public IProtocol public: udp(); - module_status check_status() override; + module_status initialize() override; void pose(const double *headpose); QString game_name() { return otr_tr("UDP over network"); |