diff options
Diffstat (limited to 'Swiften/Server/SimpleUserRegistry.h')
-rw-r--r-- | Swiften/Server/SimpleUserRegistry.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Swiften/Server/SimpleUserRegistry.h b/Swiften/Server/SimpleUserRegistry.h deleted file mode 100644 index 324c099..0000000 --- a/Swiften/Server/SimpleUserRegistry.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. - */ - -#pragma once - -#include <map> - -#include <Swiften/JID/JID.h> -#include <string> -#include <Swiften/Server/UserRegistry.h> - -namespace Swift { - - - class SimpleUserRegistry : public UserRegistry { - public: - SimpleUserRegistry(); - - virtual bool isValidUserPassword(const JID& user, const SafeByteArray& password) const; - void addUser(const JID& user, const std::string& password); - - private: - std::map<JID, SafeByteArray> users; - }; -} |