diff options
Diffstat (limited to 'Swiften/Base/RandomGenerator.h')
-rw-r--r-- | Swiften/Base/RandomGenerator.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Swiften/Base/RandomGenerator.h b/Swiften/Base/RandomGenerator.h index 4a3550d..eb5b84d 100644 --- a/Swiften/Base/RandomGenerator.h +++ b/Swiften/Base/RandomGenerator.h @@ -7,11 +7,16 @@ #pragma once +#include <Swiften/Base/API.h> #include <vector> namespace Swift { - class RandomGenerator { + class SWIFTEN_API RandomGenerator { public: virtual ~RandomGenerator(); + /** + * Generates a random integer between 0 and 'max', + * 'max' inclusive. + */ virtual int generateRandomInteger(int max) = 0; }; |