X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/daa6cb18a0ff8451a9599905a01d66d6515fdb86..5e7cbf1bbd282c0b18a09c5e77e237a4e20f6e32:/projects/stargazer/plugins/other/ping/ping.h?ds=sidebyside diff --git a/projects/stargazer/plugins/other/ping/ping.h b/projects/stargazer/plugins/other/ping/ping.h index 6c31eb95..cfab1e55 100644 --- a/projects/stargazer/plugins/other/ping/ping.h +++ b/projects/stargazer/plugins/other/ping/ping.h @@ -19,6 +19,7 @@ #include "stg/user_ips.h" #include "stg/pinger.h" #include "stg/users.h" +#include "stg/logger.h" extern "C" PLUGIN * GetPlugin(); @@ -111,11 +112,11 @@ public: int Start(); int Stop(); - int Reload() { return 0; } + int Reload(const MODULE_SETTINGS & /*ms*/) { return 0; } bool IsRunning(); const std::string & GetStrError() const { return errorStr; } - const std::string GetVersion() const { return "Pinger v.1.01"; } + std::string GetVersion() const { return "Pinger v.1.01"; } uint16_t GetStartPosition() const { return 10; } uint16_t GetStopPosition() const { return 10; } @@ -148,6 +149,8 @@ private: ADD_USER_NONIFIER_PING onAddUserNotifier; DEL_USER_NONIFIER_PING onDelUserNotifier; + + PLUGIN_LOGGER logger; }; //-----------------------------------------------------------------------------