diff options
Diffstat (limited to 'src/experimental/randombase.h')
| -rw-r--r-- | src/experimental/randombase.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/experimental/randombase.h b/src/experimental/randombase.h index c792772..aff1d45 100644 --- a/src/experimental/randombase.h +++ b/src/experimental/randombase.h | |||
| @@ -4,5 +4,22 @@ | |||
| 4 | * This file is part of the libbu++ library and is released under the | 4 | * This file is part of the libbu++ library and is released under the |
| 5 | * terms of the license contained in the file LICENSE. | 5 | * terms of the license contained in the file LICENSE. |
| 6 | */ | 6 | */ |
| 7 | #ifndef BU_RANDOM_BASE_H | ||
| 8 | #define BU_RANDOM_BASE_H | ||
| 7 | 9 | ||
| 10 | #include <stdint.h> | ||
| 8 | 11 | ||
| 12 | namespace Bu | ||
| 13 | { | ||
| 14 | class RandomBase | ||
| 15 | { | ||
| 16 | public: | ||
| 17 | RandomBase(); | ||
| 18 | virtual ~RandomBase(); | ||
| 19 | |||
| 20 | virtual void seed( int32_t iSeed )=0; | ||
| 21 | virtual int32_t rand()=0; | ||
| 22 | }; | ||
| 23 | }; | ||
| 24 | |||
| 25 | #endif | ||
