X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/60995b1933ff94757d2d29629f324d16070de1ea..05e29980ab6ee71b0436f7ca58d109a79a512b0f:/include/stg/users.h diff --git a/include/stg/users.h b/include/stg/users.h index 765fc14d..1a8d7a43 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; @@ -63,6 +64,7 @@ public: virtual int Start() = 0; virtual int Stop() = 0; + }; #endif