X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/becf6dfe4fe2ecd43792aa53a302c5866483f306..b6dc7c53f5374b1798d74fe752e962266645cca0:/include/admins.h?ds=sidebyside diff --git a/include/admins.h b/include/admins.h index 48c02252..169f1a26 100644 --- a/include/admins.h +++ b/include/admins.h @@ -28,16 +28,16 @@ class ADMINS { public: - virtual int Add(const std::string & login, const ADMIN & admin) = 0; - virtual int Del(const std::string & login, const ADMIN & admin) = 0; - virtual int Change(const ADMIN_CONF & ac, const ADMIN & admin) = 0; + virtual int Add(const std::string & login, const ADMIN * admin) = 0; + virtual int Del(const std::string & login, const ADMIN * admin) = 0; + virtual int Change(const ADMIN_CONF & ac, const ADMIN * admin) = 0; virtual const ADMIN * GetSysAdmin() const = 0; virtual const ADMIN * GetNoAdmin() const = 0; virtual bool FindAdmin(const std::string & l, ADMIN ** admin) = 0; virtual bool AdminExists(const std::string & login) const = 0; virtual bool AdminCorrect(const std::string & login, const std::string & password, - ADMIN * admin) const = 0; + ADMIN ** admin) = 0; virtual const std::string & GetStrError() const = 0; virtual int OpenSearch() const = 0;