blob: 08c6f95865db719238eb8988cc9a961593143f89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef I_RANDOM_GENERATOR_H
#define I_RANDOM_GENERATOR_H
#include <QtCore>
class IRandomGenerator
{
public:
virtual ~IRandomGenerator() {}
virtual double getInRange_11() const = 0;
virtual double getInRange_01() const = 0;
virtual int getRand() const = 0;
virtual int getRand(int maxNum) const = 0;
virtual QByteArray getArray() const = 0;
};
#endif
|