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);
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);
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:
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:
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; }
REMOTE_SCRIPT & rscript;
};
//-----------------------------------------------------------------------------
-inline void ADD_USER_NONIFIER::Notify(const UserPtr & user)
+inline void ADD_USER_NONIFIER::notify(const UserPtr & user)
{
rs.AddUser(user);
}
//-----------------------------------------------------------------------------
-inline void DEL_USER_NONIFIER::Notify(const UserPtr & user)
+inline void DEL_USER_NONIFIER::notify(const UserPtr & user)
{
rs.DelUser(user);
}