From 2949fb51f13e1236d5c161f02e1c2c8541100e9f Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 21 Oct 2004 15:05:47 +0000 Subject: Refactoring (see ChangeLog). --- src/utility/random.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/utility/random.hpp') diff --git a/src/utility/random.hpp b/src/utility/random.hpp index 0d9dd92a..70ae6716 100644 --- a/src/utility/random.hpp +++ b/src/utility/random.hpp @@ -25,6 +25,9 @@ namespace vmime { namespace utility { +/** Pseudo-random number generator. + */ + class random { public: @@ -33,21 +36,21 @@ public: * * @return random number */ - static const unsigned int next(); + static const unsigned int getNext(); /** Return the current time as a number (may be used to * build "random" strings). * * @return time as a number */ - static const unsigned int time(); + static const unsigned int getTime(); /** Return the current process number (may be user to * build "random" strings). * * @return process number */ - static const unsigned int process(); + static const unsigned int getProcess(); protected: -- cgit