X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1b2ab8e6d556a8ed30d4feadc72263b3f4c86665..efe50c4a9c6f0938f80100c7338db3459be9e0c1:/include/stg/users.h diff --git a/include/stg/users.h b/include/stg/users.h index 1a8d7a43..3fb951e0 100644 --- a/include/stg/users.h +++ b/include/stg/users.h @@ -33,6 +33,7 @@ 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; @@ -64,7 +65,6 @@ public: virtual int Start() = 0; virtual int Stop() = 0; - }; #endif