other-licenses/7zstub/src/Common/Random.h

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 // Common/Random.h
     3 #ifndef __COMMON_RANDOM_H
     4 #define __COMMON_RANDOM_H
     6 class CRandom
     7 {
     8 public:
     9   void Init();
    10   void Init(unsigned int seed);
    11   int Generate() const;
    12 };
    14 #endif

mercurial