X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a500fb72810060e52d87ad2c2e4691531f0bcc5a..1c529746ff07312e30e76fd933c628c658e3c77d:/projects/stargazer/plugins/other/rscript/rscript.h diff --git a/projects/stargazer/plugins/other/rscript/rscript.h b/projects/stargazer/plugins/other/rscript/rscript.h index 80fc8651..fc957108 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.h +++ b/projects/stargazer/plugins/other/rscript/rscript.h @@ -63,7 +63,7 @@ class ADD_USER_NONIFIER: public STG::NotifierBase { public: explicit ADD_USER_NONIFIER(REMOTE_SCRIPT & r) : rs(r) {} - void Notify(const UserPtr & user); + void notify(const UserPtr & user) override; private: ADD_USER_NONIFIER(const ADD_USER_NONIFIER & rhs); @@ -76,7 +76,7 @@ class DEL_USER_NONIFIER: public STG::NotifierBase { public: explicit DEL_USER_NONIFIER(REMOTE_SCRIPT & r) : rs(r) {} - void Notify(const UserPtr & user); + void notify(const UserPtr & user) override; private: DEL_USER_NONIFIER(const DEL_USER_NONIFIER & rhs); @@ -101,7 +101,7 @@ public: return *this; } - void Notify(const uint32_t & oldValue, const uint32_t & newValue); + void notify(const uint32_t & oldValue, const uint32_t & newValue) override; UserPtr GetUser() const { return user; } private: @@ -126,7 +126,7 @@ public: return *this; } - void Notify(const bool & oldValue, const bool & newValue); + void notify(const bool & oldValue, const bool & newValue) override; UserPtr GetUser() const { return user; } private: @@ -177,7 +177,6 @@ private: class REMOTE_SCRIPT : public STG::Plugin { public: REMOTE_SCRIPT(); - ~REMOTE_SCRIPT() override; void SetUsers(STG::Users * u) override { users = u; } void SetSettings(const STG::ModuleSettings & s) override { settings = s; } @@ -265,12 +264,12 @@ class DisconnectUser : public std::unary_function