AusweisApp2
Random.h
gehe zur Dokumentation dieser Datei
1 
6 #pragma once
7 
8 #include <QObject>
9 
10 namespace governikus
11 {
12 
13 class Random
14  : public QObject
15 {
16  Q_OBJECT
17 
18  public:
19  static Random& getInstance();
20 
22  Q_INVOKABLE int randomInt(int pLowerBound, int pUpperBound) const;
23 };
24 
25 } // 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:23
Definition: Random.h:13
static Random & getInstance()
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:14