Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
/**
* Settings for TetraRadio
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Ehrlicher, SLSE, 2016-04-14
*/
#pragma once
#include <QString>
#include <QJsonObject>
namespace NGL
{
class Settings;
}
namespace TrainingAreaBase
{
namespace Settings
{
//!< The real NGL::Settings - object
NGL::Settings *settings();
void setIniFile(const QString &ini);
QString txDir();
QString rxDir();
qint64 timeDelayAhead();
qint64 timeDelayBack();
bool useTetraScramling();
bool usePvSan();
// TetraIcd::CreateAreaExplosion with chargeTypeId = 254; to trigger tracer or similar
qint64 explosionToEffectDelayInMSec();
// IPS/OPS GPS transition
qint64 distanceIpsToGps();
qint64 distanceOpsToGps();
double maxSoldierSpeed();
qint64 maxSpeedCheckTimeout();
QJsonObject remainingEffects();
// Resolve Jira NLDEVCTRL-631 Gesundschiessen durch Laser Range Finder
qint64 laserRangeCode();
QPair<quint16, quint16> getWebSocketServerPortRange(int type);
}
} // namespace TrainingAreaBase