X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ede91934442fd804d7b818971a44e3ad795cb01f..9e8281bc8ffdbb5555ee6082a3de0db421b092c0:/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 8db5efc6..618ecc73 100644 --- a/projects/stargazer/plugins/other/ping/ping.h +++ b/projects/stargazer/plugins/other/ping/ping.h @@ -12,13 +12,13 @@ #include #include -#include "os_int.h" -#include "plugin.h" -#include "module_settings.h" -#include "notifer.h" -#include "user_ips.h" -#include "pinger.h" -#include "users.h" +#include "stg/os_int.h" +#include "stg/plugin.h" +#include "stg/module_settings.h" +#include "stg/notifer.h" +#include "stg/user_ips.h" +#include "stg/pinger.h" +#include "stg/users.h" extern "C" PLUGIN * GetPlugin(); @@ -76,8 +76,6 @@ public: int ParseSettings(const MODULE_SETTINGS & s); int GetPingDelay() const { return pingDelay; } private: - int ParseIntInRange(const std::string & str, int min, int max, int * val); - int pingDelay; mutable std::string errorStr; }; @@ -90,11 +88,6 @@ public: virtual ~PING(); void SetUsers(USERS * u); - void SetTariffs(TARIFFS *) {} - void SetAdmins(ADMINS *) {} - void SetTraffcounter(TRAFFCOUNTER *) {} - void SetStore(STORE *) {} - void SetStgSettings(const SETTINGS *) {} void SetSettings(const MODULE_SETTINGS & s); int ParseSettings();