diff options
Diffstat (limited to 'Swiften/Base/SimpleIDGenerator.h')
-rw-r--r-- | Swiften/Base/SimpleIDGenerator.h | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/Swiften/Base/SimpleIDGenerator.h b/Swiften/Base/SimpleIDGenerator.h index e4fa3f5..ff645b1 100644 --- a/Swiften/Base/SimpleIDGenerator.h +++ b/Swiften/Base/SimpleIDGenerator.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2015 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -10,21 +10,23 @@ #include <Swiften/Base/API.h> #include <Swiften/Base/IDGenerator.h> +#include <Swiften/Base/Override.h> namespace Swift { - /** - * @brief The SimpleIDGenerator class implements a IDGenerator generating consecutive ID strings from - * the lower case latin alphabet. - */ + /** + * @brief The SimpleIDGenerator class implements a IDGenerator generating consecutive ID strings from + * the lower case latin alphabet. + */ - class SWIFTEN_API SimpleIDGenerator : public IDGenerator { - public: - SimpleIDGenerator(); + class SWIFTEN_API SimpleIDGenerator : public IDGenerator { + public: + SimpleIDGenerator(); + ~SimpleIDGenerator(); - std::string generateID(); + std::string generateID() SWIFTEN_OVERRIDE; - private: - std::string currentID; - }; + private: + std::string currentID; + }; } |