/* */ #ifndef D_RANDOMIZER_H #define D_RANDOMIZER_H #include "common.h" namespace aria2 { class Randomizer { public: virtual ~Randomizer() = default; /** * Returns random number in [0, to). */ virtual long int getRandomNumber(long int to) = 0; }; } // namespace aria2 #endif // D_RANDOMIZER_H