X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/4f1aca7dfb6adf867713ad48e14ad79080e13cfa..2eb7bcdd1bd2dc0e5240dec45f159dfe06b288c2:/include/stg/users.h diff --git a/include/stg/users.h b/include/stg/users.h index b97a9be5..a1d5d295 100644 --- a/include/stg/users.h +++ b/include/stg/users.h @@ -32,6 +32,7 @@ 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 TariffInUse(const std::string & tariffName) const = 0; @@ -61,6 +62,7 @@ public: virtual int Start() = 0; virtual int Stop() = 0; + }; #endif