- ppm_types.h: Participant, Party, Dtc, Type-Struct mit getId()/getTypeClass() - ppm_enums.hpp: DataModification, TypeClass, SymbolAppearance, SymbolVisibility - exm_exercise.h: Exercise mit exercises()-Methode - exm_dtc.h: Dtc mit DataModification Signal - gna_dtc.h: Dtc mit NasatAircraftParticipant Support - gna_nasat_aircraft.h/.cpp: NasatAircraft Implementierung - gna_nasat_aircraft_participant.h/.cpp: NasatAircraftParticipant Implementierung - mrk_marker.h: Marker mit timeStamp() Methode - alm_translation.h, gna_translation.h, ppm_translation.h: Übersetzungs-Header - *_export.h: Export-Makros für Shared Libraries - Dockerfile.rti: RTI Connext Installation im Image - rti_license.dat: Leere RTI-Lizenzdatei Build erfolgreich validiert mit BUILD_RTI=ON Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
29 lines
530 B
C++
29 lines
530 B
C++
/**
|
|
* @RDE_HEADER@
|
|
* Translation helper for GuezNasat module
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
// filename: gna_translation.h
|
|
|
|
#include <QString>
|
|
#include <QObject>
|
|
#include "svcgnacommon_export.h"
|
|
|
|
namespace GuezNasat
|
|
{
|
|
/**
|
|
* @brief Translation helper function
|
|
*
|
|
* Wrapper for QObject::tr() to enable translation in non-QObject classes
|
|
*/
|
|
GNA_COMMON_EXPORT inline QString tr(const char* sourceText, const char* comment = nullptr)
|
|
{
|
|
return QObject::tr(sourceText, comment);
|
|
}
|
|
|
|
} // namespace GuezNasat
|