Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+54
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
* 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)
|
||||
Reference in new issue
Block a user