Pool Video Switch v2
Software video switch for distributed remote display in a lecture environment
Main Page
Namespaces
Classes
Files
File List
File Members
shared
util.h
Go to the documentation of this file.
1
/*
2
* util.h
3
*
4
* Created on: 30.01.2013
5
* Author: sr
6
*/
7
8
#ifndef UTIL_H_
9
#define UTIL_H_
10
11
#include <QByteArray>
12
#include <QRandomGenerator>
13
14
// Remove after we drop Ubuntu 20.04
15
#if QT_VERSION < QT_VERSION_CHECK(5,15,0)
16
#define errorOccurred error
17
#endif
18
19
#define slxrand() (QRandomGenerator::system()->generate())
20
21
QByteArray
genSha1
(
const
QByteArray *a,
const
QByteArray *b =
nullptr
,
const
QByteArray *c =
nullptr
,
const
QByteArray *d =
nullptr
,
const
QByteArray *e =
nullptr
);
22
23
#endif
/* UTIL_H_ */
genSha1
QByteArray genSha1(const QByteArray *a, const QByteArray *b=nullptr, const QByteArray *c=nullptr, const QByteArray *d=nullptr, const QByteArray *e=nullptr)
Definition:
util.cpp:13
Generated on Tue Jul 9 2024 12:00:03 for Pool Video Switch v2 by
1.8.8