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

+25
View File
@@ -0,0 +1,25 @@
#
# $Id$
# $HeadURL$
# $Author$
#
INCLUDE(MacroCodeGenIdl)
SET(xml_FILE map_service.xml)
SET(SRCS_common map_dummy.cpp)
# Generate aes_dt[s,c]_types.h, aes_ft[s,c]_types.h
CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE})
NGL_ADD_LIBRARY(WS AAR SV svcMapDummy SHARED ${SRCS_common})
NGL_TARGET_LINK_LIBRARIES(svcMapDummy
PRIVATE
Qt5::Core
)
NGL_TARGET_INCLUDE_DIRECTORIES(svcMapDummy
PUBLIC
${CMAKE_CURRENT_BINARY_DIR}/..
${CMAKE_CURRENT_SOURCE_DIR}/..
)
NGL_INSTALL_TARGET(svcMapDummy)
+3
View File
@@ -0,0 +1,3 @@
#ifdef WIN32
__declspec(dllexport) int foo42(int) { return 42;} // just a dummy to get windows build running
#endif
+51
View File
@@ -0,0 +1,51 @@
/**
* Export definitions
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include <QtCore/qglobal.h>
#ifndef MAP_COMMON_EXPORT
# ifdef BUILD_STATIC_LIBRARIES
# define MAP_COMMON_EXPORT
# else
# if defined(MAKE_SVCMAPCOMMON_LIB)
# define MAP_COMMON_EXPORT Q_DECL_EXPORT
# ifndef WIN32
# ifdef NDDSUSERDllExport
# undef NDDSUSERDllExport
# endif
# define NDDSUSERDllExport Q_DECL_EXPORT
# endif
# else
# define MAP_COMMON_EXPORT Q_DECL_IMPORT
# endif
# endif
#endif
#ifndef MAP_CLIENT_EXPORT
# ifdef BUILD_STATIC_LIBRARIES
# define MAP_CLIENT_EXPORT
# else
# if defined(MAKE_SVCMAPCLIENT_LIB)
# define MAP_CLIENT_EXPORT Q_DECL_EXPORT
# else
# define MAP_CLIENT_EXPORT Q_DECL_IMPORT
# endif
# endif
#endif
#ifndef MAP_SERVER_EXPORT
# ifdef BUILD_STATIC_LIBRARIES
# define MAP_SERVER_EXPORT
# else
# if defined(MAKE_SVCMAPSERVER_LIB)
# define MAP_SERVER_EXPORT Q_DECL_EXPORT
# else
# define MAP_SERVER_EXPORT Q_DECL_IMPORT
# endif
# endif
#endif
+24
View File
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<service namespace="SituationMap" abbreviation="MAP" procNames="SituationMap">
<rcs>
<Id Id="$Id$"/>
<HeadURL HeadURL="$HeadURL$"/>
<Author Author="$Author$"/>
</rcs>
<operatorRights offset="35">
<guiPlugin name="SituationMap" offset="1">
<operatorRightGroup name="Situation Map" description="Show Situation Map">
<operatorRight right="SituationMapShow" value="1" description="Show Situation Map"/>
</operatorRightGroup>
<operatorRightGroup name="Situation Map - Distance Measurement" description="Measure Distances on the Situation Map">
<operatorRight right="SituationMapMeasureDistance" value="2" description="Measure Distances on the Situation Map"/>
</operatorRightGroup>
<operatorRightGroup name="Situation Map - Terrain Profile" description="Create and Show Terrain Profiles on Situation Map">
<operatorRight right="SituationMapTerrainProfile" value="4" description="Create and Show Terrain Profiles on Situation Map"/>
</operatorRightGroup>
<operatorRightGroup name="Situation Map - Viewshed" description="Create and Show Viewsheds (Areas visible from point on terrain elevation grid)">
<operatorRight right="SituationMapViewshed" value="3" description="Create and Show Viewsheds (Areas visible from point on terrain elevation grid)"/>
</operatorRightGroup>
</guiPlugin>
</operatorRights>
</service>