summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Base/RandomGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Base/RandomGenerator.h b/Swiften/Base/RandomGenerator.h
index 8f33020..eb5b84d 100644
--- a/Swiften/Base/RandomGenerator.h
+++ b/Swiften/Base/RandomGenerator.h
@@ -14,6 +14,10 @@ namespace Swift {
public:
virtual ~RandomGenerator();
+ /**
+ * Generates a random integer between 0 and 'max',
+ * 'max' inclusive.
+ */
virtual int generateRandomInteger(int max) = 0;
};
}