X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/60995b1933ff94757d2d29629f324d16070de1ea..f88b8e1e0e34f1e25e86468ca271a89af4872eab:/include/stg/users.h?ds=sidebyside diff --git a/include/stg/users.h b/include/stg/users.h index 765fc14d..3fb951e0 100644 --- a/include/stg/users.h +++ b/include/stg/users.h @@ -32,6 +32,8 @@ class USERS { public: virtual ~USERS() {} virtual int FindByName(const std::string & login, USER_PTR * user) = 0; + virtual int FindByName(const std::string & login, CONST_USER_PTR * user) const = 0; + virtual bool Exists(const std::string & login) const = 0; virtual bool TariffInUse(const std::string & tariffName) const = 0;