55 lines
810 B
C++
Executable File
55 lines
810 B
C++
Executable File
/**
|
|
* Settings for WlsRandomPositions
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* * Created by Hanna E. Rathje, SLTE, 2022-04-01
|
|
*/
|
|
|
|
#pragma once
|
|
#include <QString>
|
|
#include <QObject>
|
|
|
|
namespace NGL
|
|
{
|
|
class Settings;
|
|
}
|
|
|
|
namespace WlsRandomPositions
|
|
{
|
|
namespace Settings
|
|
{
|
|
|
|
NGL::Settings *settings();
|
|
void setIniFile(const QString &ini);
|
|
|
|
struct TrainingArea
|
|
{
|
|
int id;
|
|
QString name;
|
|
QString bottomLeft;
|
|
int width;
|
|
int height;
|
|
};
|
|
|
|
QMap<int, TrainingArea> trainingAreas();
|
|
|
|
int amountPlayers();
|
|
int firstEquipNo();
|
|
QString firstMacAddress();
|
|
int msecs();
|
|
int jitter();
|
|
int heightMin();
|
|
int heightMax();
|
|
double maxDistance();
|
|
QString serverName();
|
|
int serverPort();
|
|
|
|
|
|
}
|
|
|
|
} // namespace WlsRandomPositions
|
|
|
|
// needed for QVariant
|
|
Q_DECLARE_METATYPE(WlsRandomPositions::Settings::TrainingArea)
|