aboutsummaryrefslogtreecommitdiff
path: root/src/stable/randombase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stable/randombase.h')
-rw-r--r--src/stable/randombase.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/stable/randombase.h b/src/stable/randombase.h
new file mode 100644
index 0000000..aff1d45
--- /dev/null
+++ b/src/stable/randombase.h
@@ -0,0 +1,25 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7#ifndef BU_RANDOM_BASE_H
8#define BU_RANDOM_BASE_H
9
10#include <stdint.h>
11
12namespace 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