summaryrefslogtreecommitdiff
path: root/other-licenses/7zstub/src/Common/Random.h
diff options
context:
space:
mode:
Diffstat (limited to 'other-licenses/7zstub/src/Common/Random.h')
-rw-r--r--other-licenses/7zstub/src/Common/Random.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/other-licenses/7zstub/src/Common/Random.h b/other-licenses/7zstub/src/Common/Random.h
new file mode 100644
index 0000000000..f6fe5c4ef4
--- /dev/null
+++ b/other-licenses/7zstub/src/Common/Random.h
@@ -0,0 +1,16 @@
+// Common/Random.h
+
+#ifndef __COMMON_RANDOM_H
+#define __COMMON_RANDOM_H
+
+class CRandom
+{
+public:
+ void Init();
+ void Init(unsigned int seed);
+ int Generate() const;
+};
+
+#endif
+
+