Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/Random.h')
-rwxr-xr-xCPP/Common/Random.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/CPP/Common/Random.h b/CPP/Common/Random.h
new file mode 100755
index 00000000..ffef20d1
--- /dev/null
+++ b/CPP/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
+
+