AusweisApp2
Random.h
gehe zur Dokumentation dieser Datei
1 
5 #pragma once
6 
7 #include <QObject>
8 
9 namespace governikus
10 {
11 
12 class Random
13  : public QObject
14 {
15  Q_OBJECT
16  friend class Env;
17 
18  private:
19  Random() = default;
20  ~Random() override = default;
21 
22  public:
24  Q_INVOKABLE int randomInt(int pLowerBound, int pUpperBound) const;
25 };
26 
27 } // namespace governikus
Q_INVOKABLE int randomInt(int pLowerBound, int pUpperBound) const
A discrete random distribution on the range [pLowerBound, pUpperBound] with equal probability through...
Definition: Random.cpp:14
Definition: Random.h:12
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:14
Definition: Env.h:43