]> git.stg.codes - stg.git/blobdiff - include/stg/users.h
Remove redindand ctors from USER_IPS.
[stg.git] / include / stg / users.h
index 1a8d7a4379bff76d74b685dea039fcf3057aa44e..3fb951e07cbe570a1f3b99cebbb803917542f4c4 100644 (file)
@@ -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