X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/4f1aca7dfb6adf867713ad48e14ad79080e13cfa..d8ed3c9a80357e890fe4a927b92437e8f88b6b7c:/include/stg/users.h?ds=sidebyside 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