Files
T
torstenandCopilot d5af8b9764 Session 026: Lts/Services Qt5:: to Qt6:: migration
- Migrated all 104 CMakeLists.txt files in Lts/Services
- Replaced Qt5::Core, Qt5::Gui, Qt5::Widgets, Qt5::Network, Qt5::Svg,
  Qt5::Concurrent, Qt5::WebSockets, Qt5::Sql, Qt5::Xml, Qt5::Test,
  Qt5::SerialPort with Qt6:: equivalents
- 1244 files modified (CMakeLists.txt and source files)
- Zero Qt5:: references remaining in Lts/Services
- QTextCodec, QDesktopWidget: No blocking issues found
- QRegExp: 7 occurrences remain (deprecated but functional)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-25 19:23:30 +02:00

102 lines
1.9 KiB
C++
Executable File

// **************************************************************************
//
// (C) Copyright 2009 Swiss SIMTEC AG
//
// **************************************************************************
//
// $HeadURL$
// $LastChangedBy$
// $LastChangedDate$
// $LastChangedRevision$
//
// **************************************************************************
#pragma once
#include <GBL_Global/Types.hpp>
#include <NGLLogger/INGLLogger.h>
enum PanGeoPairingDeviceId
{
PAN_GP_INVALID = -1,
PAN_GP_REQUEST_MORTAR = 0,
PAN_GP_REPORT_MORTAR = 1,
PAN_GP_REQUEST_IGLA = 2,
PAN_GP_REPORT_IGLA = 3,
PAN_GP_REQUEST_MK19 = 4,
PAN_GP_REPORT_MK19 = 5,
PAN_GP_REQUEST_M109 = 6,
PAN_GP_REPORT_M109 = 7,
/*
PAN_GP_REPORT_AGS17 = 8,
PAN_GP_REPORT_MORTAR_2S12_SANI = 9,
PAN_GP_REPORT_UR_83P = 10,
PAN_GP_REPORT_2S19_HOWITZER = 11,
PAN_GP_REPORT_2S3M_HOWITZER = 12,
*/
PAN_GP_REQUEST_G5_G6 = 13,
PAN_GP_REPORT_G5_G6 = 14
};
enum e_AmmunitionType
{
AmmunitionTypeUnknown = -1,
MortarType1 = 1, // Siehe Geo-Munition [GUEZE-2411]
MortarType2 = 2,
M60mm_m385 = 1,
M60mm_m430 = 2,
MK19Type_m385 = 2,
MK19Type_m430 = 3,
HE_M1A2 = 4,
VLAP_M9703 = 5,
SMK_BE_M2 = 6,
CLUSTER_HEHC_M9609 = 7
};
enum e_IgnitionTypeG5G6
{
IgnitionTypeUnknown = -1,
IgnitionTypePercussion = 0,
IgnitionTypeProximity = 1,
IgnitionTypeTime = 2
};
namespace N_GeoPairingImpl
{
/**
* This is the Data base class
*
* @author Daniel.Schmid
* @version 1.0
* @created 01-Nov-2011 08:37:58
*/
class GeoPairingDataBase
{
public:
GeoPairingDataBase(const char *loggerName = nullptr);
virtual ~GeoPairingDataBase() = default;
UInt8 m_MessageID = 0;
PanGeoPairingDeviceId m_DeviceID = PAN_GP_INVALID;
/**
* This function parses a data stream
*
* @param a_transparentData
* @param a_sizeOfTransparentData
*/
virtual bool parse(const QByteArray& a_transparentData);
protected:
int m_Size = 2;
NGL::INGLLogger &m_logger;
};
}