X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/793728a58d8f97daf7de1dde7a02a5c4a30e30d4..005739f70a1d33ff4babbb3e6152fc6063aa480b:/include/stg/users.h?ds=sidebyside diff --git a/include/stg/users.h b/include/stg/users.h index 1a8d7a43..db5b8ddd 100644 --- a/include/stg/users.h +++ b/include/stg/users.h @@ -15,7 +15,7 @@ */ /* - * Author : Maxim Mamontov + * Author : Maksym Mamontov */ #ifndef 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