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

+53
View File
@@ -0,0 +1,53 @@
#
# $Id$
# $HeadURL$
# $Author$
#
SET(LOG4CXX_PROPS_FILE log4cxx_opapp.props)
SET(mwt_SRCS
main.cpp
${LOG4CXX_PROPS_FILE}
)
IF(WIN32)
SET(JBN ${JENKINS_BUILD_NUMBER})
IF (NOT JENKINS_BUILD_NUMBER)
SET(JBN "0")
ENDIF()
SET(OPAPP_VERSION_INFO "${LTS_VERSION_MAJOR}, ${LTS_VERSION_MINOR}, ${JBN}, ${LTS_VERSION_PATCH}")
CONFIGURE_FILE(opapp.rc.cmake ${CMAKE_CURRENT_BINARY_DIR}/opapp.rc)
LIST(APPEND mwt_SRCS ${CMAKE_CURRENT_BINARY_DIR}/opapp.rc)
ENDIF()
NGL_ADD_APP_ICON(mwt_SRCS)
IF(BUILD_RPM)
NGL_ADD_EXECUTABLE(WS OperatorApplication WIN32 ${mwt_SRCS})
ELSE()
NGL_ADD_EXECUTABLE(WS OperatorApplication ${mwt_SRCS})
ENDIF()
NGL_TARGET_LINK_LIBRARIES(OperatorApplication
ArcGISQt5Hack # make sure it's loaded *before* libEsriCommonQt.so
Qt5::Widgets
Qt5::Network
nglapplication
LtsCommandLineParser
NGLLogger
LtsSession
LtsPluginLoader
LtsAppDescriptor
LtsAppManager
LtsSessionData
LtsUtilsSettings
ngltranslator
nglsettings
LtsProjectionWorkstation
LtsMultiMonitor # TODO: rm if -m is out
LtsUtilsGuiConnectDialog # to set timeout if -v is set
LtsUtilsGuiStyleManager
)
NGL_INSTALL_TARGET(OperatorApplication)
NGL_INSTALL(FILES WS ${LOG4CXX_PROPS_FILE} DESTINATION "bin")
+537
View File
@@ -0,0 +1,537 @@
# Created by Mike Wille, SLSE, 2016-08-08
log4j.reset=true
log4j.rootLogger=WARN, file
# LtsSession
###########################################################
#log4j.logger.LtsSession.TopicLockHandler=INFO
#log4j.logger.LtsWidget.LtsDialog=INFO
# SituationReplayManagement SRM
###########################################################
#log4j.logger.SRM=DEBUG
# Schnittstelle Adpter Adler SAA
###########################################################
#log4j.logger.SAA.SAAInterfaceGuiPlugin=DEBUG
#log4j.logger.SAA.SaaDialogModel=DEBUG
#log4j.logger.SAA.CustomViewSaa=DEBUG
#log4j.logger.SAA.SaaChooser=DEBUG
# FileManagement FLM
###########################################################
#log4j.logger.AVM=DEBUG
#log4j.logger.FLM.Plugins.Data=INFO
#log4j.logger.FLM.Plugins.Gui.Explorer=INFO
#log4j.logger.FLM.Plugins.Gui.FlmCombobox=INFO
#log4j.logger.FLM.FileManagementDialog=DEBUG
#log4j.logger.FLM.DialogModelFolder=INFO
#log4j.logger.FLM.DialogEditFolder=INFO
#log4j.logger.FLM.DialogModelFile=INFO
#log4j.logger.FLM.FileContentEditDialog=DEBUG
#log4j.logger.FLM.FileContentPreviewDialog=DEBUG
#log4j.logger.FLM.SetAttributesDialog=INFO
#log4j.logger.FLM.HQReportModel=DEBUG
# FilterManagement FLT
###########################################################
#log4j.logger.FLT.AesDisplayFilterImpl=DEBUG
#log4j.logger.FLT.BuildingComponentSettingsImpl=TRACE
#log4j.logger.FLT.BuildingComponentFilterDialog=TRACE
#log4j.logger.FLT.BuildingComponentSettingsWidget=TRACE
#log4j.logger.FLT.SymbolAppearanceSettings=DEBUG
#log4j.logger.FLT.SymbolAppearanceDialog=INFO
#log4j.logger.FLT.SymbolAppearanceWidget=DEBUG
#log4j.logger.FLT.FilterChangeDialog=INFO
# CodificationManagement COD
###########################################################
#log4j.logger.COD.Plugins.Gui.CodificationDataImpl=DEBUG
#log4j.logger.COD.CodificationDataOverviewDialog=DEBUG
#log4j.logger.COD.CodificationDataOverviewModel=DEBUG
#log4j.logger.COD.CodificationDataTableView=DEBUG
#log4j.logger.COD.CodificationDataTableEditView=DEBUG
#log4j.logger.COD.CodificationDataTableView=DEBUG
#log4j.logger.COD.CodificationCSVExport=DEBUG
#log4j.logger.COD.CodificationCSVImport=DEBUG
#log4j.logger.COD.NumeralCodeTableModel=DEBUG
#log4j.logger.COD.AuthenticationCodeTableModel=DEBUG
#log4j.logger.COD.LogisticalTermsModel=DEBUG
#log4j.logger.COD.PhraseTableModel= DEBUG
#log4j.logger.COD.CodeTableEditDelegate=DEBUG
#log4j.logger.COD.AssignCodificationDataTable=DEBUG
# AlarmManagement Info
###########################################################
#log4j.logger.ALM.Config=DEBUG
#log4j.logger.ALM.Model=DEBUG
#log4j.logger.ALM.Dialog=DEBUG
# InfrastructureManagement ISM
###########################################################
#log4j.logger.ISM.ApproachingPointsDialog=DEBUG
#log4j.logger.ISM.ApproachingPointsDialogModel=DEBUG
#log4j.logger.ISM.AssetFilterDialog=DEBUG
#log4j.logger.ISM.AssetListDialog=DEBUG
#log4j.logger.ISM.AssetListDialogModel=DEBUG
#log4j.logger.ISM.AudioVideoConfigPlugin=DEBUG
#log4j.logger.ISM.BuildingMountPointDialog=DEBUG
#log4j.logger.ISM.BuildingMountPointModel=DEBUG
#log4j.logger.ISM.CustomViewSchedule=DEBUG
#log4j.logger.ISM.DdsSelector=DEBUG
#log4j.logger.ISM.EditApproachingPointDialog=DEBUG
#log4j.logger.ISM.EditAssetDialog=DEBUG
#log4j.logger.ISM.ExerciseAssignmentDialog=DEBUG
#log4j.logger.ISM.ExerciseAssignmentDialogModel=DEBUG
#log4j.logger.ISM.ForeignDataInterface=DEBUG
#log4j.logger.ISM.InfrastructureManagement=DEBUG
#log4j.logger.ISM.MountingPointInfoDialog=DEBUG
#log4j.logger.ISM.MountingPointListDialog=DEBUG
#log4j.logger.ISM.MountingPointListDialogModel=DEBUG
#log4j.logger.ISM.NewPlanDialog=DEBUG
#log4j.logger.ISM.OverviewDialog=DEBUG
#log4j.logger.ISM.OverviewDialogModel=DEBUG
#log4j.logger.ISM.OverviewMountingPointListDialog=DEBUG
#log4j.logger.ISM.ViewMountingPointListModel=DEBUG
#log4j.logger.ISM.PlanChooser=DEBUG
#log4j.logger.ISM.PlanDialog=DEBUG
#log4j.logger.ISM.PlanDialogModel=DEBUG
#log4j.logger.ISM.PlanEditDialog=DEBUG
#log4j.logger.ISM.PlanTimeLineDialog=DEBUG
#log4j.logger.ISM.PlanTimeLineModel=DEBUG
#log4j.logger.ISM.Plugins.Gui.IsmCombobox=DEBUG
#log4j.logger.ISM.ResourceManagement=DEBUG
#log4j.logger.ISM.SetPropertiesDialog=DEBUG
#log4j.logger.ISM.SetRecordingDialog=DEBUG
# AreaEffectSimulation Info
###########################################################
#log4j.logger.AES.AESInfo=DEBUG
#log4j.logger.AES.AESInfoDialog=DEBUG
# generated using ctc_find_getlogger.sh
#log4j.logger.AES.AesGuiBase=DEBUG
#log4j.logger.AES.AESInfo=DEBUG
#log4j.logger.AES.AESInfoDialog=DEBUG
#log4j.logger.AES.AesItemList=DEBUG
#log4j.logger.AES.ChargeAdministration=DEBUG
#log4j.logger.AES.ChargeAdministrationList=DEBUG
#log4j.logger.AES.DangerArea.AesItemInfo=DEBUG
#log4j.logger.AES.Plugins.Gui.Aes.Borderline=DEBUG
#log4j.logger.AES.Plugins.Gui.AirSupport=DEBUG
#log4j.logger.AES.Plugins.Gui.BcContamination=DEBUG
#log4j.logger.AES.Plugins.Gui.BorderlineImpl=DEBUG
#log4j.logger.AES.Plugins.Gui.ChargeAdministration=DEBUG
#log4j.logger.AES.Plugins.Gui.DangerArea=DEBUG
#log4j.logger.AES.Plugins.Gui.Explosion=DEBUG
#log4j.logger.AES.Plugins.Gui.FunctionalArea=DEBUG
#log4j.logger.AES.Plugins.Gui.GasPipe=DEBUG
#log4j.logger.AES.Plugins.Gui.MineArea=DEBUG
#log4j.logger.AES.Plugins.Gui.MineCorridor=DEBUG
#log4j.logger.AES.Plugins.Gui.MineSingleVirtual=DEBUG
#log4j.logger.AES.Plugins.Gui.NContamination=DEBUG
#log4j.logger.AES.Plugins.Gui.TechnicalArea=DEBUG
#log4j.logger.AES.BCContaminationEdit=DEBUG
#log4j.logger.AES.BoobyTrapEdit=DEBUG
#log4j.logger.AES.BorderlineEdit=DEBUG
#log4j.logger.AES.DangerAreaEdit=DEBUG
#log4j.logger.AES.ExplosionEdit=DEBUG
### setExplosionsEdit to ERROR (WARN "zValue is very small, set to 100")
log4j.logger.AES.ExplosionsEdit=ERROR
#log4j.logger.AES.FunctionalAreaEdit=DEBUG
#log4j.logger.AES.GasPipeEdit=DEBUG
#log4j.logger.AES.MineAreaEdit=DEBUG
#log4j.logger.AES.MineCorridorEdit=DEBUG
#log4j.logger.AES.NContaminationEdit=DEBUG
#log4j.logger.AES.OffRouteMineEdit=DEBUG
#log4j.logger.AES.TechnicalAreaEdit=DEBUG
# in context ExplosionCluster / Artillery suppress warnings of TrajectoryGenerator, TrajectoryGeneratorVulcano
log4j.logger.AES.TrajectoryGenerator=ERROR
log4j.logger.AES.TrajectoryGeneratorVulcano=ERROR
# AdvancedSymbolgy
###########################################################
#log4j.logger.AdvSymbology=INFO
#log4j.logger.AdvSymbology.FlmSubscriber=DEBUG
# FlmSubscriber.ReFetch should be on INFO to be able check the occurance of ReFetching
#log4j.logger.AdvSymbology.FlmSubscriber.ReFetch=INFO
#log4j.logger.AdvSymbology.FlmSymbolProxy=DEBUG
#log4j.logger.AdvSymbology.EsriDictionaryProcessor=INFO
#log4j.logger.AdvSymbology.SidcBuilder=INFO
#log4j.logger.AdvSymbology.PropertyResult=INFO
#log4j.logger.AdvSymbology.PropertyResultWatcher=INFO
#log4j.logger.AdvSymbology.SymbolResult=INFO
#log4j.logger.AdvSymbology.SymbolResultWatcher=INFO
#log4j.logger.AdvSymbology.SymbolDictionary=INFO
#log4j.logger.AdvSymbology.SymbolDictionaryImpl=INFO
# AdvancedSymbolgy - Plugin
#log4j.logger.AdvSymbology.FlmSubscriber=INFO
#log4j.logger.AdvSymbology.FlmSymbolProxy=INFO
# Building-Viewer
###########################################################
#log4j.logger.BDV=DEBUG
#Common
#log4j.logger.BDV.BuildingManager=DEBUG
#log4j.logger.BDV.BuildingViewerDdsController=DEBUG
#log4j.logger.BDV.BgViewerControllerSingleton=DEBUG
#log4j.logger.BDV.BuildingViewerDdsController=DEBUG
#log4j.logger.BDV.CommunicationInterface=DEBUG
#GUI
#log4j.logger.BDV.BuildingViewer::BuildingEdit=DEBUG
#log4j.logger.BDV.BgViewerDataView=DEBUG
#log4j.logger.BDV.ThreadVideoExporter=DEBUG
#log4j.logger.BDV.ReplayHandler=DEBUG
#log4j.logger.BDV.BdvPluginProvider=DEBUG
#log4j.logger.BDV.BgViewerDataViewDialog=DEBUG
#log4j.logger.BDV.TopicReplayInterface=DEBUG
#Plugin
#log4j.logger.BDV.InterfaceImpl=DEBUG
# Building
###########################################################
#log4j.logger.BLD.BldInfo=DEBUG
#log4j.logger.BLD.BldInfoDialog=DEBUG
#log4j.logger.BLD.BuildingConfigDialog=DEBUG
# TakeHomePackageManager
###########################################################
#log4j.logger.TPM.ExportedScriptsModel=DEBUG
# Script Editor
###########################################################
#log4j.logger.ScriptTimelineDialog.JournalDialog=DEBUG
#log4j.logger.ScriptTimelineDialog.ScriptTimelineDialog=DEBUG
#log4j.logger.ScriptTimelineDialog.ScriptModel=DEBUG
#log4j.logger.ScriptTimelineDialog.Plugins.Gui.Pre.ScriptTimeline=DEBUG
#log4j.logger.ScriptTimelineDialog.StoryboardDialog=DEBUG
#log4j.logger.PRE.ScreenRecorder=DEBUG
#log4j.logger.PRE.TopicRecorder=DEBUG
# SituationMap
###########################################################
#log4j.logger.SituationMap=INFO
### rethink SituationMap.Plugins.Gui.SitMap
#log4j.logger.SituationMap.Plugins.Gui.SitMap=INFO
#log4j.logger.SituationMap.SituationMapInit=INFO
#log4j.logger.SituationMap.MapInitializer=INFO
#log4j.logger.SituationMap.ThatPartyIdToColorFunctor=INFO
#log4j.logger.SituationMap.RegisterAppHandler=INFO
# SituationMap-AdapterDds:
#log4j.logger.SituationMap.AdapterDds=INFO
#log4j.logger.SituationMap.EmergencyCallToMap=INFO
#log4j.logger.SituationMap.MovementTrack=INFO
#log4j.logger.SituationMap.MovementTrackManager=INFO
#log4j.logger.SituationMap.Building2SituationMap=INFO
#log4j.logger.SituationMap.BuildingOwnership=INFO
#log4j.logger.SituationMap.BCContamination2SituationMap=INFO
#log4j.logger.SituationMap.ExplosionSingle2SituationMap=INFO
#log4j.logger.SituationMap.ExplosionArea2SituationMap=INFO
#log4j.logger.SituationMap.ExplosionCluster2SituationMap=INFO
#log4j.logger.SituationMap.ExplosionCluster2SituationMap.update=INFO
#log4j.logger.SituationMap.GuezIed2SituationMap=INFO
#log4j.logger.SituationMap.Participant2SituationMap=INFO
#log4j.logger.SituationMap.HitlineInfo2SituationMap=INFO
#log4j.logger.SituationMap.MineArea2SituationMap=INFO
#log4j.logger.SituationMap.MsePointToMap=INFO
#log4j.logger.SituationMap.MseBridgeToMap=INFO
#log4j.logger.SituationMap.MountingPointToMap=INFO
#log4j.logger.SituationMap.SoundAreaToMap=INFO
#log4j.logger.SituationMap.AerialOrdnance2SituationMap=INFO
#log4j.logger.SituationMap.BoobyTrap2SituationMap=INFO
#log4j.logger.SituationMap.OffRoute2SituationMap=INFO
#log4j.logger.SituationMap.ChargeEffectToMap=INFO
# SituationMap-Core
#log4j.logger.SituationMap=INFO
#log4j.logger.SituationMap.MapImpl=INFO
#log4j.logger.SituationMap.MapSettings=INFO
#log4j.logger.SituationMap.MapInitializer=INFO
#log4j.logger.SituationMap.JumpPoints=INFO
#log4j.logger.SituationMap.JumpPointWidget=TRACE
#log4j.logger.SituationMap.LayerFactoryImpl=INFO
#log4j.logger.SituationMap.LayerControl=INFO
#log4j.logger.SituationMap.LogicalLayer=INFO
#log4j.logger.SituationMap.CoordTranslationFunctorImpl=INFO
#log4j.logger.SituationMap.CoordTranslationThread=INFO
#log4j.logger.SituationMap.PositionsTranslated=INFO
#log4j.logger.SituationMap.GridImpl=INFO
#log4j.logger.SituationMap.ObjectFactory=INFO
#log4j.logger.SituationMap.IdGenerator=INFO
#log4j.logger.SituationMap.ObjectContainer=INFO
#log4j.logger.SituationMap.ObjectContainerCTC=INFO
#log4j.logger.SituationMap.OverlayHandlerImpl=INFO
#log4j.logger.SituationMap.OverviewMapHandlerImpl=INFO
#log4j.logger.SituationMap.OverviewMap=INFO
#log4j.logger.SituationMap.PixelBasedTextBoxHandlerImpl=INFO
#log4j.logger.SituationMap.ViewshedImpl=INFO
#log4j.logger.SituationMap.ViewshedBase=INFO
# SituationMap-AbstractMapObject's
#log4j.logger.SituationMap.AbstractMapObjectImpl=INFO
#log4j.logger.SituationMap.AbstractEffectSimulationImpl=INFO
#log4j.logger.SituationMap.OriginTranslated=INFO
#log4j.logger.SituationMap.PositionsTranslated=INFO
#log4j.logger.SituationMap.AbstractMultiPointMapObjectImpl=INFO
#log4j.logger.SituationMap.AbstractSinglePointMapObjectImpl=INFO
#log4j.logger.SituationMap.BasicPathObjectImpl=INFO
#log4j.logger.SituationMap.PathContainer=INFO
#log4j.logger.SituationMap.IndicationContainer=INFO
#log4j.logger.SituationMap.PolygonImpl=INFO
#log4j.logger.SituationMap.PolylineImpl=INFO
#log4j.logger.SituationMap.TextImpl=INFO
#log4j.logger.SituationMap.AreaFireImpl=INFO
#log4j.logger.SituationMap.BiologicalAgentImpl=INFO
#log4j.logger.SituationMap.BuildingOutlineImpl=INFO
#log4j.logger.SituationMap.ChemicalAgentImpl=INFO
#log4j.logger.SituationMap.DangerAreaImpl=INFO
#log4j.logger.SituationMap.FunctionalAreaImpl=INFO
#log4j.logger.SituationMap.GeoImageImpl=INFO
#log4j.logger.SituationMap.HitLineImpl=INFO
#log4j.logger.SituationMap.ObjectIndicatorImpl=INFO
#log4j.logger.SituationMap.MineImpl=INFO
#log4j.logger.SituationMap.MineFieldImpl=INFO
#log4j.logger.SituationMap.NineLinerImpl=TRACE
#log4j.logger.SituationMap.NuclearAgentImpl=INFO
#log4j.logger.SituationMap.ParticipantImpl=INFO
#log4j.logger.SituationMap.SingleFireImpl=INFO
#log4j.logger.SituationMap.CubeImpl=INFO
#log4j.logger.SituationMap.VirtualMineImpl=INFO
#log4j.logger.SituationMap.AbstractGraphicalObject=INFO
#log4j.logger.SituationMap.GraphicalObjectAttributes=INFO
#log4j.logger.SituationMap.GraphicalObjectEllipse=INFO
#log4j.logger.SituationMap.GraphicalObjectPath=INFO
#log4j.logger.SituationMap.GraphicalObjectMultiPath=INFO
#log4j.logger.SituationMap.GraphicalObjectPictureMarker=INFO
#log4j.logger.SituationMap.GraphicalObjectRange=INFO
#log4j.logger.SituationMap.GraphicalObjectRendererAttributes=INFO
#log4j.logger.SituationMap.GraphicalObjectSceneMarker=INFO
#log4j.logger.SituationMap.GraphicalObjectText=INFO
#log4j.logger.SituationMap.TacticalAppearance=INFO
#log4j.logger.SituationMap.ElevationMapManager=DEBUG
#log4j.logger.SituationMap.ElevationMap=DEBUG
# SituationMap-Widgets
#log4j.logger.SituationMap.MapWidgetControl=INFO
#log4j.logger.SituationMap.LayerControlDialog=INFO
#log4j.logger.SituationMap.ConfigureMapUrls=INFO
# TargetManagement TGT
###########################################################
# SVC
#log4j.logger.TGT.DdsHandler=INFO
#log4j.logger.TGT.HandlerTargetConfig=INFO
# SVC-L400
#log4j.logger.TGT.HandlerShootbackArea=INFO
#log4j.logger.TGT.HandlerShootbackTarget=INFO
#log4j.logger.TGT.HandlerTargetAreaAssignment=INFO
#log4j.logger.TGT.ObjectShootbackArea=INFO
#log4j.logger.TGT.ObjectShootbackTarget=INFO
#log4j.logger.TGT.ObjectTargetAreaAssignment=INFO
#log4j.logger.TGT.ShootbackController=INFO
# PLUGIN-L400
#log4j.logger.Plugins.Gui.Tgt.Target=INFO
#log4j.logger.TGT.ParticipantHandler=INFO
#log4j.logger.TGT.AreaDialog=INFO
#log4j.logger.TGT.AreaEdit=INFO
#log4j.logger.TGT.AreaModel=INFO
#log4j.logger.TGT.AssignmentParticipantModel=INFO
#log4j.logger.TGT.AssignmentDialog=INFO
#log4j.logger.TGT.AssignmentEditDialog=INFO
#log4j.logger.TGT.ShootbackTargetEdit=INFO
#log4j.logger.TGT.TargetPartDialog=INFO
#log4j.logger.TGT.TargetParticipantModel=INFO
# MeteoDataManagement MDM
###########################################################
#log4j.logger.MDM.MeteoDataManagementDialog=INFO
#log4j.logger.MDM.MeteoDataManagementEdit=INFO
#log4j.logger.MDM.MeteoDataModel=INFO
#log4j.logger.MDM.InterfaceImpl.MeteoData=INFO
# Messaging MSG
###########################################################
#log4j.logger.MSG.MessagingDialog=INFO
#log4j.logger.MSG.MessagingModel=INFO
# AudioVideoManagement AVM
###########################################################
# AVM AudioSettings
#log4j.logger.AVM.AudioSettingsDialog=DEBUG
#log4j.logger.AVM.AudioSettingsAvailStreamsModel=DEBUG
#log4j.logger.AVM.AudioSettingsUsedStreamsModel=DEBUG
# AVM TopicEditor
#log4j.logger.AVM.AvmSequenceModel=DEBUG
# AVM AVMenuEdit
#log4j.logger.AVM.Plugins.Gui.Avm.MenuEdit=DEBUG
#log4j.logger.AVM.AvailableStreamsModel=DEBUG
#log4j.logger.AVM.UsedStreamsModel=DEBUG
#log4j.logger.AVM.ChooseMenu=DEBUG
#log4j.logger.AVM.AudioVideoManagementEdit=DEBUG
#log4j.logger.AVM.AudioVideoManagementDialog=DEBUG
#log4j.logger.AVM.MenuViewModel=DEBUG
#log4j.logger.AVM.NewMenu=DEBUG
# AVM CNR
#log4j.logger.AVM.Plugins.Gui.Avm.CombatNetRadio=DEBUG
#log4j.logger.AVM.CombatNetRadioDialog=DEBUG
#log4j.logger.AVM.CombatNetRadioDialogModel=DEBUG
#log4j.logger.AVM.EditCombatNetRadioDialog=DEBUG
# AVM CNR FrequencyPlanning
#log4j.logger.AVM.Plugins.Gui.Avm.CombatNetRadio=DEBUG
#log4j.logger.AVM.FrequencyPlanningDialog=DEBUG
#log4j.logger.AVM.FrequencyPlanningDialogModel=DEBUG
#log4j.logger.AVM.InitFrequencyPlanningDialog=DEBUG
#log4j.logger.AVM.EditFrequencyPlanningDialog=DEBUG
#log4j.logger.AVM.EditFrequencyPlanningDataModel=DEBUG
#log4j.logger.AVM.EditFrequencyPlanningResourceDialog=DEBUG
#log4j.logger.AVM.EditFrequencyPlanningResourceDataModel=DEBUG
# AVM Eloka
#log4j.logger.AVM.Plugins.Gui.avm.Eloka=DEBUG
#log4j.logger.AVM.ElokaDialog=DEBUG
#log4j.logger.AVM.ElokaEditDialog=DEBUG
#log4j.logger.AVM.ElokaModel=DEBUG
# AVM MobileVideoSystem
#log4j.logger.AVM.Plugins.Gui.Avm.MobileVideoSystem=DEBUG
#log4j.logger.AVM.MvsDialog=DEBUG
#log4j.logger.AVM.EditVideoTeamDialog=DEBUG
#log4j.logger.AVM.MvsModel=DEBUG
#log4j.logger.AVM.MvsVideoTeamDialog=DEBUG
# AVM TVC
#log4j.logger.AVM.Plugins.Gui.Avm.CombatNetRadio=DEBUG
#log4j.logger.AVM.TrainingVoiceCommunicationDialog=DEBUG
#log4j.logger.AVM.EditTrainingVoiceCommunicationDialog=DEBUG
#log4j.logger.AVM.TrainingVoiceCommunicationDialogModel=DEBUG
# OPM
###########################################################
#log4j.logger.OPM.Plugins.Gui.Opm=INFO
#log4j.logger.OPM.Plugins.Gui.Opm.Edit=INFO
#log4j.logger.OPM.Plugins.Gui.Opm.Overview=INFO
#log4j.logger.OPM.Plugins.Gui.Opm.OpmCombobox=INFO
#log4j.logger.OPM.Plugins.Gui.Opm.Settings=INFO
#log4j.logger.OPM.Plugins.Gui.Opm.SettingsDialog=INFO
#log4j.logger.OPM.LoginDialog=INFO
#log4j.logger.OPM.SettingsGroup=DEBUG
# PWS
###########################################################
#log4j.logger.PWS.LtsProjetionWorkstation=INFO
#log4j.logger.PWS.ControlDialog=INFO
# Online Help
#log4j.logger.OLH.onlineHelp=INFO
# ServiceMonitor
###########################################################
#log4j.logger.ServiceMonitorDialog=INFO
#log4j.logger.ServiceMonitorBiteModel=INFO
#log4j.logger.ServiceMonitorManipulationModel=INFO
#log4j.logger.BasePlayerModel=DEBUG
#log4j.logger.PartyEquipmentCheckDialog=DEBUG
#log4j.logger.SingleServiceEquipmentCheckDialog=DEBUG
# Appnd_File
###########################################################
log4j.appender.file=Lts::RollingFileAppender
log4j.appender.file.MaxFileSize=100MB
log4j.appender.file.MaxBackupIndex=9
#log4j.appender.file.file=${LOG4QT_LOGDIR}/${LOG4QT_USER}_OpApp.log
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %-5p %c |#| %m (%.50F:%L) %n
# Appnd_Console
###########################################################
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern= %d %-5p %c{1} |#| %m (%-.30F:%L) %n
#log4j.appender.stdout.layout.ConversionPattern= %d %-5p %-30c |#| %m (%-.30F:%L) %n
# Appnd_Syslog
###########################################################
log4j.appender.syslog=org.apache.log4j.SyslogAppender
log4j.appender.syslog.Threshold=ERROR
log4j.appender.syslog.SysLogHost=localhost
log4j.appender.syslog.Facility=LOCAL7
log4j.appender.syslog.layout=org.apache.log4j.PatternLayout
log4j.appender.syslog.layout.ConversionPattern= %-4r %-5p %c %x - %m
log4j.appender.syslog.LevelRangeFilter.AcceptOnMatch=true
log4j.appender.syslog.LevelRangeFilter.LevelMin=INFO
log4j.appender.syslog.LevelRangeFilter.LevelMax=FATAL
###########################################################
###########################################################
###########################################################
# 1) Available Levels in LOG4CXX Version 0.10.0:
# TRACE,
# DEBUG,
# INFO,
# WARN,
# ERROR
# FATAL
#
# d = date/time
# p = priority (Level)
# c = category/channel
# m = message
# F = file
# L = line
# n = platform dependent line separator character or characters.
# ....
#
# Examples for console:
# a)
# %d %p %c #%m# (%.50F:%L)%n
# date/time
# priority
# category/channel
# #message#
# (Maximal 50Character des Filename von rechts:Line)
# line separator
#
# b)
# %d (%.15F:%L) %-5p %c |#| %m%n
# date/time
# (Maximal 15Character des Filename von rechts:Line)
# priority, Right pad with spaces if the priority name is less than 5 characters long.
# category/channel
# message
# line separator
#
+523
View File
@@ -0,0 +1,523 @@
/**
* @RDE_HEADER@
* main for OperatorApplication
* $Id$
* $HeadURL$
* $Author$
*/
#include <LtsSession/lts_session.h>
#include <LtsSession/lts_session_manager.h>
#include <LtsAppManager/lts_app_manager.h>
#include <LtsPluginManager/lts_plugin_loader.h>
#include <LtsSession/lts_session_data.h>
#include <LtsCommandLineParser/LtsCommandLineParser.h>
#include <LtsMultiMonitor/lts_multi_monitor.h>
#include <StyleManager/style_manager.h>
#include <LtsWidgets/lts_global_wait_dialog.h>
#include <LtsWidgets/lts_splash.h>
#include <LtsWidgets/lts_combo_box.h>
#include <LtsProjectionWorkstation/lts_projection_workstation.h>
#include <LtsUtilsSettings/settings.h>
#include <nglapplication/nglapplication.h>
#include <nglapplication/nglloggerhandler.h>
#include <nglsettings/nglsettings_settings.h>
#include <ngltranslator/ngltranslator.h>
#include <NGLLogger/INGLLogger.h>
#include <rti/config/Logger.hpp>
#include <QPixmap>
#include <QProcess>
#include <QDir>
#include <QString>
#include <QMessageBox>
#include <QSurfaceFormat>
#include <QScrollerProperties>
#include <QInputDialog>
#include <QNetworkProxy>
#include <QTimer>
class CmdLineParser : public LtsCommandLineParser::LtsCommandLineParser
{
public:
CmdLineParser()
: LtsCommandLineParser(ProvideCommandLineParameterOptions(CreateDomainIdFromIp | DomainId | ExerciseId | TcpConnectionUrl))
{
addOption({{QStringLiteral("a"), QStringLiteral("application")},
QStringLiteral("Specify the initial application to start (Default: Situation [Demo / Dev - otherwise NOT SPECIFIED => starts AppChooser]"), QStringLiteral("Application"),
QStringLiteral("Situation")
}); // TODO: remove default on release
addOption({{QStringLiteral("b"), QStringLiteral("basePlugin")},
QStringLiteral("Base Project Plugin Iid to start the application with (Default: <not specified>)"), QStringLiteral("Base Project Plugin Iid"),
QString()
}); // TODO: remove default on release
addOption({{QStringLiteral("s"), QStringLiteral("stylePlugin")},
QStringLiteral("Style Plugin to start the application with (Default: rme.light)"), QStringLiteral("Style Plugin Iid"),
QStringLiteral("rme.light")
});
addOption({{QStringLiteral("u"), QStringLiteral("username")},
QStringLiteral("Preset Username to skip login (also specify -p !)"),
QStringLiteral("username")
});
addOption({{QStringLiteral("x"), QStringLiteral("tabletmode")},
QStringLiteral("Enforce Tablet Mode"),
QStringLiteral("false")
});
addOption({{QStringLiteral("w"), QStringLiteral("workstationmode")},
QStringLiteral("Enforce Workstation Mode"),
QStringLiteral("false")
});
addOption({{QStringLiteral("q"), QStringLiteral("qos_file")},
QStringLiteral("Define QoS Profile "),
QStringLiteral("qos_file")
});
addOption({{QStringLiteral("p"), QStringLiteral("password")},
QStringLiteral("Preset Password to skip login (also specify -u !)"),
QStringLiteral("password")
});
addOption({{QStringLiteral("k"), QStringLiteral("skipScreen")},
QStringLiteral("Tell the Multi Monitor mode to not put anything on the screen with id n (example: 1 (skips entire screen 1)) - or on sub screen 0 or 1 (left or right) for ultra wide screens (example: 1.1 (skips the right side of screen 1)) (Default: (none))"),
QStringLiteral("screen id"),
});
addOption({{QStringLiteral("m"), QStringLiteral("multi-monitor-mode")},
QStringLiteral("Use the Multi Monitor mode to place Base Layouts on Screens in Fullscreen")
});
#ifdef LTS_DEBUG
addOption({QStringLiteral("dbgmmm"),
QStringLiteral("Start the multi-monitor-mode with reduced size for use on development maschines")
});
#endif
addOption({{QStringLiteral("r"), QStringLiteral("replayId")},
QStringLiteral("Default: -1"),
QStringLiteral("Replay ID"),
QStringLiteral("-1")
});
addOption({{QStringLiteral("l"), QStringLiteral("lang")},
QStringLiteral("Language iso code to use (de_DE, en_GB, en_US)"),
QStringLiteral("<locale iso code>")
});
addOption({QStringLiteral("ignore-plugins"),
QStringLiteral("Ignore these plugins, which otherwise would be loaded, "
"specified by apps.json of the selected Base Plugin. "
"Example: \"--ignore-plugins data:avm,data:bdv,gui:avm\""),
QStringLiteral("ignore-plugins") // <= value
});
addOption({QStringLiteral("projection"),
QStringLiteral("Application is started on an Projection Workstation."),
});
addOption({QStringLiteral("check-requirements"),
QStringLiteral("Lets the Plugin Loader check if every App's requirements are met before starting"),
});
addOption({QStringLiteral("enable-experimental-web-platform-features"),
QString(),
});
addOption({QStringLiteral("script"),
QStringLiteral("Id of a script. The script has to exist in the given exercise."),
QStringLiteral("ScriptId"),
QStringLiteral("0")
});
addOption({QStringLiteral("place-script-screens"),
QStringLiteral("Let the screen 1 and screen 2 of the script-editor be placed automatically on startup.")
});
m_additionalHelpStr =
QStringLiteral("\n\n\e[33m example OWS : %1 -m -a0 -d1 -b legatus -t EXCTDS01:7400 -l de_DE \n\n\e[0m").arg(QCoreApplication::arguments().at(0));
// fprintf(stdout, "\n\n\e[33m example OWS : %s -m -a0 -d1 -b legatus -t EXCTDS01:7400 -l de_DE \n\n\e[0m", QCoreApplication::arguments().at(0).toLatin1().data());
}
QString operatorName() const { return value(QStringLiteral("u")); }
QString password() const { return value(QStringLiteral("p")); }
int replayId() const { return value(QStringLiteral("r")).toInt(); }
QString projectPluginIid() const { return value(QStringLiteral("b")); }
QString stylePluginIid() const { return value(QStringLiteral("s")); }
int applicationId() const { bool idk = false; int id = value(QStringLiteral("a")).toInt(&idk); if (!idk) { return -1; } return id; }
bool multiMonitorMode() const { return isSet(QStringLiteral("m")); }
bool isProjectionWorkstation() const { return isSet(QStringLiteral("projection")); }
bool isForcedTabletMode() const { return isSet(QStringLiteral("x")); }
bool isForcedWSMode() const { return isSet(QStringLiteral("w")); }
QString langIsoCode() const { return value(QStringLiteral("l")); }
QStringList ignoredPlugins() const { return value(QStringLiteral("ignore-plugins")).split(QLatin1Char(','), QString::SkipEmptyParts); }
bool checkRequirements() const { return isSet(QStringLiteral("check-requirements")); }
QString skipScreen() const { return value(QStringLiteral("k")); }
QString qosFile() const { return value(QStringLiteral("q")).size() > 0 ? value(QStringLiteral("q")) : QString(); }
int scriptId() const { return value(QStringLiteral("script")).toInt(); }
bool placeScriptScreens() const { return isSet(QStringLiteral("place-script-screens")); }
#ifdef LTS_DEBUG
bool debugMultiMonitorMode() const { return isSet(QStringLiteral("dbgmmm")); }
#endif
};
// ------------------------------------------------------------------
int main(int argc, char **argv) // TODO: json strings to lower
{
qsrand(time(nullptr));
QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
QScrollerProperties props;
props.setScrollMetric(QScrollerProperties::HorizontalOvershootPolicy, QScrollerProperties::OvershootAlwaysOff);
props.setScrollMetric(QScrollerProperties::VerticalOvershootPolicy, QScrollerProperties::OvershootAlwaysOff);
QScrollerProperties::setDefaultScrollerProperties(props);
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
//LtsApp app(argc, argv);
NGLApplication app(argc, argv);
app.createLogger("opApp");
QApplication::setQuitOnLastWindowClosed(false); // we are cool enough to handle it ourselves 8)
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QNetworkProxy::setApplicationProxy(QNetworkProxy()); // do NOT use proxies anywhere!
NGL::LoggerHandler *lh = NGL::LoggerHandler::getLoggerHandler();
if (lh)
{
const QByteArray postfix = lh->loggerNamePostfix().toLocal8Bit() + "_dds_";
const QByteArray prefix = lh->loggerNamePrefix().toLocal8Bit();
rti::config::Logger &ddsLogger = rti::config::Logger::instance();
//ddsLogger.output_file(fdopen(STDOUT_FILENO, "w"));
ddsLogger.output_file_set(postfix.data(), prefix.data(), 10 * 1024 * 1024, 10);
ddsLogger.verbosity(rti::config::Verbosity_def::WARNING);
//ddsLogger.verbosity_by_category(rti::config::LogCategory_def::COMMUNICATION, rti::config::Verbosity_def::STATUS_ALL);
}
// TODO: replace all exit(x) with qApp.quit() and an error msg
LtsWidgets::LtsGlobalWaitDialog::getInstance()->setVisible(false); // avoid wait screen, we have the splash for this reason!
#ifdef __linux__
// svcSituationRep - pgrep/pkill length limitation
QProcess::startDetached(QLatin1String("pkill -9 svcSituationRep")); // kill it!
QProcess::startDetached(QLatin1String("pkill -9 ffmpeg")); // otherwise a stray ffmpeg may record until the the disk is full
#elif _WIN32
QProcess::startDetached(QLatin1String("taskkill /im svcSituationReplay /f"));
#endif
// Parse Options
CmdLineParser options;
if (!options.init())
return -1;
// Set Translation
QString langIsoCode = options.langIsoCode();
if (langIsoCode.isEmpty())
langIsoCode = QLocale::system().name();
NGL::setTranslationLocale(langIsoCode.toLatin1());
// Set Style
QString stylePluginName = options.stylePluginIid();
if (stylePluginName.isEmpty())
{
ERROR_LOG(app.baseLogger()) << "No Style Plugin Iid specified - abort.";
return -1;
}
// .. to keep some compatibility to old resource structure TODO: rm !
QDir::setSearchPaths(QLatin1String("icon"), QStringList(QLatin1String(":/style/icons/")));
QDir::setSearchPaths(QLatin1String("icon"), QStringList(QLatin1String(":/style/"))); // FIXME: does qt check for recursion ??
LtsUtils::StyleManager::getInstance()->loadStyle(stylePluginName);
// Load Plugins
LtsPluginManager::LtsPluginLoader *pluginLoader = LtsPluginManager::LtsPluginLoader::getInstance();
QString projectPluginName = options.projectPluginIid();
if (projectPluginName.isEmpty())
{
bool k;
projectPluginName = QInputDialog::getText(nullptr,
QCoreApplication::tr("No Project Plugin specified"),
QCoreApplication::tr("Please specify a Project Plugin:"), QLineEdit::Normal,
QString(), &k); // blocking, no event loop needed
if (!k || projectPluginName.isEmpty())
{
ERROR_LOG(app.baseLogger()) << "No Project Plugin Iid specified - abort.";
return -1;
}
}
// load project plugin
if (!pluginLoader->loadPlugins(LtsPluginManager::PluginType::PROJECT, nullptr, {projectPluginName}))
{
ERROR_LOG(app.baseLogger()) << "Error loading Project Plugin - abort.";
return -1;
}
LtsUtils::ProjectSettings::initFromFile(QStringLiteral(":project/project_settings.json"));
// Setup Application
if (options.multiMonitorMode())
LtsMultiMonitor::LtsMultiMonitor::getInstance()->setEnableMultiMonitorMode();
#ifdef LTS_DEBUG
if (options.debugMultiMonitorMode())
LtsMultiMonitor::LtsMultiMonitor::getInstance()->setDebugMultiMonitorMode();
#endif
// show splash
LtsWidgets::Splash::getInstance()->show();
LtsAppDescriptor::App applicationId = LtsAppDescriptor::LtsAppDescriptor::appFromInteger(options.applicationId());
int exerciseId = options.exerciseId(); // -1 = invalid, 0 = admin, >0 = exercise
int replayId = options.replayId(); // -1 = invalid, TODO: comment doku
int scriptId = options.scriptId(); // <0 = invalid, 0 = default = ignore, >0 script
QString operatorName = options.operatorName();
QString password = options.password();
QStringList qos_file = QStringList(options.qosFile());
// TODO: log4cxx/NGLLlogger does not flush here !! messages not seen !
if (scriptId < 0)
{
ERROR_LOG(app.baseLogger()) << "Given scriptId " << scriptId << " is invalid - abort.";
return -1;
}
if (scriptId > 0 && applicationId != LtsAppDescriptor::App::Scripts)
{
ERROR_LOG(app.baseLogger()) << "ScriptId set but given app is not Scripts - abort.";
return -1;
}
if (scriptId > 0 && exerciseId < 1)
{
ERROR_LOG(app.baseLogger()) << "ScriptId set but no exercise is given - abort.";
return -1;
}
if (scriptId > 0 && exerciseId > 0 && applicationId == LtsAppDescriptor::App::Scripts)
{
LtsSessionData::LtsSessionData::getInstance()->setScriptId(scriptId);
}
if (options.placeScriptScreens() && applicationId != LtsAppDescriptor::App::Scripts)
{
ERROR_LOG(app.baseLogger()) << "PlaceScriptScreensn is set but given app is not Scripts - abort.";
return -1;
}
LtsSessionData::LtsSessionData::getInstance()->setPlaceScriptScreens(options.placeScriptScreens());
if (operatorName.isEmpty() != password.isEmpty()) // check for xor and warn user
{
ERROR_LOG(app.baseLogger()) << "Specify -u if -p is specified & vise versa - abort.";
return 1;
}
if (options.domainId() < 0)
{
ERROR_LOG(app.baseLogger()) << "Invalid configuration for domainId (" << options.domainId() << ") from LtsConfig - abort.";
QMessageBox::critical(nullptr, QCoreApplication::tr("Invalid Domain Id"), QCoreApplication::tr("Domain #%1 is not valid - abort.").arg(options.domainId()));
return -1;
}
// }
LtsSessionData::LtsSessionData *sessionData = LtsSessionData::LtsSessionData::getInstance();
sessionData->setDomainIdPreset(options.domainId());
sessionData->setRequestedAppId(applicationId);
if (options.useTcpConnection())
sessionData->setTcpConnectionUrl(options.tcpConnectionUrl());
if (options.checkRequirements())
sessionData->setDebugFlagValue(QStringLiteral("PluginManager.CheckAppRequirements"), true);
// load JSON app description file
QFile appsFile(QStringLiteral(":project/apps.json")); // TODO: convert Json => Binary Json
if (!appsFile.open(QFile::ReadOnly))
{
ERROR_LOG(app.baseLogger()) << "Could not read App Description File";
return -1;
}
QStringList lastErrors;
QString loginPluginIid;
LtsAppDescriptor::AppDescriptionVector appDescs = LtsAppDescriptor::LtsAppDescriptor::getAppDescriptionVector(appsFile.readAll(),
lastErrors,
options.ignoredPlugins(),
loginPluginIid);
if (loginPluginIid.isEmpty())
loginPluginIid = QStringLiteral("opm.login");
QString skipScreen = options.skipScreen();
int skipScreenId = -1;
int skipSubScreenId = -1;
if (!skipScreen.isEmpty())
{
QStringList skipScreenList(skipScreen.split(QLatin1Char('.'), QString::SkipEmptyParts));
int skipScreenListCount = skipScreenList.count();
if (skipScreenListCount > 2)
{
qWarning() << "invalid skip screen syntax:" << skipScreen;
return -1;
}
if (skipScreenListCount > 0)
{
bool k = false;
skipScreenId = skipScreenList.at(0).toInt(&k);
if (!k)
{
qWarning() << "invalid skip screen syntax:" << skipScreen;
return -1;
}
}
if (skipScreenListCount > 1)
{
bool k = false;
skipSubScreenId = skipScreenList.at(1).toInt(&k);
if (!k)
{
qWarning() << "invalid skip screen syntax:" << skipScreen;
return -1;
}
}
}
LtsMultiMonitor::LtsMultiMonitor::getInstance()->setSkipScreen(skipScreenId, skipSubScreenId);
appsFile.close();
if (!lastErrors.isEmpty())
{
QMessageBox::critical(nullptr, QString(), lastErrors.join(QStringLiteral("\r\n\r\n")));
// TODO: log precise msg !!
return -1;
}
if(options.isForcedTabletMode())
sessionData->setAsTablet();
else if (options.isForcedWSMode())
sessionData->setAsTablet(false);
else if (!QTouchDevice::devices().isEmpty())
sessionData->setAsTablet();
LtsWidgets::LtsComboBox::setUseSelectionDialog(sessionData->isTablet());
LtsAppManager::LtsAppManager *appManager = LtsAppManager::LtsAppManager::getInstance();
appManager->setAvailableApps(appDescs);
// Projection Specific Setup
if (options.isProjectionWorkstation())
{
if (operatorName.isEmpty() && password.isEmpty())
{
ERROR_LOG(app.baseLogger()) << "Projection-User & Password has to be specified when --projection option is active!";
return 1;
}
applicationId = LtsAppDescriptor::App::Situation;
LtsProjectionWorkstation::LtsProjectionWorkstation::getInstance()->setProjectionOperatorPreset(operatorName, password);
}
// Normal Setup
else
{
if (applicationId == LtsAppDescriptor::App::Login)
INFO_LOG(app.baseLogger()) << "No Application specified - starting with App Chooser.";
// TODO: replayid can not life without exerciseId
if (exerciseId >= 0 && replayId >= 0) // do not set both!
{
ERROR_LOG(app.baseLogger()) << "Use either -e (exercise) or -r (replay) - abort.";
return 1;
}
if (!operatorName.isEmpty() && !password.isEmpty())
{
sessionData->setOperatorPreset(operatorName, password); // if -u and -p (no Login window !)
}
if (exerciseId == 0) // Admin Session was requested explicitly
{
//sessionManager->setGlobalSessionVisible();
sessionData->setPartitionPreset(exerciseId, IDL::PartitionType::Global);
}
if (!qos_file.isEmpty()) // use defined qos file
{
//sessionManager->setGlobalSessionVisible();
DEBUG_LOG(app.baseLogger()) << "QOS -> using new file" << qos_file.join(QStringLiteral(","));
sessionData->setQosFile(qos_file);
}
if (exerciseId > 0) // non Admin => Exercise
sessionData->setPartitionPreset(exerciseId, IDL::PartitionType::Exercise);
if (replayId >= 0) // Replay
sessionData->setPartitionPreset(replayId, IDL::PartitionType::Replay);
}
appManager->setLoginPluginIid(loginPluginIid);
appManager->setMainApp(applicationId);
if (applicationId == LtsAppDescriptor::App::ThpSituationReplay)
{
LtsSessionData::LtsSessionData::getInstance()->setVisibleParties({});
LtsSessionData::LtsSessionData::getInstance()->setOperatorRights({-1});
QTimer::singleShot(0, appManager, [qos_file, appManager]()
{
LtsSession::DdsConnectionParams params;
params.domainId = 1;
params.exerciseId = 2;
params.partitionId = 2;
if (!qos_file.isEmpty())
params.qos_file = qos_file;
params.partitionType = IDL::PartitionType::Replay;
appManager->createApp(LtsAppDescriptor::App::Situation, params, {}, false, true);
} );
}
else
{
appManager->showLogin();
}
// Startup Application
STARTUP_LOG(app.baseLogger());
int iRet = app.exec();
SHUTDOWN_LOG(app.baseLogger());
return iRet;
}
+30
View File
@@ -0,0 +1,30 @@
#include <WINVER.H>
VS_VERSION_INFO VERSIONINFO
FILEVERSION @OPAPP_VERSION_INFO@
PRODUCTVERSION @OPAPP_VERSION_INFO@
FILEFLAGSMASK 0x0L
FILEFLAGS 0x0L
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040704b0"
BEGIN
VALUE "CompanyName", "Rheinmetall Electronics GmbH"
VALUE "FileDescription", "Operator Application (64bit)"
VALUE "FileVersion", "@OPAPP_VERSION_INFO@"
VALUE "InternalName", "OpApp"
VALUE "LegalCopyright", "Copyright © 2018 Rheinmetall Electronics GmbH. Alle Rechte vorbehalten"
VALUE "OriginalFilename", "OperatorApplication.exe"
VALUE "ProductName", "Operator Application"
VALUE "ProductVersion", "@OPAPP_VERSION_INFO@"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x407, 1200
END
END