From 29e20eaede6db9c4aed5e0a17cf61a57c9900dcc Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 3 Oct 2014 16:48:49 +0200 Subject: [PATCH] Fix builds --- .gitignore | 2 + JNI/.classpath | 9 - JNI/.gitignore | 2 - JNI/.project | 33 - JNI/AndroidManifest.xml | 6 - JNI/build.xml | 14 - JNI/project.properties | 12 - .../net/osmand/core/jni/AlphaChannelData.java | 53 - JNI/src/net/osmand/core/jni/AreaD.java | 148 -- JNI/src/net/osmand/core/jni/AreaF.java | 148 -- JNI/src/net/osmand/core/jni/AreaI.java | 148 -- .../jni/AtlasMapRendererConfiguration.java | 104 -- .../core/jni/BinaryMapDataProvider.java | 69 - .../osmand/core/jni/BinaryMapDataTile.java | 60 - .../core/jni/BinaryMapPrimitivesProvider.java | 82 - .../core/jni/BinaryMapPrimitivesTile.java | 54 - .../BinaryMapRasterBitmapTileProvider.java | 73 - ...yMapRasterBitmapTileProvider_Software.java | 44 - .../core/jni/BinaryMapRasterizedTile.java | 49 - .../jni/BinaryMapStaticSymbolsProvider.java | 65 - .../core/jni/BinaryMapStaticSymbolsTile.java | 45 - JNI/src/net/osmand/core/jni/BoolPtr.java | 60 - JNI/src/net/osmand/core/jni/ColorARGB.java | 94 -- JNI/src/net/osmand/core/jni/ColorRGB.java | 82 - .../core/jni/CoreResourcesEmbeddedBundle.java | 74 - .../net/osmand/core/jni/DefaultLogSink.java | 48 - JNI/src/net/osmand/core/jni/DoublePtr.java | 60 - JNI/src/net/osmand/core/jni/Edge.java | 55 - .../osmand/core/jni/ElevationDataTile.java | 73 - JNI/src/net/osmand/core/jni/FColorARGB.java | 86 - JNI/src/net/osmand/core/jni/FColorRGB.java | 78 - JNI/src/net/osmand/core/jni/FloatPtr.java | 60 - .../core/jni/ICoreResourcesProvider.java | 90 -- JNI/src/net/osmand/core/jni/ILogSink.java | 42 - .../net/osmand/core/jni/IMapDataProvider.java | 89 -- .../core/jni/IMapElevationDataProvider.java | 44 - .../core/jni/IMapKeyedDataProvider.java | 52 - .../core/jni/IMapKeyedSymbolsProvider.java | 40 - .../jni/IMapRasterBitmapTileProvider.java | 48 - JNI/src/net/osmand/core/jni/IMapRenderer.java | 522 ------ .../osmand/core/jni/IMapStylesCollection.java | 51 - .../core/jni/IMapStylesPresetsCollection.java | 51 - .../core/jni/IMapTiledDataProvider.java | 56 - .../core/jni/IMapTiledSymbolsProvider.java | 48 - .../net/osmand/core/jni/IObfsCollection.java | 47 - JNI/src/net/osmand/core/jni/IObservable.java | 42 - .../osmand/core/jni/IOnlineTileSources.java | 137 -- JNI/src/net/osmand/core/jni/IntPtr.java | 60 - .../osmand/core/jni/KeyedMapSymbolsData.java | 57 - JNI/src/net/osmand/core/jni/LanguageId.java | 53 - JNI/src/net/osmand/core/jni/LatLon.java | 66 - .../net/osmand/core/jni/LogSeverityLevel.java | 54 - JNI/src/net/osmand/core/jni/Logger.java | 63 - JNI/src/net/osmand/core/jni/MapData.java | 50 - .../osmand/core/jni/MapFoundationType.java | 54 - JNI/src/net/osmand/core/jni/MapKeyedData.java | 45 - .../core/jni/MapPresentationEnvironment.java | 190 --- .../net/osmand/core/jni/MapRendererClass.java | 52 - .../core/jni/MapRendererConfiguration.java | 83 - .../core/jni/MapRendererDebugSettings.java | 187 --- .../core/jni/MapRendererSetupOptions.java | 248 --- .../net/osmand/core/jni/MapRendererState.java | 209 --- .../core/jni/MapRendererStateChange.java | 64 - .../core/jni/MapRendererStateChanges.java | 66 - .../jni/MapStyleBuiltinValueDefinitions.java | 82 - .../core/jni/MapStyleConstantValue.java | 62 - .../net/osmand/core/jni/MapStylePreset.java | 108 -- .../osmand/core/jni/MapStyleRulesetType.java | 57 - .../core/jni/MapStyleValueDataType.java | 55 - .../core/jni/MapStyleValueDefinition.java | 100 -- .../osmand/core/jni/MapStylesCollection.java | 61 - .../core/jni/MapStylesPresetsCollection.java | 85 - JNI/src/net/osmand/core/jni/MapSymbol.java | 136 -- .../net/osmand/core/jni/MapSymbolsGroup.java | 461 ------ JNI/src/net/osmand/core/jni/MapTiledData.java | 49 - JNI/src/net/osmand/core/jni/OOBBD.java | 74 - JNI/src/net/osmand/core/jni/OOBBF.java | 74 - JNI/src/net/osmand/core/jni/OOBBI.java | 74 - .../osmand/core/jni/ObfAddressBlockType.java | 53 - .../net/osmand/core/jni/ObfDataInterface.java | 131 -- JNI/src/net/osmand/core/jni/ObfFile.java | 59 - JNI/src/net/osmand/core/jni/ObfInfo.java | 70 - .../core/jni/ObfMapSectionDataBlockId.java | 66 - .../jni/ObfRoutingSectionDataBlockId.java | 66 - .../net/osmand/core/jni/ObfsCollection.java | 81 - .../core/jni/OnlineRasterMapTileProvider.java | 132 -- .../osmand/core/jni/OnlineTileSources.java | 86 - JNI/src/net/osmand/core/jni/OsmAndCore.java | 70 - .../osmand/core/jni/OsmAndCoreConstants.java | 21 - .../net/osmand/core/jni/OsmAndCoreJNI.java | 1395 ----------------- JNI/src/net/osmand/core/jni/PointD.java | 66 - JNI/src/net/osmand/core/jni/PointF.java | 66 - JNI/src/net/osmand/core/jni/PointI.java | 66 - JNI/src/net/osmand/core/jni/Primitiviser.java | 757 --------- .../net/osmand/core/jni/QIODeviceLogSink.java | 57 - JNI/src/net/osmand/core/jni/QStringList.java | 70 - JNI/src/net/osmand/core/jni/Quadrant.java | 54 - .../net/osmand/core/jni/RasterBitmapTile.java | 73 - .../net/osmand/core/jni/RasterMapLayerId.java | 55 - .../net/osmand/core/jni/ResolvedMapStyle.java | 434 ----- .../net/osmand/core/jni/ResourcesManager.java | 867 ---------- .../net/osmand/core/jni/RoutingDataLevel.java | 52 - ...taProvider_Metrics__Metric_obtainData.java | 26 - ...esProvider_Metrics__Metric_obtainData.java | 26 - ...leProvider_Metrics__Metric_obtainData.java | 26 - ...IGTYPE_p_FilterMapObjectsByIdFunction.java | 26 - .../SWIGTYPE_p_FilterRoadsByIdFunction.java | 26 - ...SWIGTYPE_p_IOnPathMapSymbol__PinPoint.java | 26 - .../jni/SWIGTYPE_p_MapFoundationType.java | 26 - .../SWIGTYPE_p_MapStyleEvaluationResult.java | 26 - ..._ObfMapSectionReader__DataBlocksCache.java | 26 - ...ctionReader_Metrics__Metric_loadRoads.java | 26 - ...RoutingSectionReader__DataBlocksCache.java | 26 - ...RoutingSectionReader__VisitorFunction.java | 26 - ...rStateChange_unsigned_int_t__BitmaskT.java | 26 - ...tionProcessingModeFlag_unsigned_int_t.java | 26 - ...__PresentationModeFlag_unsigned_int_t.java | 26 - ...__IMapRenderer__FramePreparedObserver.java | 26 - ...nd__IMapRenderer__StateChangeObserver.java | 26 - .../SWIGTYPE_p_OsmAnd__IQueryController.java | 26 - ...upOptions__FrameUpdateRequestCallback.java | 26 - ...SetupOptions__GpuWorkerThreadEpilogue.java | 26 - ...SetupOptions__GpuWorkerThreadPrologue.java | 26 - .../SWIGTYPE_p_OsmAnd__MapStyleEvaluator.java | 26 - ...Reader_Metrics__Metric_loadMapObjects.java | 26 - ...IMapRenderer__FramePreparedObserver_t.java | 26 - ...MapRenderer__IFramePreparedObserver_t.java | 26 - ...nderer__IFramePreparedObserver_t__Tag.java | 26 - ..._IMapRenderer__IStateChangeObserver_t.java | 26 - ...Renderer__IStateChangeObserver_t__Tag.java | 26 - ...__IMapRenderer__StateChangeObserver_t.java | 26 - ...rcesManager__ILocalResourcesChanged_t.java | 26 - ...anager__ILocalResourcesChanged_t__Tag.java | 26 - ...esourcesManager__IRepositoryUpdated_t.java | 26 - ...cesManager__IRepositoryUpdated_t__Tag.java | 26 - ...urcesManager__LocalResourcesChanged_t.java | 26 - ...ResourcesManager__RepositoryUpdated_t.java | 26 - ...SWIGTYPE_p_OsmAnd__PointT_long_long_t.java | 26 - ...sourcesManager__LocalResourcesChanged.java | 26 - ...__ResourcesManager__RepositoryUpdated.java | 26 - ...mitiviser_Metrics__Metric_primitivise.java | 26 - .../core/jni/SWIGTYPE_p_QByteArray.java | 26 - .../net/osmand/core/jni/SWIGTYPE_p_QDir.java | 26 - .../osmand/core/jni/SWIGTYPE_p_QFileInfo.java | 26 - .../core/jni/SWIGTYPE_p_QFileInfoList.java | 26 - ...And__ResolvedMapStyle__Rule_const_t_t.java | 26 - .../SWIGTYPE_p_QHashT_QString_QString_t.java | 26 - ..._IOnlineTileSources__Source_const_t_t.java | 26 - ...cesManager__BuiltinResource_const_t_t.java | 26 - ...urcesManager__LocalResource_const_t_t.java | 26 - ...nager__ResourceInRepository_const_t_t.java | 26 - ...T_int_OsmAnd__MapStyleConstantValue_t.java | 26 - ...nd__ResolvedMapStyle__ResolvedValue_t.java | 26 - ...dditionalSymbolInstanceParameters_t_t.java | 26 - ..._Primitiviser__SymbolsGroup_const_t_t.java | 26 - .../osmand/core/jni/SWIGTYPE_p_QIODevice.java | 26 - ...ListT_OsmAnd__MapStyleConstantValue_t.java | 26 - ...tT_std__shared_ptrT_ObfFile_const_t_t.java | 26 - ...MapSectionReader__DataBlock_const_t_t.java | 26 - ...ingSectionReader__DataBlock_const_t_t.java | 26 - ...ptrT_OsmAnd__MapStylePreset_const_t_t.java | 26 - ...ared_ptrT_OsmAnd__MapSymbol_const_t_t.java | 26 - ...td__shared_ptrT_OsmAnd__MapSymbol_t_t.java | 26 - ...pSymbolsGroup__AdditionalInstance_t_t.java | 26 - ...ared_ptrT_OsmAnd__MapSymbolsGroup_t_t.java | 26 - ...And__Model__BinaryMapObject_const_t_t.java | 26 - ...ed_ptrT_OsmAnd__Model__Road_const_t_t.java | 26 - ...trT_OsmAnd__ObfAddressSectionInfo_t_t.java | 26 - ...shared_ptrT_OsmAnd__ObfFile_const_t_t.java | 26 - ...ed_ptrT_OsmAnd__ObfMapSectionInfo_t_t.java | 26 - ...ed_ptrT_OsmAnd__ObfPoiSectionInfo_t_t.java | 26 - ...ared_ptrT_OsmAnd__ObfReader_const_t_t.java | 26 - ...trT_OsmAnd__ObfRoutingSectionInfo_t_t.java | 26 - ...T_OsmAnd__ObfTransportSectionInfo_t_t.java | 26 - ...nd__Primitiviser__Primitive_const_t_t.java | 26 - ...imitiviser__PrimitivesGroup_const_t_t.java | 26 - ...smAnd__Primitiviser__Symbol_const_t_t.java | 26 - ...smAnd__ResolvedMapStyle__RuleNode_t_t.java | 26 - ..._OsmAnd__UnresolvedMapStyle_const_t_t.java | 26 - .../jni/SWIGTYPE_p_QListT_void_const_p_t.java | 26 - .../SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t.java | 26 - .../core/jni/SWIGTYPE_p_QSetT_QString_t.java | 26 - .../core/jni/SWIGTYPE_p_QSetT_int_t.java | 26 - ...std__shared_ptrT_OsmAnd__ILogSink_t_t.java | 26 - ...red_ptrT_OsmAnd__IMapDataProvider_t_t.java | 26 - .../core/jni/SWIGTYPE_p_QStringList.java | 26 - .../net/osmand/core/jni/SWIGTYPE_p_QUrl.java | 26 - ...p_QVectorT_OsmAnd__PointT_int32_t_t_t.java | 26 - .../core/jni/SWIGTYPE_p_RoutingDataLevel.java | 26 - ...Primitiviser__PrimitivesGroup_const_t.java | 26 - ...d__Primitiviser__SymbolsGroup_const_t.java | 26 - ...ent__RequestProgressCallbackSignature.java | 26 - .../net/osmand/core/jni/SWIGTYPE_p_bool.java | 26 - .../osmand/core/jni/SWIGTYPE_p_double.java | 26 - .../net/osmand/core/jni/SWIGTYPE_p_float.java | 26 - .../net/osmand/core/jni/SWIGTYPE_p_int.java | 26 - ..._float_OsmAnd__RasterMapLayersCount_t.java | 26 - ...ider_t_OsmAnd__RasterMapLayersCount_t.java | 26 - ...void_fOsmAnd__PointT_int_t_const_RF_t.java | 26 - ...smAnd__Model__BinaryMapObject_const_t.java | 26 - ...trT_OsmAnd__ObfMapSectionInfo_const_t.java | 26 - ...__ResolvedMapStyle__Attribute_const_t.java | 26 - ...__ResolvedMapStyle__Parameter_const_t.java | 26 - ..._OsmAnd__ResolvedMapStyle__RuleNode_t.java | 26 - ...rT_OsmAnd__UnresolvedMapStyle_const_t.java | 26 - ...red_ptrT_OsmAnd__UnresolvedMapStyle_t.java | 26 - ...IGTYPE_p_std__shared_ptrT_QIODevice_t.java | 26 - ...E_p_std__shared_ptrT_SkBitmap_const_t.java | 26 - ...WIGTYPE_p_std__shared_ptrT_SkBitmap_t.java | 26 - ...bfMapSectionReader__DataBlocksCache_t.java | 26 - ...__weak_ptrT_OsmAnd__MapSymbolsGroup_t.java | 26 - ...Primitiviser__PrimitivesGroup_const_t.java | 26 - .../core/jni/SWIGTYPE_p_unsigned_char.java | 26 - .../core/jni/SWIGTYPE_p_unsigned_int.java | 26 - .../net/osmand/core/jni/SWIGTYPE_p_void.java | 26 - .../net/osmand/core/jni/SwigUtilities.java | 54 - JNI/src/net/osmand/core/jni/TagValueId.java | 70 - .../core/jni/TextureFilteringQuality.java | 53 - JNI/src/net/osmand/core/jni/TileId.java | 66 - .../osmand/core/jni/TiledMapSymbolsData.java | 57 - JNI/src/net/osmand/core/jni/UIntPtr.java | 60 - JNI/src/net/osmand/core/jni/Utilities.java | 358 ----- JNI/src/net/osmand/core/jni/ZoomLevel.java | 85 - OsmAnd/.gitignore | 1 + OsmAnd/AndroidManifest.xml | 1 - OsmAnd/build.xml | 179 ++- OsmAnd/project.properties | 1 - OsmAnd/res/values-be/strings.xml | 2 +- OsmAnd/res/values-bg/strings.xml | 2 +- OsmAnd/res/values-ca/strings.xml | 2 +- OsmAnd/res/values-cs/strings.xml | 2 +- OsmAnd/res/values-da/strings.xml | 2 +- OsmAnd/res/values-de/strings.xml | 2 +- OsmAnd/res/values-el/strings.xml | 2 +- OsmAnd/res/values-es/strings.xml | 2 +- OsmAnd/res/values-eu/strings.xml | 2 +- OsmAnd/res/values-fa/strings.xml | 2 +- OsmAnd/res/values-fr/strings.xml | 2 +- OsmAnd/res/values-hr/strings.xml | 2 +- OsmAnd/res/values-hu/strings.xml | 2 +- OsmAnd/res/values-it/strings.xml | 2 +- OsmAnd/res/values-ja/strings.xml | 2 +- OsmAnd/res/values-ko/strings.xml | 2 +- OsmAnd/res/values-lt/strings.xml | 2 +- OsmAnd/res/values-lv/strings.xml | 2 +- OsmAnd/res/values-nl/strings.xml | 2 +- OsmAnd/res/values-nn/strings.xml | 2 +- OsmAnd/res/values-pl/strings.xml | 2 +- OsmAnd/res/values-pt/strings.xml | 2 +- OsmAnd/res/values-ro/strings.xml | 2 +- OsmAnd/res/values-ru/strings.xml | 2 +- OsmAnd/res/values-sc/strings.xml | 2 +- OsmAnd/res/values-sk/strings.xml | 2 +- OsmAnd/res/values-sl/strings.xml | 2 +- OsmAnd/res/values-sv/strings.xml | 2 +- OsmAnd/res/values-zh-rTW/strings.xml | 2 +- .../bidforfix/andorid/BidForFixActivity.java | 197 --- .../bidforfix/andorid/BidForFixHelper.java | 251 --- ...CoreResourcesFromAndroidAssetsCustom.java} | 8 +- ...cesFromAndroid_LegacyOsmAndCompatible.java | 37 - .../net/osmand/core/android/GLActivity.java | 4 +- .../activities/OsmandBidForFixActivity.java | 15 - .../plus/activities/SettingsActivity.java | 3 - .../controllers/NativeViewController.java | 6 +- diff_turn_lanes | 693 ++++++++ 265 files changed, 858 insertions(+), 15612 deletions(-) delete mode 100644 JNI/.classpath delete mode 100644 JNI/.gitignore delete mode 100644 JNI/.project delete mode 100644 JNI/AndroidManifest.xml delete mode 100644 JNI/build.xml delete mode 100644 JNI/project.properties delete mode 100644 JNI/src/net/osmand/core/jni/AlphaChannelData.java delete mode 100644 JNI/src/net/osmand/core/jni/AreaD.java delete mode 100644 JNI/src/net/osmand/core/jni/AreaF.java delete mode 100644 JNI/src/net/osmand/core/jni/AreaI.java delete mode 100644 JNI/src/net/osmand/core/jni/AtlasMapRendererConfiguration.java delete mode 100644 JNI/src/net/osmand/core/jni/BinaryMapDataProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/BinaryMapDataTile.java delete mode 100644 JNI/src/net/osmand/core/jni/BinaryMapPrimitivesProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/BinaryMapPrimitivesTile.java delete mode 100644 JNI/src/net/osmand/core/jni/BinaryMapRasterBitmapTileProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/BinaryMapRasterBitmapTileProvider_Software.java delete mode 100644 JNI/src/net/osmand/core/jni/BinaryMapRasterizedTile.java delete mode 100644 JNI/src/net/osmand/core/jni/BinaryMapStaticSymbolsProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/BinaryMapStaticSymbolsTile.java delete mode 100644 JNI/src/net/osmand/core/jni/BoolPtr.java delete mode 100644 JNI/src/net/osmand/core/jni/ColorARGB.java delete mode 100644 JNI/src/net/osmand/core/jni/ColorRGB.java delete mode 100644 JNI/src/net/osmand/core/jni/CoreResourcesEmbeddedBundle.java delete mode 100644 JNI/src/net/osmand/core/jni/DefaultLogSink.java delete mode 100644 JNI/src/net/osmand/core/jni/DoublePtr.java delete mode 100644 JNI/src/net/osmand/core/jni/Edge.java delete mode 100644 JNI/src/net/osmand/core/jni/ElevationDataTile.java delete mode 100644 JNI/src/net/osmand/core/jni/FColorARGB.java delete mode 100644 JNI/src/net/osmand/core/jni/FColorRGB.java delete mode 100644 JNI/src/net/osmand/core/jni/FloatPtr.java delete mode 100644 JNI/src/net/osmand/core/jni/ICoreResourcesProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/ILogSink.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapDataProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapElevationDataProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapKeyedDataProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapKeyedSymbolsProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapRasterBitmapTileProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapRenderer.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapStylesCollection.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapStylesPresetsCollection.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapTiledDataProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/IMapTiledSymbolsProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/IObfsCollection.java delete mode 100644 JNI/src/net/osmand/core/jni/IObservable.java delete mode 100644 JNI/src/net/osmand/core/jni/IOnlineTileSources.java delete mode 100644 JNI/src/net/osmand/core/jni/IntPtr.java delete mode 100644 JNI/src/net/osmand/core/jni/KeyedMapSymbolsData.java delete mode 100644 JNI/src/net/osmand/core/jni/LanguageId.java delete mode 100644 JNI/src/net/osmand/core/jni/LatLon.java delete mode 100644 JNI/src/net/osmand/core/jni/LogSeverityLevel.java delete mode 100644 JNI/src/net/osmand/core/jni/Logger.java delete mode 100644 JNI/src/net/osmand/core/jni/MapData.java delete mode 100644 JNI/src/net/osmand/core/jni/MapFoundationType.java delete mode 100644 JNI/src/net/osmand/core/jni/MapKeyedData.java delete mode 100644 JNI/src/net/osmand/core/jni/MapPresentationEnvironment.java delete mode 100644 JNI/src/net/osmand/core/jni/MapRendererClass.java delete mode 100644 JNI/src/net/osmand/core/jni/MapRendererConfiguration.java delete mode 100644 JNI/src/net/osmand/core/jni/MapRendererDebugSettings.java delete mode 100644 JNI/src/net/osmand/core/jni/MapRendererSetupOptions.java delete mode 100644 JNI/src/net/osmand/core/jni/MapRendererState.java delete mode 100644 JNI/src/net/osmand/core/jni/MapRendererStateChange.java delete mode 100644 JNI/src/net/osmand/core/jni/MapRendererStateChanges.java delete mode 100644 JNI/src/net/osmand/core/jni/MapStyleBuiltinValueDefinitions.java delete mode 100644 JNI/src/net/osmand/core/jni/MapStyleConstantValue.java delete mode 100644 JNI/src/net/osmand/core/jni/MapStylePreset.java delete mode 100644 JNI/src/net/osmand/core/jni/MapStyleRulesetType.java delete mode 100644 JNI/src/net/osmand/core/jni/MapStyleValueDataType.java delete mode 100644 JNI/src/net/osmand/core/jni/MapStyleValueDefinition.java delete mode 100644 JNI/src/net/osmand/core/jni/MapStylesCollection.java delete mode 100644 JNI/src/net/osmand/core/jni/MapStylesPresetsCollection.java delete mode 100644 JNI/src/net/osmand/core/jni/MapSymbol.java delete mode 100644 JNI/src/net/osmand/core/jni/MapSymbolsGroup.java delete mode 100644 JNI/src/net/osmand/core/jni/MapTiledData.java delete mode 100644 JNI/src/net/osmand/core/jni/OOBBD.java delete mode 100644 JNI/src/net/osmand/core/jni/OOBBF.java delete mode 100644 JNI/src/net/osmand/core/jni/OOBBI.java delete mode 100644 JNI/src/net/osmand/core/jni/ObfAddressBlockType.java delete mode 100644 JNI/src/net/osmand/core/jni/ObfDataInterface.java delete mode 100644 JNI/src/net/osmand/core/jni/ObfFile.java delete mode 100644 JNI/src/net/osmand/core/jni/ObfInfo.java delete mode 100644 JNI/src/net/osmand/core/jni/ObfMapSectionDataBlockId.java delete mode 100644 JNI/src/net/osmand/core/jni/ObfRoutingSectionDataBlockId.java delete mode 100644 JNI/src/net/osmand/core/jni/ObfsCollection.java delete mode 100644 JNI/src/net/osmand/core/jni/OnlineRasterMapTileProvider.java delete mode 100644 JNI/src/net/osmand/core/jni/OnlineTileSources.java delete mode 100644 JNI/src/net/osmand/core/jni/OsmAndCore.java delete mode 100644 JNI/src/net/osmand/core/jni/OsmAndCoreConstants.java delete mode 100644 JNI/src/net/osmand/core/jni/OsmAndCoreJNI.java delete mode 100644 JNI/src/net/osmand/core/jni/PointD.java delete mode 100644 JNI/src/net/osmand/core/jni/PointF.java delete mode 100644 JNI/src/net/osmand/core/jni/PointI.java delete mode 100644 JNI/src/net/osmand/core/jni/Primitiviser.java delete mode 100644 JNI/src/net/osmand/core/jni/QIODeviceLogSink.java delete mode 100644 JNI/src/net/osmand/core/jni/QStringList.java delete mode 100644 JNI/src/net/osmand/core/jni/Quadrant.java delete mode 100644 JNI/src/net/osmand/core/jni/RasterBitmapTile.java delete mode 100644 JNI/src/net/osmand/core/jni/RasterMapLayerId.java delete mode 100644 JNI/src/net/osmand/core/jni/ResolvedMapStyle.java delete mode 100644 JNI/src/net/osmand/core/jni/ResourcesManager.java delete mode 100644 JNI/src/net/osmand/core/jni/RoutingDataLevel.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_FilterMapObjectsByIdFunction.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_FilterRoadsByIdFunction.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_IOnPathMapSymbol__PinPoint.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_MapFoundationType.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_MapStyleEvaluationResult.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IQueryController.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapStyleEvaluator.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__PointT_long_long_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QByteArray.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QDir.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QFileInfo.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QFileInfoList.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_QString_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QIODevice.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_void_const_p_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_QString_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_int_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QStringList.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QUrl.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_RoutingDataLevel.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_WebClient__RequestProgressCallbackSignature.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_bool.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_double.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_float.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_int.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_QIODevice_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_SkBitmap_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_unsigned_char.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_unsigned_int.java delete mode 100644 JNI/src/net/osmand/core/jni/SWIGTYPE_p_void.java delete mode 100644 JNI/src/net/osmand/core/jni/SwigUtilities.java delete mode 100644 JNI/src/net/osmand/core/jni/TagValueId.java delete mode 100644 JNI/src/net/osmand/core/jni/TextureFilteringQuality.java delete mode 100644 JNI/src/net/osmand/core/jni/TileId.java delete mode 100644 JNI/src/net/osmand/core/jni/TiledMapSymbolsData.java delete mode 100644 JNI/src/net/osmand/core/jni/UIntPtr.java delete mode 100644 JNI/src/net/osmand/core/jni/Utilities.java delete mode 100644 JNI/src/net/osmand/core/jni/ZoomLevel.java delete mode 100644 OsmAnd/src/com/bidforfix/andorid/BidForFixActivity.java delete mode 100644 OsmAnd/src/com/bidforfix/andorid/BidForFixHelper.java rename OsmAnd/src/net/osmand/core/android/{CoreResourcesFromAndroidAssets.java => CoreResourcesFromAndroidAssetsCustom.java} (96%) delete mode 100644 OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroid_LegacyOsmAndCompatible.java delete mode 100644 OsmAnd/src/net/osmand/plus/activities/OsmandBidForFixActivity.java create mode 100644 diff_turn_lanes diff --git a/.gitignore b/.gitignore index 4715dba1ef..adc0df64af 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,8 @@ h_*.png g_*.png mm_*.png mx_*.png +OsmAndCore_wrapper.jar +OsmAndCore_android.aar *.class *.iml .settings diff --git a/JNI/.classpath b/JNI/.classpath deleted file mode 100644 index 51769745b2..0000000000 --- a/JNI/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/JNI/.gitignore b/JNI/.gitignore deleted file mode 100644 index e614fbbef9..0000000000 --- a/JNI/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -bin -gen diff --git a/JNI/.project b/JNI/.project deleted file mode 100644 index 60b2bca32a..0000000000 --- a/JNI/.project +++ /dev/null @@ -1,33 +0,0 @@ - - - OsmAnd-core-JNI - - - - - - com.android.ide.eclipse.adt.ResourceManagerBuilder - - - - - com.android.ide.eclipse.adt.PreCompilerBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - com.android.ide.eclipse.adt.ApkBuilder - - - - - - com.android.ide.eclipse.adt.AndroidNature - org.eclipse.jdt.core.javanature - - diff --git a/JNI/AndroidManifest.xml b/JNI/AndroidManifest.xml deleted file mode 100644 index 3aa34a439f..0000000000 --- a/JNI/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/JNI/build.xml b/JNI/build.xml deleted file mode 100644 index 084fc602b4..0000000000 --- a/JNI/build.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - diff --git a/JNI/project.properties b/JNI/project.properties deleted file mode 100644 index c57400d008..0000000000 --- a/JNI/project.properties +++ /dev/null @@ -1,12 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system use, -# "ant.properties", and override values to adapt the script to your -# project structure. - -android.library=true -# Project target. -target=android-19 diff --git a/JNI/src/net/osmand/core/jni/AlphaChannelData.java b/JNI/src/net/osmand/core/jni/AlphaChannelData.java deleted file mode 100644 index e8a11e9fac..0000000000 --- a/JNI/src/net/osmand/core/jni/AlphaChannelData.java +++ /dev/null @@ -1,53 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum AlphaChannelData { - Present, - NotPresent, - Undefined; - - public final int swigValue() { - return swigValue; - } - - public static AlphaChannelData swigToEnum(int swigValue) { - AlphaChannelData[] swigValues = AlphaChannelData.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (AlphaChannelData swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + AlphaChannelData.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private AlphaChannelData() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private AlphaChannelData(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private AlphaChannelData(AlphaChannelData swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/AreaD.java b/JNI/src/net/osmand/core/jni/AreaD.java deleted file mode 100644 index 45f2daba7d..0000000000 --- a/JNI/src/net/osmand/core/jni/AreaD.java +++ /dev/null @@ -1,148 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class AreaD { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected AreaD(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(AreaD obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_AreaD(swigCPtr); - } - swigCPtr = 0; - } - } - - public AreaD() { - this(OsmAndCoreJNI.new_AreaD__SWIG_0(), true); - } - - public AreaD(double t, double l, double b, double r) { - this(OsmAndCoreJNI.new_AreaD__SWIG_1(t, l, b, r), true); - } - - public AreaD(PointD tl, PointD br) { - this(OsmAndCoreJNI.new_AreaD__SWIG_2(PointD.getCPtr(tl), tl, PointD.getCPtr(br), br), true); - } - - public AreaD(AreaD that) { - this(OsmAndCoreJNI.new_AreaD__SWIG_3(AreaD.getCPtr(that), that), true); - } - - public void setTopLeft(PointD value) { - OsmAndCoreJNI.AreaD_topLeft_set(swigCPtr, this, PointD.getCPtr(value), value); - } - - public PointD getTopLeft() { - long cPtr = OsmAndCoreJNI.AreaD_topLeft_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointD(cPtr, false); - } - - public void setBottomRight(PointD value) { - OsmAndCoreJNI.AreaD_bottomRight_set(swigCPtr, this, PointD.getCPtr(value), value); - } - - public PointD getBottomRight() { - long cPtr = OsmAndCoreJNI.AreaD_bottomRight_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointD(cPtr, false); - } - - public boolean contains(double x, double y) { - return OsmAndCoreJNI.AreaD_contains__SWIG_0(swigCPtr, this, x, y); - } - - public boolean contains(PointD p) { - return OsmAndCoreJNI.AreaD_contains__SWIG_1(swigCPtr, this, PointD.getCPtr(p), p); - } - - public boolean contains(double t, double l, double b, double r) { - return OsmAndCoreJNI.AreaD_contains__SWIG_2(swigCPtr, this, t, l, b, r); - } - - public boolean contains(AreaD that) { - return OsmAndCoreJNI.AreaD_contains__SWIG_3(swigCPtr, this, AreaD.getCPtr(that), that); - } - - public boolean intersects(double t, double l, double b, double r) { - return OsmAndCoreJNI.AreaD_intersects__SWIG_0(swigCPtr, this, t, l, b, r); - } - - public boolean intersects(AreaD that) { - return OsmAndCoreJNI.AreaD_intersects__SWIG_1(swigCPtr, this, AreaD.getCPtr(that), that); - } - - public boolean contains(OOBBD that) { - return OsmAndCoreJNI.AreaD_contains__SWIG_4(swigCPtr, this, OOBBD.getCPtr(that), that); - } - - public boolean intersects(OOBBD that) { - return OsmAndCoreJNI.AreaD_intersects__SWIG_2(swigCPtr, this, OOBBD.getCPtr(that), that); - } - - public double width() { - return OsmAndCoreJNI.AreaD_width(swigCPtr, this); - } - - public double height() { - return OsmAndCoreJNI.AreaD_height(swigCPtr, this); - } - - public PointD center() { - return new PointD(OsmAndCoreJNI.AreaD_center(swigCPtr, this), true); - } - - public PointD topRight() { - return new PointD(OsmAndCoreJNI.AreaD_topRight(swigCPtr, this), true); - } - - public PointD bottomLeft() { - return new PointD(OsmAndCoreJNI.AreaD_bottomLeft(swigCPtr, this), true); - } - - public AreaD getQuadrant(Quadrant quadrant) { - return new AreaD(OsmAndCoreJNI.AreaD_getQuadrant(swigCPtr, this, quadrant.swigValue()), true); - } - - public AreaD getEnlargedToInclude(PointD p) { - return new AreaD(OsmAndCoreJNI.AreaD_getEnlargedToInclude(swigCPtr, this, PointD.getCPtr(p), p), true); - } - - public AreaD getEnlargedBy(PointD delta) { - return new AreaD(OsmAndCoreJNI.AreaD_getEnlargedBy__SWIG_0(swigCPtr, this, PointD.getCPtr(delta), delta), true); - } - - public AreaD getEnlargedBy(double dt, double dl, double db, double dr) { - return new AreaD(OsmAndCoreJNI.AreaD_getEnlargedBy__SWIG_1(swigCPtr, this, dt, dl, db, dr), true); - } - - public static AreaD largest() { - return new AreaD(OsmAndCoreJNI.AreaD_largest(), true); - } - - public static AreaD fromCenterAndSize(double cx, double cy, double width, double height) { - return new AreaD(OsmAndCoreJNI.AreaD_fromCenterAndSize(cx, cy, width, height), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/AreaF.java b/JNI/src/net/osmand/core/jni/AreaF.java deleted file mode 100644 index 569a5fe9a2..0000000000 --- a/JNI/src/net/osmand/core/jni/AreaF.java +++ /dev/null @@ -1,148 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class AreaF { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected AreaF(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(AreaF obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_AreaF(swigCPtr); - } - swigCPtr = 0; - } - } - - public AreaF() { - this(OsmAndCoreJNI.new_AreaF__SWIG_0(), true); - } - - public AreaF(float t, float l, float b, float r) { - this(OsmAndCoreJNI.new_AreaF__SWIG_1(t, l, b, r), true); - } - - public AreaF(PointF tl, PointF br) { - this(OsmAndCoreJNI.new_AreaF__SWIG_2(PointF.getCPtr(tl), tl, PointF.getCPtr(br), br), true); - } - - public AreaF(AreaF that) { - this(OsmAndCoreJNI.new_AreaF__SWIG_3(AreaF.getCPtr(that), that), true); - } - - public void setTopLeft(PointF value) { - OsmAndCoreJNI.AreaF_topLeft_set(swigCPtr, this, PointF.getCPtr(value), value); - } - - public PointF getTopLeft() { - long cPtr = OsmAndCoreJNI.AreaF_topLeft_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointF(cPtr, false); - } - - public void setBottomRight(PointF value) { - OsmAndCoreJNI.AreaF_bottomRight_set(swigCPtr, this, PointF.getCPtr(value), value); - } - - public PointF getBottomRight() { - long cPtr = OsmAndCoreJNI.AreaF_bottomRight_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointF(cPtr, false); - } - - public boolean contains(float x, float y) { - return OsmAndCoreJNI.AreaF_contains__SWIG_0(swigCPtr, this, x, y); - } - - public boolean contains(PointF p) { - return OsmAndCoreJNI.AreaF_contains__SWIG_1(swigCPtr, this, PointF.getCPtr(p), p); - } - - public boolean contains(float t, float l, float b, float r) { - return OsmAndCoreJNI.AreaF_contains__SWIG_2(swigCPtr, this, t, l, b, r); - } - - public boolean contains(AreaF that) { - return OsmAndCoreJNI.AreaF_contains__SWIG_3(swigCPtr, this, AreaF.getCPtr(that), that); - } - - public boolean intersects(float t, float l, float b, float r) { - return OsmAndCoreJNI.AreaF_intersects__SWIG_0(swigCPtr, this, t, l, b, r); - } - - public boolean intersects(AreaF that) { - return OsmAndCoreJNI.AreaF_intersects__SWIG_1(swigCPtr, this, AreaF.getCPtr(that), that); - } - - public boolean contains(OOBBF that) { - return OsmAndCoreJNI.AreaF_contains__SWIG_4(swigCPtr, this, OOBBF.getCPtr(that), that); - } - - public boolean intersects(OOBBF that) { - return OsmAndCoreJNI.AreaF_intersects__SWIG_2(swigCPtr, this, OOBBF.getCPtr(that), that); - } - - public float width() { - return OsmAndCoreJNI.AreaF_width(swigCPtr, this); - } - - public float height() { - return OsmAndCoreJNI.AreaF_height(swigCPtr, this); - } - - public PointF center() { - return new PointF(OsmAndCoreJNI.AreaF_center(swigCPtr, this), true); - } - - public PointF topRight() { - return new PointF(OsmAndCoreJNI.AreaF_topRight(swigCPtr, this), true); - } - - public PointF bottomLeft() { - return new PointF(OsmAndCoreJNI.AreaF_bottomLeft(swigCPtr, this), true); - } - - public AreaF getQuadrant(Quadrant quadrant) { - return new AreaF(OsmAndCoreJNI.AreaF_getQuadrant(swigCPtr, this, quadrant.swigValue()), true); - } - - public AreaF getEnlargedToInclude(PointF p) { - return new AreaF(OsmAndCoreJNI.AreaF_getEnlargedToInclude(swigCPtr, this, PointF.getCPtr(p), p), true); - } - - public AreaF getEnlargedBy(PointF delta) { - return new AreaF(OsmAndCoreJNI.AreaF_getEnlargedBy__SWIG_0(swigCPtr, this, PointF.getCPtr(delta), delta), true); - } - - public AreaF getEnlargedBy(float dt, float dl, float db, float dr) { - return new AreaF(OsmAndCoreJNI.AreaF_getEnlargedBy__SWIG_1(swigCPtr, this, dt, dl, db, dr), true); - } - - public static AreaF largest() { - return new AreaF(OsmAndCoreJNI.AreaF_largest(), true); - } - - public static AreaF fromCenterAndSize(float cx, float cy, float width, float height) { - return new AreaF(OsmAndCoreJNI.AreaF_fromCenterAndSize(cx, cy, width, height), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/AreaI.java b/JNI/src/net/osmand/core/jni/AreaI.java deleted file mode 100644 index 2c8d468f01..0000000000 --- a/JNI/src/net/osmand/core/jni/AreaI.java +++ /dev/null @@ -1,148 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class AreaI { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected AreaI(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(AreaI obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_AreaI(swigCPtr); - } - swigCPtr = 0; - } - } - - public AreaI() { - this(OsmAndCoreJNI.new_AreaI__SWIG_0(), true); - } - - public AreaI(int t, int l, int b, int r) { - this(OsmAndCoreJNI.new_AreaI__SWIG_1(t, l, b, r), true); - } - - public AreaI(PointI tl, PointI br) { - this(OsmAndCoreJNI.new_AreaI__SWIG_2(PointI.getCPtr(tl), tl, PointI.getCPtr(br), br), true); - } - - public AreaI(AreaI that) { - this(OsmAndCoreJNI.new_AreaI__SWIG_3(AreaI.getCPtr(that), that), true); - } - - public void setTopLeft(PointI value) { - OsmAndCoreJNI.AreaI_topLeft_set(swigCPtr, this, PointI.getCPtr(value), value); - } - - public PointI getTopLeft() { - long cPtr = OsmAndCoreJNI.AreaI_topLeft_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - public void setBottomRight(PointI value) { - OsmAndCoreJNI.AreaI_bottomRight_set(swigCPtr, this, PointI.getCPtr(value), value); - } - - public PointI getBottomRight() { - long cPtr = OsmAndCoreJNI.AreaI_bottomRight_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - public boolean contains(int x, int y) { - return OsmAndCoreJNI.AreaI_contains__SWIG_0(swigCPtr, this, x, y); - } - - public boolean contains(PointI p) { - return OsmAndCoreJNI.AreaI_contains__SWIG_1(swigCPtr, this, PointI.getCPtr(p), p); - } - - public boolean contains(int t, int l, int b, int r) { - return OsmAndCoreJNI.AreaI_contains__SWIG_2(swigCPtr, this, t, l, b, r); - } - - public boolean contains(AreaI that) { - return OsmAndCoreJNI.AreaI_contains__SWIG_3(swigCPtr, this, AreaI.getCPtr(that), that); - } - - public boolean intersects(int t, int l, int b, int r) { - return OsmAndCoreJNI.AreaI_intersects__SWIG_0(swigCPtr, this, t, l, b, r); - } - - public boolean intersects(AreaI that) { - return OsmAndCoreJNI.AreaI_intersects__SWIG_1(swigCPtr, this, AreaI.getCPtr(that), that); - } - - public boolean contains(OOBBI that) { - return OsmAndCoreJNI.AreaI_contains__SWIG_4(swigCPtr, this, OOBBI.getCPtr(that), that); - } - - public boolean intersects(OOBBI that) { - return OsmAndCoreJNI.AreaI_intersects__SWIG_2(swigCPtr, this, OOBBI.getCPtr(that), that); - } - - public int width() { - return OsmAndCoreJNI.AreaI_width(swigCPtr, this); - } - - public int height() { - return OsmAndCoreJNI.AreaI_height(swigCPtr, this); - } - - public PointI center() { - return new PointI(OsmAndCoreJNI.AreaI_center(swigCPtr, this), true); - } - - public PointI topRight() { - return new PointI(OsmAndCoreJNI.AreaI_topRight(swigCPtr, this), true); - } - - public PointI bottomLeft() { - return new PointI(OsmAndCoreJNI.AreaI_bottomLeft(swigCPtr, this), true); - } - - public AreaI getQuadrant(Quadrant quadrant) { - return new AreaI(OsmAndCoreJNI.AreaI_getQuadrant(swigCPtr, this, quadrant.swigValue()), true); - } - - public AreaI getEnlargedToInclude(PointI p) { - return new AreaI(OsmAndCoreJNI.AreaI_getEnlargedToInclude(swigCPtr, this, PointI.getCPtr(p), p), true); - } - - public AreaI getEnlargedBy(PointI delta) { - return new AreaI(OsmAndCoreJNI.AreaI_getEnlargedBy__SWIG_0(swigCPtr, this, PointI.getCPtr(delta), delta), true); - } - - public AreaI getEnlargedBy(int dt, int dl, int db, int dr) { - return new AreaI(OsmAndCoreJNI.AreaI_getEnlargedBy__SWIG_1(swigCPtr, this, dt, dl, db, dr), true); - } - - public static AreaI largest() { - return new AreaI(OsmAndCoreJNI.AreaI_largest(), true); - } - - public static AreaI fromCenterAndSize(int cx, int cy, int width, int height) { - return new AreaI(OsmAndCoreJNI.AreaI_fromCenterAndSize(cx, cy, width, height), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/AtlasMapRendererConfiguration.java b/JNI/src/net/osmand/core/jni/AtlasMapRendererConfiguration.java deleted file mode 100644 index bb922392ef..0000000000 --- a/JNI/src/net/osmand/core/jni/AtlasMapRendererConfiguration.java +++ /dev/null @@ -1,104 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class AtlasMapRendererConfiguration extends MapRendererConfiguration { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected AtlasMapRendererConfiguration(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.AtlasMapRendererConfiguration_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(AtlasMapRendererConfiguration obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_AtlasMapRendererConfiguration(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public AtlasMapRendererConfiguration() { - this(OsmAndCoreJNI.new_AtlasMapRendererConfiguration(), true); - } - - public void setReferenceTileSizeOnScreenInPixels(long value) { - OsmAndCoreJNI.AtlasMapRendererConfiguration_referenceTileSizeOnScreenInPixels_set(swigCPtr, this, value); - } - - public long getReferenceTileSizeOnScreenInPixels() { - return OsmAndCoreJNI.AtlasMapRendererConfiguration_referenceTileSizeOnScreenInPixels_get(swigCPtr, this); - } - - public void copyTo(MapRendererConfiguration other) { - OsmAndCoreJNI.AtlasMapRendererConfiguration_copyTo(swigCPtr, this, getCPtr(other), other); - } - - public MapRendererConfiguration createCopy() { - long cPtr = OsmAndCoreJNI.AtlasMapRendererConfiguration_createCopy(swigCPtr, this); - return (cPtr == 0) ? null : new MapRendererConfiguration(cPtr, true); - } - - static public class Casts { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected Casts(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Casts obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_AtlasMapRendererConfiguration_Casts(swigCPtr); - } - swigCPtr = 0; - } - } - - public static AtlasMapRendererConfiguration upcastFrom(MapRendererConfiguration input) { - long cPtr = OsmAndCoreJNI.AtlasMapRendererConfiguration_Casts_upcastFrom(MapRendererConfiguration.getCPtr(input), input); - return (cPtr == 0) ? null : new AtlasMapRendererConfiguration(cPtr, true); - } - - public static MapRendererConfiguration downcastTo_MapRendererConfiguration(AtlasMapRendererConfiguration input) { - long cPtr = OsmAndCoreJNI.AtlasMapRendererConfiguration_Casts_downcastTo_MapRendererConfiguration(AtlasMapRendererConfiguration.getCPtr(input), input); - return (cPtr == 0) ? null : new MapRendererConfiguration(cPtr, true); - } - - public Casts() { - this(OsmAndCoreJNI.new_AtlasMapRendererConfiguration_Casts(), true); - } - - } - -} diff --git a/JNI/src/net/osmand/core/jni/BinaryMapDataProvider.java b/JNI/src/net/osmand/core/jni/BinaryMapDataProvider.java deleted file mode 100644 index 285407dabf..0000000000 --- a/JNI/src/net/osmand/core/jni/BinaryMapDataProvider.java +++ /dev/null @@ -1,69 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BinaryMapDataProvider extends IMapTiledDataProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BinaryMapDataProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.BinaryMapDataProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BinaryMapDataProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_BinaryMapDataProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BinaryMapDataProvider(IObfsCollection obfsCollection) { - this(OsmAndCoreJNI.new_BinaryMapDataProvider(IObfsCollection.getCPtr(obfsCollection), obfsCollection), true); - } - - public IObfsCollection getObfsCollection() { - long cPtr = OsmAndCoreJNI.BinaryMapDataProvider_obfsCollection_get(swigCPtr, this); - return (cPtr == 0) ? null : new IObfsCollection(cPtr, true); - } - - public ZoomLevel getMinZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.BinaryMapDataProvider_getMinZoom(swigCPtr, this)); - } - - public ZoomLevel getMaxZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.BinaryMapDataProvider_getMaxZoom(swigCPtr, this)); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.BinaryMapDataProvider_obtainData__SWIG_0(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData, SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData) { - return OsmAndCoreJNI.BinaryMapDataProvider_obtainData__SWIG_1(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData, SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData metric, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.BinaryMapDataProvider_obtainData__SWIG_2(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData, SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData.getCPtr(metric), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - -} diff --git a/JNI/src/net/osmand/core/jni/BinaryMapDataTile.java b/JNI/src/net/osmand/core/jni/BinaryMapDataTile.java deleted file mode 100644 index 4210153a41..0000000000 --- a/JNI/src/net/osmand/core/jni/BinaryMapDataTile.java +++ /dev/null @@ -1,60 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BinaryMapDataTile extends MapTiledData { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BinaryMapDataTile(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.BinaryMapDataTile_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BinaryMapDataTile obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_BinaryMapDataTile(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t getDataBlocksCache() { - return new SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t(OsmAndCoreJNI.BinaryMapDataTile_dataBlocksCache_get(swigCPtr, this), true); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t getReferencedDataBlocks() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t(OsmAndCoreJNI.BinaryMapDataTile_referencedDataBlocks_get(swigCPtr, this), false); - } - - public MapFoundationType getTileFoundation() { - return MapFoundationType.swigToEnum(OsmAndCoreJNI.BinaryMapDataTile_tileFoundation_get(swigCPtr, this)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t getMapObjects() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t(OsmAndCoreJNI.BinaryMapDataTile_mapObjects_get(swigCPtr, this), false); - } - - public void releaseConsumableContent() { - OsmAndCoreJNI.BinaryMapDataTile_releaseConsumableContent(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/BinaryMapPrimitivesProvider.java b/JNI/src/net/osmand/core/jni/BinaryMapPrimitivesProvider.java deleted file mode 100644 index f1cbf11fe7..0000000000 --- a/JNI/src/net/osmand/core/jni/BinaryMapPrimitivesProvider.java +++ /dev/null @@ -1,82 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BinaryMapPrimitivesProvider extends IMapTiledDataProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BinaryMapPrimitivesProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.BinaryMapPrimitivesProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BinaryMapPrimitivesProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_BinaryMapPrimitivesProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BinaryMapPrimitivesProvider(BinaryMapDataProvider dataProvider, Primitiviser primitiviser, long tileSize) { - this(OsmAndCoreJNI.new_BinaryMapPrimitivesProvider__SWIG_0(BinaryMapDataProvider.getCPtr(dataProvider), dataProvider, Primitiviser.getCPtr(primitiviser), primitiviser, tileSize), true); - } - - public BinaryMapPrimitivesProvider(BinaryMapDataProvider dataProvider, Primitiviser primitiviser) { - this(OsmAndCoreJNI.new_BinaryMapPrimitivesProvider__SWIG_1(BinaryMapDataProvider.getCPtr(dataProvider), dataProvider, Primitiviser.getCPtr(primitiviser), primitiviser), true); - } - - public BinaryMapDataProvider getDataProvider() { - long cPtr = OsmAndCoreJNI.BinaryMapPrimitivesProvider_dataProvider_get(swigCPtr, this); - return (cPtr == 0) ? null : new BinaryMapDataProvider(cPtr, true); - } - - public Primitiviser getPrimitiviser() { - long cPtr = OsmAndCoreJNI.BinaryMapPrimitivesProvider_primitiviser_get(swigCPtr, this); - return (cPtr == 0) ? null : new Primitiviser(cPtr, true); - } - - public long getTileSize() { - return OsmAndCoreJNI.BinaryMapPrimitivesProvider_tileSize_get(swigCPtr, this); - } - - public ZoomLevel getMinZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.BinaryMapPrimitivesProvider_getMinZoom(swigCPtr, this)); - } - - public ZoomLevel getMaxZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.BinaryMapPrimitivesProvider_getMaxZoom(swigCPtr, this)); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.BinaryMapPrimitivesProvider_obtainData__SWIG_0(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData, SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData) { - return OsmAndCoreJNI.BinaryMapPrimitivesProvider_obtainData__SWIG_1(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData, SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData metric, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.BinaryMapPrimitivesProvider_obtainData__SWIG_2(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData, SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData.getCPtr(metric), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - -} diff --git a/JNI/src/net/osmand/core/jni/BinaryMapPrimitivesTile.java b/JNI/src/net/osmand/core/jni/BinaryMapPrimitivesTile.java deleted file mode 100644 index d6f84311c4..0000000000 --- a/JNI/src/net/osmand/core/jni/BinaryMapPrimitivesTile.java +++ /dev/null @@ -1,54 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BinaryMapPrimitivesTile extends MapTiledData { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BinaryMapPrimitivesTile(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.BinaryMapPrimitivesTile_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BinaryMapPrimitivesTile obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_BinaryMapPrimitivesTile(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BinaryMapDataTile getDataTile() { - long cPtr = OsmAndCoreJNI.BinaryMapPrimitivesTile_dataTile_get(swigCPtr, this); - return (cPtr == 0) ? null : new BinaryMapDataTile(cPtr, true); - } - - public Primitiviser.PrimitivisedArea getPrimitivisedArea() { - long cPtr = OsmAndCoreJNI.BinaryMapPrimitivesTile_primitivisedArea_get(swigCPtr, this); - return (cPtr == 0) ? null : new Primitiviser.PrimitivisedArea(cPtr, true); - } - - public void releaseConsumableContent() { - OsmAndCoreJNI.BinaryMapPrimitivesTile_releaseConsumableContent(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/BinaryMapRasterBitmapTileProvider.java b/JNI/src/net/osmand/core/jni/BinaryMapRasterBitmapTileProvider.java deleted file mode 100644 index e3586f7d0e..0000000000 --- a/JNI/src/net/osmand/core/jni/BinaryMapRasterBitmapTileProvider.java +++ /dev/null @@ -1,73 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BinaryMapRasterBitmapTileProvider extends IMapRasterBitmapTileProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BinaryMapRasterBitmapTileProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BinaryMapRasterBitmapTileProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_BinaryMapRasterBitmapTileProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BinaryMapPrimitivesProvider getPrimitivesProvider() { - long cPtr = OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_primitivesProvider_get(swigCPtr, this); - return (cPtr == 0) ? null : new BinaryMapPrimitivesProvider(cPtr, true); - } - - public float getTileDensityFactor() { - return OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_getTileDensityFactor(swigCPtr, this); - } - - public long getTileSize() { - return OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_getTileSize(swigCPtr, this); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_obtainData__SWIG_0(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData, SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData) { - return OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_obtainData__SWIG_1(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData, SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData metric, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_obtainData__SWIG_2(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData, SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData.getCPtr(metric), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - - public ZoomLevel getMinZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_getMinZoom(swigCPtr, this)); - } - - public ZoomLevel getMaxZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_getMaxZoom(swigCPtr, this)); - } - -} diff --git a/JNI/src/net/osmand/core/jni/BinaryMapRasterBitmapTileProvider_Software.java b/JNI/src/net/osmand/core/jni/BinaryMapRasterBitmapTileProvider_Software.java deleted file mode 100644 index 7c176c8953..0000000000 --- a/JNI/src/net/osmand/core/jni/BinaryMapRasterBitmapTileProvider_Software.java +++ /dev/null @@ -1,44 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BinaryMapRasterBitmapTileProvider_Software extends BinaryMapRasterBitmapTileProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BinaryMapRasterBitmapTileProvider_Software(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.BinaryMapRasterBitmapTileProvider_Software_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BinaryMapRasterBitmapTileProvider_Software obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_BinaryMapRasterBitmapTileProvider_Software(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BinaryMapRasterBitmapTileProvider_Software(BinaryMapPrimitivesProvider primitivesProvider) { - this(OsmAndCoreJNI.new_BinaryMapRasterBitmapTileProvider_Software(BinaryMapPrimitivesProvider.getCPtr(primitivesProvider), primitivesProvider), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/BinaryMapRasterizedTile.java b/JNI/src/net/osmand/core/jni/BinaryMapRasterizedTile.java deleted file mode 100644 index 3955a13940..0000000000 --- a/JNI/src/net/osmand/core/jni/BinaryMapRasterizedTile.java +++ /dev/null @@ -1,49 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BinaryMapRasterizedTile extends RasterBitmapTile { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BinaryMapRasterizedTile(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.BinaryMapRasterizedTile_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BinaryMapRasterizedTile obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_BinaryMapRasterizedTile(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BinaryMapRasterizedTile(BinaryMapPrimitivesTile binaryMapTile, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t bitmap, AlphaChannelData alphaChannelData, float densityFactor, TileId tileId, ZoomLevel zoom) { - this(OsmAndCoreJNI.new_BinaryMapRasterizedTile(BinaryMapPrimitivesTile.getCPtr(binaryMapTile), binaryMapTile, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.getCPtr(bitmap), alphaChannelData.swigValue(), densityFactor, TileId.getCPtr(tileId), tileId, zoom.swigValue()), true); - } - - public BinaryMapPrimitivesTile getBinaryMapTile() { - long cPtr = OsmAndCoreJNI.BinaryMapRasterizedTile_binaryMapTile_get(swigCPtr, this); - return (cPtr == 0) ? null : new BinaryMapPrimitivesTile(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/BinaryMapStaticSymbolsProvider.java b/JNI/src/net/osmand/core/jni/BinaryMapStaticSymbolsProvider.java deleted file mode 100644 index df275dc0ea..0000000000 --- a/JNI/src/net/osmand/core/jni/BinaryMapStaticSymbolsProvider.java +++ /dev/null @@ -1,65 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BinaryMapStaticSymbolsProvider extends IMapTiledSymbolsProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BinaryMapStaticSymbolsProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.BinaryMapStaticSymbolsProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BinaryMapStaticSymbolsProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_BinaryMapStaticSymbolsProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BinaryMapStaticSymbolsProvider(BinaryMapPrimitivesProvider primitivesProvider, long referenceTileSizeInPixels) { - this(OsmAndCoreJNI.new_BinaryMapStaticSymbolsProvider(BinaryMapPrimitivesProvider.getCPtr(primitivesProvider), primitivesProvider, referenceTileSizeInPixels), true); - } - - public BinaryMapPrimitivesProvider getPrimitivesProvider() { - long cPtr = OsmAndCoreJNI.BinaryMapStaticSymbolsProvider_primitivesProvider_get(swigCPtr, this); - return (cPtr == 0) ? null : new BinaryMapPrimitivesProvider(cPtr, true); - } - - public void setReferenceTileSizeInPixels(long value) { - OsmAndCoreJNI.BinaryMapStaticSymbolsProvider_referenceTileSizeInPixels_set(swigCPtr, this, value); - } - - public long getReferenceTileSizeInPixels() { - return OsmAndCoreJNI.BinaryMapStaticSymbolsProvider_referenceTileSizeInPixels_get(swigCPtr, this); - } - - public ZoomLevel getMinZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.BinaryMapStaticSymbolsProvider_getMinZoom(swigCPtr, this)); - } - - public ZoomLevel getMaxZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.BinaryMapStaticSymbolsProvider_getMaxZoom(swigCPtr, this)); - } - -} diff --git a/JNI/src/net/osmand/core/jni/BinaryMapStaticSymbolsTile.java b/JNI/src/net/osmand/core/jni/BinaryMapStaticSymbolsTile.java deleted file mode 100644 index e9d6debf03..0000000000 --- a/JNI/src/net/osmand/core/jni/BinaryMapStaticSymbolsTile.java +++ /dev/null @@ -1,45 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BinaryMapStaticSymbolsTile extends TiledMapSymbolsData { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BinaryMapStaticSymbolsTile(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.BinaryMapStaticSymbolsTile_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BinaryMapStaticSymbolsTile obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_BinaryMapStaticSymbolsTile(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BinaryMapPrimitivesTile getDataTile() { - long cPtr = OsmAndCoreJNI.BinaryMapStaticSymbolsTile_dataTile_get(swigCPtr, this); - return (cPtr == 0) ? null : new BinaryMapPrimitivesTile(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/BoolPtr.java b/JNI/src/net/osmand/core/jni/BoolPtr.java deleted file mode 100644 index 897480b9f8..0000000000 --- a/JNI/src/net/osmand/core/jni/BoolPtr.java +++ /dev/null @@ -1,60 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class BoolPtr { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected BoolPtr(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BoolPtr obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_BoolPtr(swigCPtr); - } - swigCPtr = 0; - } - } - - public BoolPtr() { - this(OsmAndCoreJNI.new_BoolPtr(), true); - } - - public void assign(boolean value) { - OsmAndCoreJNI.BoolPtr_assign(swigCPtr, this, value); - } - - public boolean value() { - return OsmAndCoreJNI.BoolPtr_value(swigCPtr, this); - } - - public SWIGTYPE_p_bool cast() { - long cPtr = OsmAndCoreJNI.BoolPtr_cast(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_bool(cPtr, false); - } - - public static BoolPtr frompointer(SWIGTYPE_p_bool t) { - long cPtr = OsmAndCoreJNI.BoolPtr_frompointer(SWIGTYPE_p_bool.getCPtr(t)); - return (cPtr == 0) ? null : new BoolPtr(cPtr, false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ColorARGB.java b/JNI/src/net/osmand/core/jni/ColorARGB.java deleted file mode 100644 index de4936fe25..0000000000 --- a/JNI/src/net/osmand/core/jni/ColorARGB.java +++ /dev/null @@ -1,94 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ColorARGB { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected ColorARGB(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ColorARGB obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ColorARGB(swigCPtr); - } - swigCPtr = 0; - } - } - - public ColorARGB() { - this(OsmAndCoreJNI.new_ColorARGB__SWIG_0(), true); - } - - public ColorARGB(long argb_) { - this(OsmAndCoreJNI.new_ColorARGB__SWIG_1(argb_), true); - } - - public ColorARGB(short a_, short r_, short g_, short b_) { - this(OsmAndCoreJNI.new_ColorARGB__SWIG_2(a_, r_, g_, b_), true); - } - - public ColorARGB(FColorARGB other) { - this(OsmAndCoreJNI.new_ColorARGB__SWIG_3(FColorARGB.getCPtr(other), other), true); - } - - public void setA(short value) { - OsmAndCoreJNI.ColorARGB_a_set(swigCPtr, this, value); - } - - public short getA() { - return OsmAndCoreJNI.ColorARGB_a_get(swigCPtr, this); - } - - public void setR(short value) { - OsmAndCoreJNI.ColorARGB_r_set(swigCPtr, this, value); - } - - public short getR() { - return OsmAndCoreJNI.ColorARGB_r_get(swigCPtr, this); - } - - public void setG(short value) { - OsmAndCoreJNI.ColorARGB_g_set(swigCPtr, this, value); - } - - public short getG() { - return OsmAndCoreJNI.ColorARGB_g_get(swigCPtr, this); - } - - public void setB(short value) { - OsmAndCoreJNI.ColorARGB_b_set(swigCPtr, this, value); - } - - public short getB() { - return OsmAndCoreJNI.ColorARGB_b_get(swigCPtr, this); - } - - public ColorARGB withAlpha(short newAlpha) { - return new ColorARGB(OsmAndCoreJNI.ColorARGB_withAlpha(swigCPtr, this, newAlpha), true); - } - - public ColorARGB setAlpha(short newAlpha) { - return new ColorARGB(OsmAndCoreJNI.ColorARGB_setAlpha(swigCPtr, this, newAlpha), false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ColorRGB.java b/JNI/src/net/osmand/core/jni/ColorRGB.java deleted file mode 100644 index aad85d8aad..0000000000 --- a/JNI/src/net/osmand/core/jni/ColorRGB.java +++ /dev/null @@ -1,82 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ColorRGB { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected ColorRGB(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ColorRGB obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ColorRGB(swigCPtr); - } - swigCPtr = 0; - } - } - - public ColorRGB() { - this(OsmAndCoreJNI.new_ColorRGB__SWIG_0(), true); - } - - public ColorRGB(short r_, short g_, short b_) { - this(OsmAndCoreJNI.new_ColorRGB__SWIG_1(r_, g_, b_), true); - } - - public ColorRGB(ColorARGB other) { - this(OsmAndCoreJNI.new_ColorRGB__SWIG_2(ColorARGB.getCPtr(other), other), true); - } - - public ColorRGB(FColorRGB other) { - this(OsmAndCoreJNI.new_ColorRGB__SWIG_3(FColorRGB.getCPtr(other), other), true); - } - - public void setR(short value) { - OsmAndCoreJNI.ColorRGB_r_set(swigCPtr, this, value); - } - - public short getR() { - return OsmAndCoreJNI.ColorRGB_r_get(swigCPtr, this); - } - - public void setG(short value) { - OsmAndCoreJNI.ColorRGB_g_set(swigCPtr, this, value); - } - - public short getG() { - return OsmAndCoreJNI.ColorRGB_g_get(swigCPtr, this); - } - - public void setB(short value) { - OsmAndCoreJNI.ColorRGB_b_set(swigCPtr, this, value); - } - - public short getB() { - return OsmAndCoreJNI.ColorRGB_b_get(swigCPtr, this); - } - - public ColorARGB withAlpha(short alpha) { - return new ColorARGB(OsmAndCoreJNI.ColorRGB_withAlpha(swigCPtr, this, alpha), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/CoreResourcesEmbeddedBundle.java b/JNI/src/net/osmand/core/jni/CoreResourcesEmbeddedBundle.java deleted file mode 100644 index 4fa77fb4a1..0000000000 --- a/JNI/src/net/osmand/core/jni/CoreResourcesEmbeddedBundle.java +++ /dev/null @@ -1,74 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class CoreResourcesEmbeddedBundle extends ICoreResourcesProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected CoreResourcesEmbeddedBundle(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.CoreResourcesEmbeddedBundle_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(CoreResourcesEmbeddedBundle obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_CoreResourcesEmbeddedBundle(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public SWIGTYPE_p_QByteArray getResource(String name, float displayDensityFactor, SWIGTYPE_p_bool ok) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.CoreResourcesEmbeddedBundle_getResource__SWIG_0(swigCPtr, this, name, displayDensityFactor, SWIGTYPE_p_bool.getCPtr(ok)), true); - } - - public SWIGTYPE_p_QByteArray getResource(String name, float displayDensityFactor) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.CoreResourcesEmbeddedBundle_getResource__SWIG_1(swigCPtr, this, name, displayDensityFactor), true); - } - - public SWIGTYPE_p_QByteArray getResource(String name, SWIGTYPE_p_bool ok) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.CoreResourcesEmbeddedBundle_getResource__SWIG_2(swigCPtr, this, name, SWIGTYPE_p_bool.getCPtr(ok)), true); - } - - public SWIGTYPE_p_QByteArray getResource(String name) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.CoreResourcesEmbeddedBundle_getResource__SWIG_3(swigCPtr, this, name), true); - } - - public boolean containsResource(String name, float displayDensityFactor) { - return OsmAndCoreJNI.CoreResourcesEmbeddedBundle_containsResource__SWIG_0(swigCPtr, this, name, displayDensityFactor); - } - - public boolean containsResource(String name) { - return OsmAndCoreJNI.CoreResourcesEmbeddedBundle_containsResource__SWIG_1(swigCPtr, this, name); - } - - public static CoreResourcesEmbeddedBundle loadFromCurrentExecutable() { - long cPtr = OsmAndCoreJNI.CoreResourcesEmbeddedBundle_loadFromCurrentExecutable(); - return (cPtr == 0) ? null : new CoreResourcesEmbeddedBundle(cPtr, true); - } - - public static CoreResourcesEmbeddedBundle loadFromLibrary(String libraryNameOrFilename) { - long cPtr = OsmAndCoreJNI.CoreResourcesEmbeddedBundle_loadFromLibrary(libraryNameOrFilename); - return (cPtr == 0) ? null : new CoreResourcesEmbeddedBundle(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/DefaultLogSink.java b/JNI/src/net/osmand/core/jni/DefaultLogSink.java deleted file mode 100644 index 5fd02b898c..0000000000 --- a/JNI/src/net/osmand/core/jni/DefaultLogSink.java +++ /dev/null @@ -1,48 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class DefaultLogSink extends ILogSink { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected DefaultLogSink(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.DefaultLogSink_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(DefaultLogSink obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_DefaultLogSink(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public DefaultLogSink() { - this(OsmAndCoreJNI.new_DefaultLogSink(), true); - } - - public void flush() { - OsmAndCoreJNI.DefaultLogSink_flush(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/DoublePtr.java b/JNI/src/net/osmand/core/jni/DoublePtr.java deleted file mode 100644 index f1cd59d3f9..0000000000 --- a/JNI/src/net/osmand/core/jni/DoublePtr.java +++ /dev/null @@ -1,60 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class DoublePtr { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected DoublePtr(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(DoublePtr obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_DoublePtr(swigCPtr); - } - swigCPtr = 0; - } - } - - public DoublePtr() { - this(OsmAndCoreJNI.new_DoublePtr(), true); - } - - public void assign(double value) { - OsmAndCoreJNI.DoublePtr_assign(swigCPtr, this, value); - } - - public double value() { - return OsmAndCoreJNI.DoublePtr_value(swigCPtr, this); - } - - public SWIGTYPE_p_double cast() { - long cPtr = OsmAndCoreJNI.DoublePtr_cast(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_double(cPtr, false); - } - - public static DoublePtr frompointer(SWIGTYPE_p_double t) { - long cPtr = OsmAndCoreJNI.DoublePtr_frompointer(SWIGTYPE_p_double.getCPtr(t)); - return (cPtr == 0) ? null : new DoublePtr(cPtr, false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/Edge.java b/JNI/src/net/osmand/core/jni/Edge.java deleted file mode 100644 index 78b9dfa149..0000000000 --- a/JNI/src/net/osmand/core/jni/Edge.java +++ /dev/null @@ -1,55 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum Edge { - Invalid(OsmAndCoreJNI.Edge_Invalid_get()), - Left(OsmAndCoreJNI.Edge_Left_get()), - Top(OsmAndCoreJNI.Edge_Top_get()), - Right(OsmAndCoreJNI.Edge_Right_get()), - Bottom(OsmAndCoreJNI.Edge_Bottom_get()); - - public final int swigValue() { - return swigValue; - } - - public static Edge swigToEnum(int swigValue) { - Edge[] swigValues = Edge.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (Edge swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + Edge.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private Edge() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private Edge(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private Edge(Edge swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/ElevationDataTile.java b/JNI/src/net/osmand/core/jni/ElevationDataTile.java deleted file mode 100644 index 62fa568624..0000000000 --- a/JNI/src/net/osmand/core/jni/ElevationDataTile.java +++ /dev/null @@ -1,73 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ElevationDataTile extends MapTiledData { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected ElevationDataTile(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ElevationDataTile_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ElevationDataTile obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ElevationDataTile(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public ElevationDataTile(SWIGTYPE_p_float data, long rowLength, long size, TileId tileId, ZoomLevel zoom) { - this(OsmAndCoreJNI.new_ElevationDataTile(SWIGTYPE_p_float.getCPtr(data), rowLength, size, TileId.getCPtr(tileId), tileId, zoom.swigValue()), true); - } - - public void setData(SWIGTYPE_p_float value) { - OsmAndCoreJNI.ElevationDataTile_data_set(swigCPtr, this, SWIGTYPE_p_float.getCPtr(value)); - } - - public SWIGTYPE_p_float getData() { - long cPtr = OsmAndCoreJNI.ElevationDataTile_data_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_float(cPtr, false); - } - - public void setRowLength(long value) { - OsmAndCoreJNI.ElevationDataTile_rowLength_set(swigCPtr, this, value); - } - - public long getRowLength() { - return OsmAndCoreJNI.ElevationDataTile_rowLength_get(swigCPtr, this); - } - - public void setSize(long value) { - OsmAndCoreJNI.ElevationDataTile_size_set(swigCPtr, this, value); - } - - public long getSize() { - return OsmAndCoreJNI.ElevationDataTile_size_get(swigCPtr, this); - } - - public void releaseConsumableContent() { - OsmAndCoreJNI.ElevationDataTile_releaseConsumableContent(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/FColorARGB.java b/JNI/src/net/osmand/core/jni/FColorARGB.java deleted file mode 100644 index 0cddac9068..0000000000 --- a/JNI/src/net/osmand/core/jni/FColorARGB.java +++ /dev/null @@ -1,86 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class FColorARGB { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected FColorARGB(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(FColorARGB obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_FColorARGB(swigCPtr); - } - swigCPtr = 0; - } - } - - public FColorARGB() { - this(OsmAndCoreJNI.new_FColorARGB__SWIG_0(), true); - } - - public FColorARGB(float a_, float r_, float g_, float b_) { - this(OsmAndCoreJNI.new_FColorARGB__SWIG_1(a_, r_, g_, b_), true); - } - - public void setA(float value) { - OsmAndCoreJNI.FColorARGB_a_set(swigCPtr, this, value); - } - - public float getA() { - return OsmAndCoreJNI.FColorARGB_a_get(swigCPtr, this); - } - - public void setR(float value) { - OsmAndCoreJNI.FColorARGB_r_set(swigCPtr, this, value); - } - - public float getR() { - return OsmAndCoreJNI.FColorARGB_r_get(swigCPtr, this); - } - - public void setG(float value) { - OsmAndCoreJNI.FColorARGB_g_set(swigCPtr, this, value); - } - - public float getG() { - return OsmAndCoreJNI.FColorARGB_g_get(swigCPtr, this); - } - - public void setB(float value) { - OsmAndCoreJNI.FColorARGB_b_set(swigCPtr, this, value); - } - - public float getB() { - return OsmAndCoreJNI.FColorARGB_b_get(swigCPtr, this); - } - - public FColorARGB withAlpha(float newAlpha) { - return new FColorARGB(OsmAndCoreJNI.FColorARGB_withAlpha(swigCPtr, this, newAlpha), true); - } - - public FColorARGB setAlpha(float newAlpha) { - return new FColorARGB(OsmAndCoreJNI.FColorARGB_setAlpha(swigCPtr, this, newAlpha), false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/FColorRGB.java b/JNI/src/net/osmand/core/jni/FColorRGB.java deleted file mode 100644 index cb6825e9d2..0000000000 --- a/JNI/src/net/osmand/core/jni/FColorRGB.java +++ /dev/null @@ -1,78 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class FColorRGB { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected FColorRGB(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(FColorRGB obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_FColorRGB(swigCPtr); - } - swigCPtr = 0; - } - } - - public FColorRGB() { - this(OsmAndCoreJNI.new_FColorRGB__SWIG_0(), true); - } - - public FColorRGB(float r_, float g_, float b_) { - this(OsmAndCoreJNI.new_FColorRGB__SWIG_1(r_, g_, b_), true); - } - - public FColorRGB(FColorARGB other) { - this(OsmAndCoreJNI.new_FColorRGB__SWIG_2(FColorARGB.getCPtr(other), other), true); - } - - public void setR(float value) { - OsmAndCoreJNI.FColorRGB_r_set(swigCPtr, this, value); - } - - public float getR() { - return OsmAndCoreJNI.FColorRGB_r_get(swigCPtr, this); - } - - public void setG(float value) { - OsmAndCoreJNI.FColorRGB_g_set(swigCPtr, this, value); - } - - public float getG() { - return OsmAndCoreJNI.FColorRGB_g_get(swigCPtr, this); - } - - public void setB(float value) { - OsmAndCoreJNI.FColorRGB_b_set(swigCPtr, this, value); - } - - public float getB() { - return OsmAndCoreJNI.FColorRGB_b_get(swigCPtr, this); - } - - public FColorARGB withAlpha(float alpha) { - return new FColorARGB(OsmAndCoreJNI.FColorRGB_withAlpha(swigCPtr, this, alpha), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/FloatPtr.java b/JNI/src/net/osmand/core/jni/FloatPtr.java deleted file mode 100644 index 9cfcfacd7e..0000000000 --- a/JNI/src/net/osmand/core/jni/FloatPtr.java +++ /dev/null @@ -1,60 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class FloatPtr { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected FloatPtr(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(FloatPtr obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_FloatPtr(swigCPtr); - } - swigCPtr = 0; - } - } - - public FloatPtr() { - this(OsmAndCoreJNI.new_FloatPtr(), true); - } - - public void assign(float value) { - OsmAndCoreJNI.FloatPtr_assign(swigCPtr, this, value); - } - - public float value() { - return OsmAndCoreJNI.FloatPtr_value(swigCPtr, this); - } - - public SWIGTYPE_p_float cast() { - long cPtr = OsmAndCoreJNI.FloatPtr_cast(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_float(cPtr, false); - } - - public static FloatPtr frompointer(SWIGTYPE_p_float t) { - long cPtr = OsmAndCoreJNI.FloatPtr_frompointer(SWIGTYPE_p_float.getCPtr(t)); - return (cPtr == 0) ? null : new FloatPtr(cPtr, false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ICoreResourcesProvider.java b/JNI/src/net/osmand/core/jni/ICoreResourcesProvider.java deleted file mode 100644 index 4d9e88c3b4..0000000000 --- a/JNI/src/net/osmand/core/jni/ICoreResourcesProvider.java +++ /dev/null @@ -1,90 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ICoreResourcesProvider { - private long swigCPtr; - private boolean swigCMemOwn; - - protected ICoreResourcesProvider(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ICoreResourcesProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ICoreResourcesProvider(swigCPtr); - } - swigCPtr = 0; - } - } - - protected void swigDirectorDisconnect() { - swigCMemOwn = false; - delete(); - } - - public void swigReleaseOwnership() { - swigCMemOwn = false; - OsmAndCoreJNI.ICoreResourcesProvider_change_ownership(this, swigCPtr, false); - } - - public void swigTakeOwnership() { - swigCMemOwn = true; - OsmAndCoreJNI.ICoreResourcesProvider_change_ownership(this, swigCPtr, true); - } - - protected ICoreResourcesProvider() { - this(OsmAndCoreJNI.new_ICoreResourcesProvider(), true); - OsmAndCoreJNI.ICoreResourcesProvider_director_connect(this, swigCPtr, swigCMemOwn, true); - } - - public SWIGTYPE_p_QByteArray getResource(String name, float displayDensityFactor, SWIGTYPE_p_bool ok) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.ICoreResourcesProvider_getResource__SWIG_0(swigCPtr, this, name, displayDensityFactor, SWIGTYPE_p_bool.getCPtr(ok)), true); - } - - public SWIGTYPE_p_QByteArray getResource(String name, float displayDensityFactor) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.ICoreResourcesProvider_getResource__SWIG_1(swigCPtr, this, name, displayDensityFactor), true); - } - - public SWIGTYPE_p_QByteArray getResource(String name, SWIGTYPE_p_bool ok) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.ICoreResourcesProvider_getResource__SWIG_2(swigCPtr, this, name, SWIGTYPE_p_bool.getCPtr(ok)), true); - } - - public SWIGTYPE_p_QByteArray getResource(String name) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.ICoreResourcesProvider_getResource__SWIG_3(swigCPtr, this, name), true); - } - - public SWIGTYPE_p_std__shared_ptrT_SkBitmap_t getResourceAsBitmap(String name, float displayDensityFactor) { - return new SWIGTYPE_p_std__shared_ptrT_SkBitmap_t((getClass() == ICoreResourcesProvider.class) ? OsmAndCoreJNI.ICoreResourcesProvider_getResourceAsBitmap__SWIG_0(swigCPtr, this, name, displayDensityFactor) : OsmAndCoreJNI.ICoreResourcesProvider_getResourceAsBitmapSwigExplicitICoreResourcesProvider__SWIG_0(swigCPtr, this, name, displayDensityFactor), true); - } - - public SWIGTYPE_p_std__shared_ptrT_SkBitmap_t getResourceAsBitmap(String name) { - return new SWIGTYPE_p_std__shared_ptrT_SkBitmap_t((getClass() == ICoreResourcesProvider.class) ? OsmAndCoreJNI.ICoreResourcesProvider_getResourceAsBitmap__SWIG_1(swigCPtr, this, name) : OsmAndCoreJNI.ICoreResourcesProvider_getResourceAsBitmapSwigExplicitICoreResourcesProvider__SWIG_1(swigCPtr, this, name), true); - } - - public boolean containsResource(String name, float displayDensityFactor) { - return OsmAndCoreJNI.ICoreResourcesProvider_containsResource__SWIG_0(swigCPtr, this, name, displayDensityFactor); - } - - public boolean containsResource(String name) { - return OsmAndCoreJNI.ICoreResourcesProvider_containsResource__SWIG_1(swigCPtr, this, name); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ILogSink.java b/JNI/src/net/osmand/core/jni/ILogSink.java deleted file mode 100644 index e0127c837f..0000000000 --- a/JNI/src/net/osmand/core/jni/ILogSink.java +++ /dev/null @@ -1,42 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ILogSink { - private long swigCPtr; - private boolean swigCMemOwn; - - protected ILogSink(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ILogSink obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ILogSink(swigCPtr); - } - swigCPtr = 0; - } - } - - public void flush() { - OsmAndCoreJNI.ILogSink_flush(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapDataProvider.java b/JNI/src/net/osmand/core/jni/IMapDataProvider.java deleted file mode 100644 index c236bdf4b4..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapDataProvider.java +++ /dev/null @@ -1,89 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapDataProvider { - private long swigCPtr; - private boolean swigCMemOwn; - - protected IMapDataProvider(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapDataProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IMapDataProvider(swigCPtr); - } - swigCPtr = 0; - } - } - - public IMapDataProvider.DataType getDataType() { - return IMapDataProvider.DataType.swigToEnum(OsmAndCoreJNI.IMapDataProvider_dataType_get(swigCPtr, this)); - } - - public enum DataType { - Unknown(OsmAndCoreJNI.IMapDataProvider_DataType_Unknown_get()), - BinaryMapDataTile, - BinaryMapPrimitivesTile, - RasterBitmapTile, - ElevationDataTile, - SymbolsTile, - Symbols; - - public final int swigValue() { - return swigValue; - } - - public static DataType swigToEnum(int swigValue) { - DataType[] swigValues = DataType.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (DataType swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + DataType.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private DataType() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private DataType(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private DataType(DataType swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapElevationDataProvider.java b/JNI/src/net/osmand/core/jni/IMapElevationDataProvider.java deleted file mode 100644 index 4a6fdcc67f..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapElevationDataProvider.java +++ /dev/null @@ -1,44 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapElevationDataProvider extends IMapTiledDataProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected IMapElevationDataProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.IMapElevationDataProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapElevationDataProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_IMapElevationDataProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public long getTileSize() { - return OsmAndCoreJNI.IMapElevationDataProvider_getTileSize(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapKeyedDataProvider.java b/JNI/src/net/osmand/core/jni/IMapKeyedDataProvider.java deleted file mode 100644 index 38a644130c..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapKeyedDataProvider.java +++ /dev/null @@ -1,52 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapKeyedDataProvider extends IMapDataProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected IMapKeyedDataProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.IMapKeyedDataProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapKeyedDataProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_IMapKeyedDataProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public SWIGTYPE_p_QListT_void_const_p_t getProvidedDataKeys() { - return new SWIGTYPE_p_QListT_void_const_p_t(OsmAndCoreJNI.IMapKeyedDataProvider_getProvidedDataKeys(swigCPtr, this), true); - } - - public boolean obtainData(SWIGTYPE_p_void key, MapKeyedData outKeyedData, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.IMapKeyedDataProvider_obtainData__SWIG_0(swigCPtr, this, SWIGTYPE_p_void.getCPtr(key), MapKeyedData.getCPtr(outKeyedData), outKeyedData, SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - - public boolean obtainData(SWIGTYPE_p_void key, MapKeyedData outKeyedData) { - return OsmAndCoreJNI.IMapKeyedDataProvider_obtainData__SWIG_1(swigCPtr, this, SWIGTYPE_p_void.getCPtr(key), MapKeyedData.getCPtr(outKeyedData), outKeyedData); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapKeyedSymbolsProvider.java b/JNI/src/net/osmand/core/jni/IMapKeyedSymbolsProvider.java deleted file mode 100644 index c29425c537..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapKeyedSymbolsProvider.java +++ /dev/null @@ -1,40 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapKeyedSymbolsProvider extends IMapKeyedDataProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected IMapKeyedSymbolsProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.IMapKeyedSymbolsProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapKeyedSymbolsProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_IMapKeyedSymbolsProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapRasterBitmapTileProvider.java b/JNI/src/net/osmand/core/jni/IMapRasterBitmapTileProvider.java deleted file mode 100644 index 1b10fbe06a..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapRasterBitmapTileProvider.java +++ /dev/null @@ -1,48 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapRasterBitmapTileProvider extends IMapTiledDataProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected IMapRasterBitmapTileProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.IMapRasterBitmapTileProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapRasterBitmapTileProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_IMapRasterBitmapTileProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public long getTileSize() { - return OsmAndCoreJNI.IMapRasterBitmapTileProvider_getTileSize(swigCPtr, this); - } - - public float getTileDensityFactor() { - return OsmAndCoreJNI.IMapRasterBitmapTileProvider_getTileDensityFactor(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapRenderer.java b/JNI/src/net/osmand/core/jni/IMapRenderer.java deleted file mode 100644 index bd9d9a0568..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapRenderer.java +++ /dev/null @@ -1,522 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapRenderer { - private long swigCPtr; - private boolean swigCMemOwn; - - protected IMapRenderer(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapRenderer obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IMapRenderer(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapRendererSetupOptions getSetupOptions() { - return new MapRendererSetupOptions(OsmAndCoreJNI.IMapRenderer_getSetupOptions(swigCPtr, this), true); - } - - public boolean setup(MapRendererSetupOptions setupOptions) { - return OsmAndCoreJNI.IMapRenderer_setup(swigCPtr, this, MapRendererSetupOptions.getCPtr(setupOptions), setupOptions); - } - - public MapRendererConfiguration getConfiguration() { - long cPtr = OsmAndCoreJNI.IMapRenderer_getConfiguration(swigCPtr, this); - return (cPtr == 0) ? null : new MapRendererConfiguration(cPtr, true); - } - - public void setConfiguration(MapRendererConfiguration configuration, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setConfiguration__SWIG_0(swigCPtr, this, MapRendererConfiguration.getCPtr(configuration), configuration, forcedUpdate); - } - - public void setConfiguration(MapRendererConfiguration configuration) { - OsmAndCoreJNI.IMapRenderer_setConfiguration__SWIG_1(swigCPtr, this, MapRendererConfiguration.getCPtr(configuration), configuration); - } - - public boolean isRenderingInitialized() { - return OsmAndCoreJNI.IMapRenderer_isRenderingInitialized(swigCPtr, this); - } - - public boolean initializeRendering() { - return OsmAndCoreJNI.IMapRenderer_initializeRendering(swigCPtr, this); - } - - public boolean update() { - return OsmAndCoreJNI.IMapRenderer_update(swigCPtr, this); - } - - public boolean prepareFrame() { - return OsmAndCoreJNI.IMapRenderer_prepareFrame(swigCPtr, this); - } - - public boolean renderFrame() { - return OsmAndCoreJNI.IMapRenderer_renderFrame(swigCPtr, this); - } - - public boolean releaseRendering() { - return OsmAndCoreJNI.IMapRenderer_releaseRendering(swigCPtr, this); - } - - public boolean isIdle() { - return OsmAndCoreJNI.IMapRenderer_isIdle(swigCPtr, this); - } - - public String getNotIdleReason() { - return OsmAndCoreJNI.IMapRenderer_getNotIdleReason(swigCPtr, this); - } - - public boolean pauseGpuWorkerThread() { - return OsmAndCoreJNI.IMapRenderer_pauseGpuWorkerThread(swigCPtr, this); - } - - public boolean resumeGpuWorkerThread() { - return OsmAndCoreJNI.IMapRenderer_resumeGpuWorkerThread(swigCPtr, this); - } - - static public class IFramePreparedObserver { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected IFramePreparedObserver(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IFramePreparedObserver obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IMapRenderer_IFramePreparedObserver(swigCPtr); - } - swigCPtr = 0; - } - } - - protected void swigDirectorDisconnect() { - swigCMemOwn = false; - delete(); - } - - public void swigReleaseOwnership() { - swigCMemOwn = false; - OsmAndCoreJNI.IMapRenderer_IFramePreparedObserver_change_ownership(this, swigCPtr, false); - } - - public void swigTakeOwnership() { - swigCMemOwn = true; - OsmAndCoreJNI.IMapRenderer_IFramePreparedObserver_change_ownership(this, swigCPtr, true); - } - - public IFramePreparedObserver() { - this(OsmAndCoreJNI.new_IMapRenderer_IFramePreparedObserver(), true); - OsmAndCoreJNI.IMapRenderer_IFramePreparedObserver_director_connect(this, swigCPtr, swigCMemOwn, true); - } - - public void method(IMapRenderer mapRenderer) { - OsmAndCoreJNI.IMapRenderer_IFramePreparedObserver_method(swigCPtr, this, IMapRenderer.getCPtr(mapRenderer), mapRenderer); - } - - public boolean attachTo(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t observable, SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag tag) { - return OsmAndCoreJNI.IMapRenderer_IFramePreparedObserver_attachTo(swigCPtr, this, SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t.getCPtr(observable), SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag.getCPtr(tag)); - } - - public SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver getBinding() { - return new SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver(OsmAndCoreJNI.IMapRenderer_IFramePreparedObserver_getBinding(swigCPtr, this), true); - } - - } - - public SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t getFramePreparedObservable() { - long cPtr = OsmAndCoreJNI.IMapRenderer_framePreparedObservable_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t(cPtr, false); - } - - public void reloadEverything() { - OsmAndCoreJNI.IMapRenderer_reloadEverything(swigCPtr, this); - } - - public MapRendererState getState() { - return new MapRendererState(OsmAndCoreJNI.IMapRenderer_getState(swigCPtr, this), true); - } - - public boolean isFrameInvalidated() { - return OsmAndCoreJNI.IMapRenderer_isFrameInvalidated(swigCPtr, this); - } - - public void forcedFrameInvalidate() { - OsmAndCoreJNI.IMapRenderer_forcedFrameInvalidate(swigCPtr, this); - } - - public void forcedGpuProcessingCycle() { - OsmAndCoreJNI.IMapRenderer_forcedGpuProcessingCycle(swigCPtr, this); - } - - public long getSymbolsCount() { - return OsmAndCoreJNI.IMapRenderer_getSymbolsCount(swigCPtr, this); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t getSymbolsAt(PointI screenPoint) { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t(OsmAndCoreJNI.IMapRenderer_getSymbolsAt(swigCPtr, this, PointI.getCPtr(screenPoint), screenPoint), true); - } - - public void setRasterLayerProvider(RasterMapLayerId layerId, IMapRasterBitmapTileProvider tileProvider, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setRasterLayerProvider__SWIG_0(swigCPtr, this, layerId.swigValue(), IMapRasterBitmapTileProvider.getCPtr(tileProvider), tileProvider, forcedUpdate); - } - - public void setRasterLayerProvider(RasterMapLayerId layerId, IMapRasterBitmapTileProvider tileProvider) { - OsmAndCoreJNI.IMapRenderer_setRasterLayerProvider__SWIG_1(swigCPtr, this, layerId.swigValue(), IMapRasterBitmapTileProvider.getCPtr(tileProvider), tileProvider); - } - - public void resetRasterLayerProvider(RasterMapLayerId layerId, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_resetRasterLayerProvider__SWIG_0(swigCPtr, this, layerId.swigValue(), forcedUpdate); - } - - public void resetRasterLayerProvider(RasterMapLayerId layerId) { - OsmAndCoreJNI.IMapRenderer_resetRasterLayerProvider__SWIG_1(swigCPtr, this, layerId.swigValue()); - } - - public void setRasterLayerOpacity(RasterMapLayerId layerId, float opacity, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setRasterLayerOpacity__SWIG_0(swigCPtr, this, layerId.swigValue(), opacity, forcedUpdate); - } - - public void setRasterLayerOpacity(RasterMapLayerId layerId, float opacity) { - OsmAndCoreJNI.IMapRenderer_setRasterLayerOpacity__SWIG_1(swigCPtr, this, layerId.swigValue(), opacity); - } - - public void setElevationDataProvider(IMapElevationDataProvider tileProvider, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setElevationDataProvider__SWIG_0(swigCPtr, this, IMapElevationDataProvider.getCPtr(tileProvider), tileProvider, forcedUpdate); - } - - public void setElevationDataProvider(IMapElevationDataProvider tileProvider) { - OsmAndCoreJNI.IMapRenderer_setElevationDataProvider__SWIG_1(swigCPtr, this, IMapElevationDataProvider.getCPtr(tileProvider), tileProvider); - } - - public void resetElevationDataProvider(boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_resetElevationDataProvider__SWIG_0(swigCPtr, this, forcedUpdate); - } - - public void resetElevationDataProvider() { - OsmAndCoreJNI.IMapRenderer_resetElevationDataProvider__SWIG_1(swigCPtr, this); - } - - public void setElevationDataScaleFactor(float factor, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setElevationDataScaleFactor__SWIG_0(swigCPtr, this, factor, forcedUpdate); - } - - public void setElevationDataScaleFactor(float factor) { - OsmAndCoreJNI.IMapRenderer_setElevationDataScaleFactor__SWIG_1(swigCPtr, this, factor); - } - - public void addSymbolProvider(IMapDataProvider provider, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_addSymbolProvider__SWIG_0(swigCPtr, this, IMapDataProvider.getCPtr(provider), provider, forcedUpdate); - } - - public void addSymbolProvider(IMapDataProvider provider) { - OsmAndCoreJNI.IMapRenderer_addSymbolProvider__SWIG_1(swigCPtr, this, IMapDataProvider.getCPtr(provider), provider); - } - - public void removeSymbolProvider(IMapDataProvider provider, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_removeSymbolProvider__SWIG_0(swigCPtr, this, IMapDataProvider.getCPtr(provider), provider, forcedUpdate); - } - - public void removeSymbolProvider(IMapDataProvider provider) { - OsmAndCoreJNI.IMapRenderer_removeSymbolProvider__SWIG_1(swigCPtr, this, IMapDataProvider.getCPtr(provider), provider); - } - - public void removeAllSymbolProviders(boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_removeAllSymbolProviders__SWIG_0(swigCPtr, this, forcedUpdate); - } - - public void removeAllSymbolProviders() { - OsmAndCoreJNI.IMapRenderer_removeAllSymbolProviders__SWIG_1(swigCPtr, this); - } - - public void setWindowSize(PointI windowSize, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setWindowSize__SWIG_0(swigCPtr, this, PointI.getCPtr(windowSize), windowSize, forcedUpdate); - } - - public void setWindowSize(PointI windowSize) { - OsmAndCoreJNI.IMapRenderer_setWindowSize__SWIG_1(swigCPtr, this, PointI.getCPtr(windowSize), windowSize); - } - - public void setViewport(AreaI viewport, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setViewport__SWIG_0(swigCPtr, this, AreaI.getCPtr(viewport), viewport, forcedUpdate); - } - - public void setViewport(AreaI viewport) { - OsmAndCoreJNI.IMapRenderer_setViewport__SWIG_1(swigCPtr, this, AreaI.getCPtr(viewport), viewport); - } - - public void setFieldOfView(float fieldOfView, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setFieldOfView__SWIG_0(swigCPtr, this, fieldOfView, forcedUpdate); - } - - public void setFieldOfView(float fieldOfView) { - OsmAndCoreJNI.IMapRenderer_setFieldOfView__SWIG_1(swigCPtr, this, fieldOfView); - } - - public void setDistanceToFog(float fogDistance, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setDistanceToFog__SWIG_0(swigCPtr, this, fogDistance, forcedUpdate); - } - - public void setDistanceToFog(float fogDistance) { - OsmAndCoreJNI.IMapRenderer_setDistanceToFog__SWIG_1(swigCPtr, this, fogDistance); - } - - public void setFogOriginFactor(float factor, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setFogOriginFactor__SWIG_0(swigCPtr, this, factor, forcedUpdate); - } - - public void setFogOriginFactor(float factor) { - OsmAndCoreJNI.IMapRenderer_setFogOriginFactor__SWIG_1(swigCPtr, this, factor); - } - - public void setFogHeightOriginFactor(float factor, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setFogHeightOriginFactor__SWIG_0(swigCPtr, this, factor, forcedUpdate); - } - - public void setFogHeightOriginFactor(float factor) { - OsmAndCoreJNI.IMapRenderer_setFogHeightOriginFactor__SWIG_1(swigCPtr, this, factor); - } - - public void setFogDensity(float fogDensity, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setFogDensity__SWIG_0(swigCPtr, this, fogDensity, forcedUpdate); - } - - public void setFogDensity(float fogDensity) { - OsmAndCoreJNI.IMapRenderer_setFogDensity__SWIG_1(swigCPtr, this, fogDensity); - } - - public void setFogColor(FColorRGB color, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setFogColor__SWIG_0(swigCPtr, this, FColorRGB.getCPtr(color), color, forcedUpdate); - } - - public void setFogColor(FColorRGB color) { - OsmAndCoreJNI.IMapRenderer_setFogColor__SWIG_1(swigCPtr, this, FColorRGB.getCPtr(color), color); - } - - public void setSkyColor(FColorRGB color, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setSkyColor__SWIG_0(swigCPtr, this, FColorRGB.getCPtr(color), color, forcedUpdate); - } - - public void setSkyColor(FColorRGB color) { - OsmAndCoreJNI.IMapRenderer_setSkyColor__SWIG_1(swigCPtr, this, FColorRGB.getCPtr(color), color); - } - - public void setAzimuth(float azimuth, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setAzimuth__SWIG_0(swigCPtr, this, azimuth, forcedUpdate); - } - - public void setAzimuth(float azimuth) { - OsmAndCoreJNI.IMapRenderer_setAzimuth__SWIG_1(swigCPtr, this, azimuth); - } - - public void setElevationAngle(float elevationAngle, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setElevationAngle__SWIG_0(swigCPtr, this, elevationAngle, forcedUpdate); - } - - public void setElevationAngle(float elevationAngle) { - OsmAndCoreJNI.IMapRenderer_setElevationAngle__SWIG_1(swigCPtr, this, elevationAngle); - } - - public void setTarget(PointI target31, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setTarget__SWIG_0(swigCPtr, this, PointI.getCPtr(target31), target31, forcedUpdate); - } - - public void setTarget(PointI target31) { - OsmAndCoreJNI.IMapRenderer_setTarget__SWIG_1(swigCPtr, this, PointI.getCPtr(target31), target31); - } - - public void setZoom(float zoom, boolean forcedUpdate) { - OsmAndCoreJNI.IMapRenderer_setZoom__SWIG_0(swigCPtr, this, zoom, forcedUpdate); - } - - public void setZoom(float zoom) { - OsmAndCoreJNI.IMapRenderer_setZoom__SWIG_1(swigCPtr, this, zoom); - } - - public MapRendererDebugSettings getDebugSettings() { - long cPtr = OsmAndCoreJNI.IMapRenderer_getDebugSettings(swigCPtr, this); - return (cPtr == 0) ? null : new MapRendererDebugSettings(cPtr, true); - } - - public void setDebugSettings(MapRendererDebugSettings debugSettings) { - OsmAndCoreJNI.IMapRenderer_setDebugSettings(swigCPtr, this, MapRendererDebugSettings.getCPtr(debugSettings), debugSettings); - } - - public float getMinZoom() { - return OsmAndCoreJNI.IMapRenderer_getMinZoom(swigCPtr, this); - } - - public float getMaxZoom() { - return OsmAndCoreJNI.IMapRenderer_getMaxZoom(swigCPtr, this); - } - - public float getRecommendedMinZoom(IMapRenderer.ZoomRecommendationStrategy strategy) { - return OsmAndCoreJNI.IMapRenderer_getRecommendedMinZoom__SWIG_0(swigCPtr, this, strategy.swigValue()); - } - - public float getRecommendedMinZoom() { - return OsmAndCoreJNI.IMapRenderer_getRecommendedMinZoom__SWIG_1(swigCPtr, this); - } - - public float getRecommendedMaxZoom(IMapRenderer.ZoomRecommendationStrategy strategy) { - return OsmAndCoreJNI.IMapRenderer_getRecommendedMaxZoom__SWIG_0(swigCPtr, this, strategy.swigValue()); - } - - public float getRecommendedMaxZoom() { - return OsmAndCoreJNI.IMapRenderer_getRecommendedMaxZoom__SWIG_1(swigCPtr, this); - } - - static public class IStateChangeObserver { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected IStateChangeObserver(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IStateChangeObserver obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IMapRenderer_IStateChangeObserver(swigCPtr); - } - swigCPtr = 0; - } - } - - protected void swigDirectorDisconnect() { - swigCMemOwn = false; - delete(); - } - - public void swigReleaseOwnership() { - swigCMemOwn = false; - OsmAndCoreJNI.IMapRenderer_IStateChangeObserver_change_ownership(this, swigCPtr, false); - } - - public void swigTakeOwnership() { - swigCMemOwn = true; - OsmAndCoreJNI.IMapRenderer_IStateChangeObserver_change_ownership(this, swigCPtr, true); - } - - public IStateChangeObserver() { - this(OsmAndCoreJNI.new_IMapRenderer_IStateChangeObserver(), true); - OsmAndCoreJNI.IMapRenderer_IStateChangeObserver_director_connect(this, swigCPtr, swigCMemOwn, true); - } - - public void method(IMapRenderer mapRenderer, MapRendererStateChange thisChange, MapRendererStateChanges allChanges) { - OsmAndCoreJNI.IMapRenderer_IStateChangeObserver_method(swigCPtr, this, IMapRenderer.getCPtr(mapRenderer), mapRenderer, thisChange.swigValue(), MapRendererStateChanges.getCPtr(allChanges), allChanges); - } - - public boolean attachTo(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t observable, SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag tag) { - return OsmAndCoreJNI.IMapRenderer_IStateChangeObserver_attachTo(swigCPtr, this, SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t.getCPtr(observable), SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag.getCPtr(tag)); - } - - public SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver getBinding() { - return new SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver(OsmAndCoreJNI.IMapRenderer_IStateChangeObserver_getBinding(swigCPtr, this), true); - } - - } - - public SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t getStateChangeObservable() { - long cPtr = OsmAndCoreJNI.IMapRenderer_stateChangeObservable_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t(cPtr, false); - } - - public boolean getLocationFromScreenPoint(PointI screenPoint, PointI location31) { - return OsmAndCoreJNI.IMapRenderer_getLocationFromScreenPoint__SWIG_0(swigCPtr, this, PointI.getCPtr(screenPoint), screenPoint, PointI.getCPtr(location31), location31); - } - - public boolean getLocationFromScreenPoint(PointI screenPoint, SWIGTYPE_p_OsmAnd__PointT_long_long_t location) { - return OsmAndCoreJNI.IMapRenderer_getLocationFromScreenPoint__SWIG_1(swigCPtr, this, PointI.getCPtr(screenPoint), screenPoint, SWIGTYPE_p_OsmAnd__PointT_long_long_t.getCPtr(location)); - } - - public void dumpResourcesInfo() { - OsmAndCoreJNI.IMapRenderer_dumpResourcesInfo(swigCPtr, this); - } - - public enum ZoomRecommendationStrategy { - NarrowestRange, - WidestRange; - - public final int swigValue() { - return swigValue; - } - - public static ZoomRecommendationStrategy swigToEnum(int swigValue) { - ZoomRecommendationStrategy[] swigValues = ZoomRecommendationStrategy.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (ZoomRecommendationStrategy swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + ZoomRecommendationStrategy.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private ZoomRecommendationStrategy() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private ZoomRecommendationStrategy(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private ZoomRecommendationStrategy(ZoomRecommendationStrategy swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapStylesCollection.java b/JNI/src/net/osmand/core/jni/IMapStylesCollection.java deleted file mode 100644 index e161ed39ff..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapStylesCollection.java +++ /dev/null @@ -1,51 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapStylesCollection { - private long swigCPtr; - private boolean swigCMemOwn; - - protected IMapStylesCollection(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapStylesCollection obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IMapStylesCollection(swigCPtr); - } - swigCPtr = 0; - } - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t getCollection() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t(OsmAndCoreJNI.IMapStylesCollection_getCollection(swigCPtr, this), true); - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t getStyleByName(String name) { - return new SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t(OsmAndCoreJNI.IMapStylesCollection_getStyleByName(swigCPtr, this, name), true); - } - - public ResolvedMapStyle getResolvedStyleByName(String name) { - long cPtr = OsmAndCoreJNI.IMapStylesCollection_getResolvedStyleByName(swigCPtr, this, name); - return (cPtr == 0) ? null : new ResolvedMapStyle(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapStylesPresetsCollection.java b/JNI/src/net/osmand/core/jni/IMapStylesPresetsCollection.java deleted file mode 100644 index 9c44d08424..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapStylesPresetsCollection.java +++ /dev/null @@ -1,51 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapStylesPresetsCollection { - private long swigCPtr; - private boolean swigCMemOwn; - - protected IMapStylesPresetsCollection(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapStylesPresetsCollection obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IMapStylesPresetsCollection(swigCPtr); - } - swigCPtr = 0; - } - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t getCollection() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t(OsmAndCoreJNI.IMapStylesPresetsCollection_getCollection(swigCPtr, this), true); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t getCollectionFor(String styleName) { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t(OsmAndCoreJNI.IMapStylesPresetsCollection_getCollectionFor(swigCPtr, this, styleName), true); - } - - public MapStylePreset getPreset(String styleName, String presetName) { - long cPtr = OsmAndCoreJNI.IMapStylesPresetsCollection_getPreset(swigCPtr, this, styleName, presetName); - return (cPtr == 0) ? null : new MapStylePreset(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapTiledDataProvider.java b/JNI/src/net/osmand/core/jni/IMapTiledDataProvider.java deleted file mode 100644 index 9232ad5b2e..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapTiledDataProvider.java +++ /dev/null @@ -1,56 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapTiledDataProvider extends IMapDataProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected IMapTiledDataProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.IMapTiledDataProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapTiledDataProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_IMapTiledDataProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public ZoomLevel getMinZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.IMapTiledDataProvider_getMinZoom(swigCPtr, this)); - } - - public ZoomLevel getMaxZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.IMapTiledDataProvider_getMaxZoom(swigCPtr, this)); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.IMapTiledDataProvider_obtainData__SWIG_0(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData, SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData) { - return OsmAndCoreJNI.IMapTiledDataProvider_obtainData__SWIG_1(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IMapTiledSymbolsProvider.java b/JNI/src/net/osmand/core/jni/IMapTiledSymbolsProvider.java deleted file mode 100644 index f5d5c63ad6..0000000000 --- a/JNI/src/net/osmand/core/jni/IMapTiledSymbolsProvider.java +++ /dev/null @@ -1,48 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IMapTiledSymbolsProvider extends IMapTiledDataProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected IMapTiledSymbolsProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.IMapTiledSymbolsProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IMapTiledSymbolsProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_IMapTiledSymbolsProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.IMapTiledSymbolsProvider_obtainData__SWIG_0(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData, SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData) { - return OsmAndCoreJNI.IMapTiledSymbolsProvider_obtainData__SWIG_1(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IObfsCollection.java b/JNI/src/net/osmand/core/jni/IObfsCollection.java deleted file mode 100644 index 3d22bf7e88..0000000000 --- a/JNI/src/net/osmand/core/jni/IObfsCollection.java +++ /dev/null @@ -1,47 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IObfsCollection { - private long swigCPtr; - private boolean swigCMemOwn; - - protected IObfsCollection(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IObfsCollection obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IObfsCollection(swigCPtr); - } - swigCPtr = 0; - } - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t getObfFiles() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t(OsmAndCoreJNI.IObfsCollection_getObfFiles(swigCPtr, this), true); - } - - public ObfDataInterface obtainDataInterface() { - long cPtr = OsmAndCoreJNI.IObfsCollection_obtainDataInterface(swigCPtr, this); - return (cPtr == 0) ? null : new ObfDataInterface(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IObservable.java b/JNI/src/net/osmand/core/jni/IObservable.java deleted file mode 100644 index d3d7b04016..0000000000 --- a/JNI/src/net/osmand/core/jni/IObservable.java +++ /dev/null @@ -1,42 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IObservable { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected IObservable(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IObservable obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IObservable(swigCPtr); - } - swigCPtr = 0; - } - } - - public IObservable() { - this(OsmAndCoreJNI.new_IObservable(), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IOnlineTileSources.java b/JNI/src/net/osmand/core/jni/IOnlineTileSources.java deleted file mode 100644 index 4ef074910b..0000000000 --- a/JNI/src/net/osmand/core/jni/IOnlineTileSources.java +++ /dev/null @@ -1,137 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IOnlineTileSources { - private long swigCPtr; - private boolean swigCMemOwn; - - protected IOnlineTileSources(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IOnlineTileSources obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IOnlineTileSources(swigCPtr); - } - swigCPtr = 0; - } - } - - static public class Source { - private long swigCPtr; - private boolean swigCMemOwn; - - protected Source(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Source obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IOnlineTileSources_Source(swigCPtr); - } - swigCPtr = 0; - } - } - - public Source(String name) { - this(OsmAndCoreJNI.new_IOnlineTileSources_Source(name), true); - } - - public String getName() { - return OsmAndCoreJNI.IOnlineTileSources_Source_name_get(swigCPtr, this); - } - - public void setUrlPattern(String value) { - OsmAndCoreJNI.IOnlineTileSources_Source_urlPattern_set(swigCPtr, this, value); - } - - public String getUrlPattern() { - return OsmAndCoreJNI.IOnlineTileSources_Source_urlPattern_get(swigCPtr, this); - } - - public void setMinZoom(ZoomLevel value) { - OsmAndCoreJNI.IOnlineTileSources_Source_minZoom_set(swigCPtr, this, value.swigValue()); - } - - public ZoomLevel getMinZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.IOnlineTileSources_Source_minZoom_get(swigCPtr, this)); - } - - public void setMaxZoom(ZoomLevel value) { - OsmAndCoreJNI.IOnlineTileSources_Source_maxZoom_set(swigCPtr, this, value.swigValue()); - } - - public ZoomLevel getMaxZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.IOnlineTileSources_Source_maxZoom_get(swigCPtr, this)); - } - - public void setMaxConcurrentDownloads(long value) { - OsmAndCoreJNI.IOnlineTileSources_Source_maxConcurrentDownloads_set(swigCPtr, this, value); - } - - public long getMaxConcurrentDownloads() { - return OsmAndCoreJNI.IOnlineTileSources_Source_maxConcurrentDownloads_get(swigCPtr, this); - } - - public void setTileSize(long value) { - OsmAndCoreJNI.IOnlineTileSources_Source_tileSize_set(swigCPtr, this, value); - } - - public long getTileSize() { - return OsmAndCoreJNI.IOnlineTileSources_Source_tileSize_get(swigCPtr, this); - } - - public void setAlphaChannelData(AlphaChannelData value) { - OsmAndCoreJNI.IOnlineTileSources_Source_alphaChannelData_set(swigCPtr, this, value.swigValue()); - } - - public AlphaChannelData getAlphaChannelData() { - return AlphaChannelData.swigToEnum(OsmAndCoreJNI.IOnlineTileSources_Source_alphaChannelData_get(swigCPtr, this)); - } - - } - - public SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t getCollection() { - return new SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t(OsmAndCoreJNI.IOnlineTileSources_getCollection(swigCPtr, this), true); - } - - public IOnlineTileSources.Source getSourceByName(String sourceName) { - long cPtr = OsmAndCoreJNI.IOnlineTileSources_getSourceByName(swigCPtr, this, sourceName); - return (cPtr == 0) ? null : new IOnlineTileSources.Source(cPtr, true); - } - - public OnlineRasterMapTileProvider createProviderFor(String sourceName) { - long cPtr = OsmAndCoreJNI.IOnlineTileSources_createProviderFor(swigCPtr, this, sourceName); - return (cPtr == 0) ? null : new OnlineRasterMapTileProvider(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/IntPtr.java b/JNI/src/net/osmand/core/jni/IntPtr.java deleted file mode 100644 index fa771ca2b8..0000000000 --- a/JNI/src/net/osmand/core/jni/IntPtr.java +++ /dev/null @@ -1,60 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class IntPtr { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected IntPtr(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IntPtr obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_IntPtr(swigCPtr); - } - swigCPtr = 0; - } - } - - public IntPtr() { - this(OsmAndCoreJNI.new_IntPtr(), true); - } - - public void assign(int value) { - OsmAndCoreJNI.IntPtr_assign(swigCPtr, this, value); - } - - public int value() { - return OsmAndCoreJNI.IntPtr_value(swigCPtr, this); - } - - public SWIGTYPE_p_int cast() { - long cPtr = OsmAndCoreJNI.IntPtr_cast(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_int(cPtr, false); - } - - public static IntPtr frompointer(SWIGTYPE_p_int t) { - long cPtr = OsmAndCoreJNI.IntPtr_frompointer(SWIGTYPE_p_int.getCPtr(t)); - return (cPtr == 0) ? null : new IntPtr(cPtr, false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/KeyedMapSymbolsData.java b/JNI/src/net/osmand/core/jni/KeyedMapSymbolsData.java deleted file mode 100644 index 419b6a9dff..0000000000 --- a/JNI/src/net/osmand/core/jni/KeyedMapSymbolsData.java +++ /dev/null @@ -1,57 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class KeyedMapSymbolsData extends MapKeyedData { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected KeyedMapSymbolsData(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.KeyedMapSymbolsData_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(KeyedMapSymbolsData obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_KeyedMapSymbolsData(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public KeyedMapSymbolsData(MapSymbolsGroup symbolsGroup, SWIGTYPE_p_void key) { - this(OsmAndCoreJNI.new_KeyedMapSymbolsData(MapSymbolsGroup.getCPtr(symbolsGroup), symbolsGroup, SWIGTYPE_p_void.getCPtr(key)), true); - } - - public void setSymbolsGroup(MapSymbolsGroup value) { - OsmAndCoreJNI.KeyedMapSymbolsData_symbolsGroup_set(swigCPtr, this, MapSymbolsGroup.getCPtr(value), value); - } - - public MapSymbolsGroup getSymbolsGroup() { - long cPtr = OsmAndCoreJNI.KeyedMapSymbolsData_symbolsGroup_get(swigCPtr, this); - return (cPtr == 0) ? null : new MapSymbolsGroup(cPtr, true); - } - - public void releaseConsumableContent() { - OsmAndCoreJNI.KeyedMapSymbolsData_releaseConsumableContent(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/LanguageId.java b/JNI/src/net/osmand/core/jni/LanguageId.java deleted file mode 100644 index a840216174..0000000000 --- a/JNI/src/net/osmand/core/jni/LanguageId.java +++ /dev/null @@ -1,53 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum LanguageId { - Invariant(OsmAndCoreJNI.LanguageId_Invariant_get()), - Localized, - Native; - - public final int swigValue() { - return swigValue; - } - - public static LanguageId swigToEnum(int swigValue) { - LanguageId[] swigValues = LanguageId.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (LanguageId swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + LanguageId.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private LanguageId() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private LanguageId(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private LanguageId(LanguageId swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/LatLon.java b/JNI/src/net/osmand/core/jni/LatLon.java deleted file mode 100644 index 1456adeb79..0000000000 --- a/JNI/src/net/osmand/core/jni/LatLon.java +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class LatLon { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected LatLon(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(LatLon obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_LatLon(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setLatitude(double value) { - OsmAndCoreJNI.LatLon_latitude_set(swigCPtr, this, value); - } - - public double getLatitude() { - return OsmAndCoreJNI.LatLon_latitude_get(swigCPtr, this); - } - - public void setLongitude(double value) { - OsmAndCoreJNI.LatLon_longitude_set(swigCPtr, this, value); - } - - public double getLongitude() { - return OsmAndCoreJNI.LatLon_longitude_get(swigCPtr, this); - } - - public LatLon() { - this(OsmAndCoreJNI.new_LatLon__SWIG_0(), true); - } - - public LatLon(LatLon that) { - this(OsmAndCoreJNI.new_LatLon__SWIG_1(LatLon.getCPtr(that), that), true); - } - - public LatLon(double latitude, double longitude) { - this(OsmAndCoreJNI.new_LatLon__SWIG_2(latitude, longitude), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/LogSeverityLevel.java b/JNI/src/net/osmand/core/jni/LogSeverityLevel.java deleted file mode 100644 index 7585922dbc..0000000000 --- a/JNI/src/net/osmand/core/jni/LogSeverityLevel.java +++ /dev/null @@ -1,54 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum LogSeverityLevel { - Error(OsmAndCoreJNI.LogSeverityLevel_Error_get()), - Warning, - Debug, - Info; - - public final int swigValue() { - return swigValue; - } - - public static LogSeverityLevel swigToEnum(int swigValue) { - LogSeverityLevel[] swigValues = LogSeverityLevel.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (LogSeverityLevel swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + LogSeverityLevel.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private LogSeverityLevel() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private LogSeverityLevel(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private LogSeverityLevel(LogSeverityLevel swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/Logger.java b/JNI/src/net/osmand/core/jni/Logger.java deleted file mode 100644 index 1e68da375c..0000000000 --- a/JNI/src/net/osmand/core/jni/Logger.java +++ /dev/null @@ -1,63 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class Logger { - private long swigCPtr; - private boolean swigCMemOwn; - - protected Logger(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Logger obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_Logger(swigCPtr); - } - swigCPtr = 0; - } - } - - public SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t getCurrentLogSinks() { - return new SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t(OsmAndCoreJNI.Logger_getCurrentLogSinks(swigCPtr, this), true); - } - - public void addLogSink(ILogSink logSink) { - OsmAndCoreJNI.Logger_addLogSink(swigCPtr, this, ILogSink.getCPtr(logSink), logSink); - } - - public void removeLogSink(ILogSink logSink) { - OsmAndCoreJNI.Logger_removeLogSink(swigCPtr, this, ILogSink.getCPtr(logSink), logSink); - } - - public void removeAllLogSinks() { - OsmAndCoreJNI.Logger_removeAllLogSinks(swigCPtr, this); - } - - public void flush() { - OsmAndCoreJNI.Logger_flush(swigCPtr, this); - } - - public static Logger get() { - long cPtr = OsmAndCoreJNI.Logger_get(); - return (cPtr == 0) ? null : new Logger(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapData.java b/JNI/src/net/osmand/core/jni/MapData.java deleted file mode 100644 index 6567b32156..0000000000 --- a/JNI/src/net/osmand/core/jni/MapData.java +++ /dev/null @@ -1,50 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapData { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapData(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapData obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapData(swigCPtr); - } - swigCPtr = 0; - } - } - - public IMapDataProvider.DataType getDataType() { - return IMapDataProvider.DataType.swigToEnum(OsmAndCoreJNI.MapData_dataType_get(swigCPtr, this)); - } - - public boolean getConsumableContentReleased() { - return OsmAndCoreJNI.MapData_consumableContentReleased_get(swigCPtr, this); - } - - public void releaseConsumableContent() { - OsmAndCoreJNI.MapData_releaseConsumableContent(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapFoundationType.java b/JNI/src/net/osmand/core/jni/MapFoundationType.java deleted file mode 100644 index 0f66289117..0000000000 --- a/JNI/src/net/osmand/core/jni/MapFoundationType.java +++ /dev/null @@ -1,54 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum MapFoundationType { - Undefined(OsmAndCoreJNI.MapFoundationType_Undefined_get()), - Mixed, - FullLand, - FullWater; - - public final int swigValue() { - return swigValue; - } - - public static MapFoundationType swigToEnum(int swigValue) { - MapFoundationType[] swigValues = MapFoundationType.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (MapFoundationType swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + MapFoundationType.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private MapFoundationType() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private MapFoundationType(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private MapFoundationType(MapFoundationType swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/MapKeyedData.java b/JNI/src/net/osmand/core/jni/MapKeyedData.java deleted file mode 100644 index 635ca8effc..0000000000 --- a/JNI/src/net/osmand/core/jni/MapKeyedData.java +++ /dev/null @@ -1,45 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapKeyedData extends MapData { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected MapKeyedData(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.MapKeyedData_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapKeyedData obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_MapKeyedData(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public SWIGTYPE_p_void getKey() { - long cPtr = OsmAndCoreJNI.MapKeyedData_key_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapPresentationEnvironment.java b/JNI/src/net/osmand/core/jni/MapPresentationEnvironment.java deleted file mode 100644 index fd18f6491f..0000000000 --- a/JNI/src/net/osmand/core/jni/MapPresentationEnvironment.java +++ /dev/null @@ -1,190 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapPresentationEnvironment { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapPresentationEnvironment(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapPresentationEnvironment obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapPresentationEnvironment(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapPresentationEnvironment(ResolvedMapStyle resolvedStyle, float displayDensityFactor, String localeLanguageId, MapPresentationEnvironment.LanguagePreference languagePreference, ICoreResourcesProvider externalResourcesProvider) { - this(OsmAndCoreJNI.new_MapPresentationEnvironment__SWIG_0(ResolvedMapStyle.getCPtr(resolvedStyle), resolvedStyle, displayDensityFactor, localeLanguageId, languagePreference.swigValue(), ICoreResourcesProvider.getCPtr(externalResourcesProvider), externalResourcesProvider), true); - } - - public MapPresentationEnvironment(ResolvedMapStyle resolvedStyle, float displayDensityFactor, String localeLanguageId, MapPresentationEnvironment.LanguagePreference languagePreference) { - this(OsmAndCoreJNI.new_MapPresentationEnvironment__SWIG_1(ResolvedMapStyle.getCPtr(resolvedStyle), resolvedStyle, displayDensityFactor, localeLanguageId, languagePreference.swigValue()), true); - } - - public MapPresentationEnvironment(ResolvedMapStyle resolvedStyle, float displayDensityFactor, String localeLanguageId) { - this(OsmAndCoreJNI.new_MapPresentationEnvironment__SWIG_2(ResolvedMapStyle.getCPtr(resolvedStyle), resolvedStyle, displayDensityFactor, localeLanguageId), true); - } - - public MapPresentationEnvironment(ResolvedMapStyle resolvedStyle, float displayDensityFactor) { - this(OsmAndCoreJNI.new_MapPresentationEnvironment__SWIG_3(ResolvedMapStyle.getCPtr(resolvedStyle), resolvedStyle, displayDensityFactor), true); - } - - public MapPresentationEnvironment(ResolvedMapStyle resolvedStyle) { - this(OsmAndCoreJNI.new_MapPresentationEnvironment__SWIG_4(ResolvedMapStyle.getCPtr(resolvedStyle), resolvedStyle), true); - } - - public MapStyleBuiltinValueDefinitions getStyleBuiltinValueDefs() { - long cPtr = OsmAndCoreJNI.MapPresentationEnvironment_styleBuiltinValueDefs_get(swigCPtr, this); - return (cPtr == 0) ? null : new MapStyleBuiltinValueDefinitions(cPtr, true); - } - - public ResolvedMapStyle getResolvedStyle() { - long cPtr = OsmAndCoreJNI.MapPresentationEnvironment_resolvedStyle_get(swigCPtr, this); - return (cPtr == 0) ? null : new ResolvedMapStyle(cPtr, true); - } - - public float getDisplayDensityFactor() { - return OsmAndCoreJNI.MapPresentationEnvironment_displayDensityFactor_get(swigCPtr, this); - } - - public String getLocaleLanguageId() { - return OsmAndCoreJNI.MapPresentationEnvironment_localeLanguageId_get(swigCPtr, this); - } - - public MapPresentationEnvironment.LanguagePreference getLanguagePreference() { - return MapPresentationEnvironment.LanguagePreference.swigToEnum(OsmAndCoreJNI.MapPresentationEnvironment_languagePreference_get(swigCPtr, this)); - } - - public ICoreResourcesProvider getExternalResourcesProvider() { - long cPtr = OsmAndCoreJNI.MapPresentationEnvironment_externalResourcesProvider_get(swigCPtr, this); - return (cPtr == 0) ? null : new ICoreResourcesProvider(cPtr, true); - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t getDummyMapSection() { - return new SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t(OsmAndCoreJNI.MapPresentationEnvironment_dummyMapSection_get(swigCPtr, this), false); - } - - public SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t getSettings() { - return new SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t(OsmAndCoreJNI.MapPresentationEnvironment_getSettings(swigCPtr, this), true); - } - - public void setSettings(SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t newSettings) { - OsmAndCoreJNI.MapPresentationEnvironment_setSettings__SWIG_0(swigCPtr, this, SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t.getCPtr(newSettings)); - } - - public void setSettings(SWIGTYPE_p_QHashT_QString_QString_t newSettings) { - OsmAndCoreJNI.MapPresentationEnvironment_setSettings__SWIG_1(swigCPtr, this, SWIGTYPE_p_QHashT_QString_QString_t.getCPtr(newSettings)); - } - - public void applyTo(SWIGTYPE_p_OsmAnd__MapStyleEvaluator evaluator) { - OsmAndCoreJNI.MapPresentationEnvironment_applyTo(swigCPtr, this, SWIGTYPE_p_OsmAnd__MapStyleEvaluator.getCPtr(evaluator)); - } - - public boolean obtainShaderBitmap(String name, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t outShaderBitmap) { - return OsmAndCoreJNI.MapPresentationEnvironment_obtainShaderBitmap(swigCPtr, this, name, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.getCPtr(outShaderBitmap)); - } - - public boolean obtainMapIcon(String name, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t outIcon) { - return OsmAndCoreJNI.MapPresentationEnvironment_obtainMapIcon(swigCPtr, this, name, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.getCPtr(outIcon)); - } - - public boolean obtainTextShield(String name, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t outTextShield) { - return OsmAndCoreJNI.MapPresentationEnvironment_obtainTextShield(swigCPtr, this, name, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.getCPtr(outTextShield)); - } - - public boolean obtainIconShield(String name, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t outIconShield) { - return OsmAndCoreJNI.MapPresentationEnvironment_obtainIconShield(swigCPtr, this, name, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.getCPtr(outIconShield)); - } - - public ColorARGB getDefaultBackgroundColor(ZoomLevel zoom) { - return new ColorARGB(OsmAndCoreJNI.MapPresentationEnvironment_getDefaultBackgroundColor(swigCPtr, this, zoom.swigValue()), true); - } - - public void obtainShadowRenderingOptions(ZoomLevel zoom, SWIGTYPE_p_int mode, ColorARGB color) { - OsmAndCoreJNI.MapPresentationEnvironment_obtainShadowRenderingOptions(swigCPtr, this, zoom.swigValue(), SWIGTYPE_p_int.getCPtr(mode), ColorARGB.getCPtr(color), color); - } - - public double getPolygonAreaMinimalThreshold(ZoomLevel zoom) { - return OsmAndCoreJNI.MapPresentationEnvironment_getPolygonAreaMinimalThreshold(swigCPtr, this, zoom.swigValue()); - } - - public long getRoadDensityZoomTile(ZoomLevel zoom) { - return OsmAndCoreJNI.MapPresentationEnvironment_getRoadDensityZoomTile(swigCPtr, this, zoom.swigValue()); - } - - public long getRoadsDensityLimitPerTile(ZoomLevel zoom) { - return OsmAndCoreJNI.MapPresentationEnvironment_getRoadsDensityLimitPerTile(swigCPtr, this, zoom.swigValue()); - } - - public enum LanguagePreference { - NativeOnly, - LocalizedOrNative, - NativeAndLocalized, - NativeAndLocalizedOrTransliterated, - LocalizedAndNative, - LocalizedOrTransliteratedAndNative; - - public final int swigValue() { - return swigValue; - } - - public static LanguagePreference swigToEnum(int swigValue) { - LanguagePreference[] swigValues = LanguagePreference.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (LanguagePreference swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + LanguagePreference.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private LanguagePreference() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private LanguagePreference(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private LanguagePreference(LanguagePreference swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - - public final static int DefaultShadowLevelMin = OsmAndCoreJNI.MapPresentationEnvironment_DefaultShadowLevelMin_get(); - public final static int DefaultShadowLevelMax = OsmAndCoreJNI.MapPresentationEnvironment_DefaultShadowLevelMax_get(); - -} diff --git a/JNI/src/net/osmand/core/jni/MapRendererClass.java b/JNI/src/net/osmand/core/jni/MapRendererClass.java deleted file mode 100644 index 365d2f5448..0000000000 --- a/JNI/src/net/osmand/core/jni/MapRendererClass.java +++ /dev/null @@ -1,52 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum MapRendererClass { - AtlasMapRenderer_OpenGL2plus, - AtlasMapRenderer_OpenGLES2; - - public final int swigValue() { - return swigValue; - } - - public static MapRendererClass swigToEnum(int swigValue) { - MapRendererClass[] swigValues = MapRendererClass.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (MapRendererClass swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + MapRendererClass.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private MapRendererClass() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private MapRendererClass(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private MapRendererClass(MapRendererClass swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/MapRendererConfiguration.java b/JNI/src/net/osmand/core/jni/MapRendererConfiguration.java deleted file mode 100644 index d77aed03cd..0000000000 --- a/JNI/src/net/osmand/core/jni/MapRendererConfiguration.java +++ /dev/null @@ -1,83 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapRendererConfiguration { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapRendererConfiguration(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapRendererConfiguration obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapRendererConfiguration(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapRendererConfiguration() { - this(OsmAndCoreJNI.new_MapRendererConfiguration(), true); - } - - public void setTexturesFilteringQuality(TextureFilteringQuality value) { - OsmAndCoreJNI.MapRendererConfiguration_texturesFilteringQuality_set(swigCPtr, this, value.swigValue()); - } - - public TextureFilteringQuality getTexturesFilteringQuality() { - return TextureFilteringQuality.swigToEnum(OsmAndCoreJNI.MapRendererConfiguration_texturesFilteringQuality_get(swigCPtr, this)); - } - - public void setLimitTextureColorDepthBy16bits(boolean value) { - OsmAndCoreJNI.MapRendererConfiguration_limitTextureColorDepthBy16bits_set(swigCPtr, this, value); - } - - public boolean getLimitTextureColorDepthBy16bits() { - return OsmAndCoreJNI.MapRendererConfiguration_limitTextureColorDepthBy16bits_get(swigCPtr, this); - } - - public void setHeixelsPerTileSide(long value) { - OsmAndCoreJNI.MapRendererConfiguration_heixelsPerTileSide_set(swigCPtr, this, value); - } - - public long getHeixelsPerTileSide() { - return OsmAndCoreJNI.MapRendererConfiguration_heixelsPerTileSide_get(swigCPtr, this); - } - - public void setPaletteTexturesAllowed(boolean value) { - OsmAndCoreJNI.MapRendererConfiguration_paletteTexturesAllowed_set(swigCPtr, this, value); - } - - public boolean getPaletteTexturesAllowed() { - return OsmAndCoreJNI.MapRendererConfiguration_paletteTexturesAllowed_get(swigCPtr, this); - } - - public void copyTo(MapRendererConfiguration other) { - OsmAndCoreJNI.MapRendererConfiguration_copyTo(swigCPtr, this, MapRendererConfiguration.getCPtr(other), other); - } - - public MapRendererConfiguration createCopy() { - long cPtr = OsmAndCoreJNI.MapRendererConfiguration_createCopy(swigCPtr, this); - return (cPtr == 0) ? null : new MapRendererConfiguration(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapRendererDebugSettings.java b/JNI/src/net/osmand/core/jni/MapRendererDebugSettings.java deleted file mode 100644 index 14a89fe027..0000000000 --- a/JNI/src/net/osmand/core/jni/MapRendererDebugSettings.java +++ /dev/null @@ -1,187 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapRendererDebugSettings { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapRendererDebugSettings(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapRendererDebugSettings obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapRendererDebugSettings(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapRendererDebugSettings() { - this(OsmAndCoreJNI.new_MapRendererDebugSettings(), true); - } - - public void setDebugStageEnabled(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_debugStageEnabled_set(swigCPtr, this, value); - } - - public boolean getDebugStageEnabled() { - return OsmAndCoreJNI.MapRendererDebugSettings_debugStageEnabled_get(swigCPtr, this); - } - - public void setExcludeOnPathSymbolsFromProcessing(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_excludeOnPathSymbolsFromProcessing_set(swigCPtr, this, value); - } - - public boolean getExcludeOnPathSymbolsFromProcessing() { - return OsmAndCoreJNI.MapRendererDebugSettings_excludeOnPathSymbolsFromProcessing_get(swigCPtr, this); - } - - public void setExcludeBillboardSymbolsFromProcessing(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_excludeBillboardSymbolsFromProcessing_set(swigCPtr, this, value); - } - - public boolean getExcludeBillboardSymbolsFromProcessing() { - return OsmAndCoreJNI.MapRendererDebugSettings_excludeBillboardSymbolsFromProcessing_get(swigCPtr, this); - } - - public void setExcludeOnSurfaceSymbolsFromProcessing(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_excludeOnSurfaceSymbolsFromProcessing_set(swigCPtr, this, value); - } - - public boolean getExcludeOnSurfaceSymbolsFromProcessing() { - return OsmAndCoreJNI.MapRendererDebugSettings_excludeOnSurfaceSymbolsFromProcessing_get(swigCPtr, this); - } - - public void setSkipSymbolsIntersectionCheck(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_skipSymbolsIntersectionCheck_set(swigCPtr, this, value); - } - - public boolean getSkipSymbolsIntersectionCheck() { - return OsmAndCoreJNI.MapRendererDebugSettings_skipSymbolsIntersectionCheck_get(swigCPtr, this); - } - - public void setShowSymbolsBBoxesAcceptedByIntersectionCheck(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsBBoxesAcceptedByIntersectionCheck_set(swigCPtr, this, value); - } - - public boolean getShowSymbolsBBoxesAcceptedByIntersectionCheck() { - return OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsBBoxesAcceptedByIntersectionCheck_get(swigCPtr, this); - } - - public void setShowSymbolsBBoxesRejectedByIntersectionCheck(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsBBoxesRejectedByIntersectionCheck_set(swigCPtr, this, value); - } - - public boolean getShowSymbolsBBoxesRejectedByIntersectionCheck() { - return OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsBBoxesRejectedByIntersectionCheck_get(swigCPtr, this); - } - - public void setSkipSymbolsMinDistanceToSameContentFromOtherSymbolCheck(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_skipSymbolsMinDistanceToSameContentFromOtherSymbolCheck_set(swigCPtr, this, value); - } - - public boolean getSkipSymbolsMinDistanceToSameContentFromOtherSymbolCheck() { - return OsmAndCoreJNI.MapRendererDebugSettings_skipSymbolsMinDistanceToSameContentFromOtherSymbolCheck_get(swigCPtr, this); - } - - public void setShowSymbolsBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck_set(swigCPtr, this, value); - } - - public boolean getShowSymbolsBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck() { - return OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck_get(swigCPtr, this); - } - - public void setShowSymbolsCheckBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsCheckBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck_set(swigCPtr, this, value); - } - - public boolean getShowSymbolsCheckBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck() { - return OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsCheckBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck_get(swigCPtr, this); - } - - public void setShowSymbolsBBoxesRejectedByPresentationMode(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsBBoxesRejectedByPresentationMode_set(swigCPtr, this, value); - } - - public boolean getShowSymbolsBBoxesRejectedByPresentationMode() { - return OsmAndCoreJNI.MapRendererDebugSettings_showSymbolsBBoxesRejectedByPresentationMode_get(swigCPtr, this); - } - - public void setShowOnPathSymbolsRenderablesPaths(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showOnPathSymbolsRenderablesPaths_set(swigCPtr, this, value); - } - - public boolean getShowOnPathSymbolsRenderablesPaths() { - return OsmAndCoreJNI.MapRendererDebugSettings_showOnPathSymbolsRenderablesPaths_get(swigCPtr, this); - } - - public void setShowOnPath2dSymbolGlyphDetails(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showOnPath2dSymbolGlyphDetails_set(swigCPtr, this, value); - } - - public boolean getShowOnPath2dSymbolGlyphDetails() { - return OsmAndCoreJNI.MapRendererDebugSettings_showOnPath2dSymbolGlyphDetails_get(swigCPtr, this); - } - - public void setShowOnPath3dSymbolGlyphDetails(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showOnPath3dSymbolGlyphDetails_set(swigCPtr, this, value); - } - - public boolean getShowOnPath3dSymbolGlyphDetails() { - return OsmAndCoreJNI.MapRendererDebugSettings_showOnPath3dSymbolGlyphDetails_get(swigCPtr, this); - } - - public void setAllSymbolsTransparentForIntersectionLookup(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_allSymbolsTransparentForIntersectionLookup_set(swigCPtr, this, value); - } - - public boolean getAllSymbolsTransparentForIntersectionLookup() { - return OsmAndCoreJNI.MapRendererDebugSettings_allSymbolsTransparentForIntersectionLookup_get(swigCPtr, this); - } - - public void setShowTooShortOnPathSymbolsRenderablesPaths(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showTooShortOnPathSymbolsRenderablesPaths_set(swigCPtr, this, value); - } - - public boolean getShowTooShortOnPathSymbolsRenderablesPaths() { - return OsmAndCoreJNI.MapRendererDebugSettings_showTooShortOnPathSymbolsRenderablesPaths_get(swigCPtr, this); - } - - public void setShowAllPaths(boolean value) { - OsmAndCoreJNI.MapRendererDebugSettings_showAllPaths_set(swigCPtr, this, value); - } - - public boolean getShowAllPaths() { - return OsmAndCoreJNI.MapRendererDebugSettings_showAllPaths_get(swigCPtr, this); - } - - public void copyTo(MapRendererDebugSettings other) { - OsmAndCoreJNI.MapRendererDebugSettings_copyTo(swigCPtr, this, MapRendererDebugSettings.getCPtr(other), other); - } - - public MapRendererDebugSettings createCopy() { - long cPtr = OsmAndCoreJNI.MapRendererDebugSettings_createCopy(swigCPtr, this); - return (cPtr == 0) ? null : new MapRendererDebugSettings(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapRendererSetupOptions.java b/JNI/src/net/osmand/core/jni/MapRendererSetupOptions.java deleted file mode 100644 index 4aeafcb61f..0000000000 --- a/JNI/src/net/osmand/core/jni/MapRendererSetupOptions.java +++ /dev/null @@ -1,248 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapRendererSetupOptions { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapRendererSetupOptions(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapRendererSetupOptions obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapRendererSetupOptions(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapRendererSetupOptions() { - this(OsmAndCoreJNI.new_MapRendererSetupOptions(), true); - } - - static public class IGpuWorkerThreadPrologue { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected IGpuWorkerThreadPrologue(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IGpuWorkerThreadPrologue obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapRendererSetupOptions_IGpuWorkerThreadPrologue(swigCPtr); - } - swigCPtr = 0; - } - } - - protected void swigDirectorDisconnect() { - swigCMemOwn = false; - delete(); - } - - public void swigReleaseOwnership() { - swigCMemOwn = false; - OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadPrologue_change_ownership(this, swigCPtr, false); - } - - public void swigTakeOwnership() { - swigCMemOwn = true; - OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadPrologue_change_ownership(this, swigCPtr, true); - } - - public IGpuWorkerThreadPrologue() { - this(OsmAndCoreJNI.new_MapRendererSetupOptions_IGpuWorkerThreadPrologue(), true); - OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadPrologue_director_connect(this, swigCPtr, swigCMemOwn, true); - } - - public void method(IMapRenderer mapRenderer) { - OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadPrologue_method(swigCPtr, this, IMapRenderer.getCPtr(mapRenderer), mapRenderer); - } - - public SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue getBinding() { - return new SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue(OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadPrologue_getBinding(swigCPtr, this), true); - } - - } - - static public class IGpuWorkerThreadEpilogue { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected IGpuWorkerThreadEpilogue(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IGpuWorkerThreadEpilogue obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapRendererSetupOptions_IGpuWorkerThreadEpilogue(swigCPtr); - } - swigCPtr = 0; - } - } - - protected void swigDirectorDisconnect() { - swigCMemOwn = false; - delete(); - } - - public void swigReleaseOwnership() { - swigCMemOwn = false; - OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadEpilogue_change_ownership(this, swigCPtr, false); - } - - public void swigTakeOwnership() { - swigCMemOwn = true; - OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadEpilogue_change_ownership(this, swigCPtr, true); - } - - public IGpuWorkerThreadEpilogue() { - this(OsmAndCoreJNI.new_MapRendererSetupOptions_IGpuWorkerThreadEpilogue(), true); - OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadEpilogue_director_connect(this, swigCPtr, swigCMemOwn, true); - } - - public void method(IMapRenderer mapRenderer) { - OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadEpilogue_method(swigCPtr, this, IMapRenderer.getCPtr(mapRenderer), mapRenderer); - } - - public SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue getBinding() { - return new SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue(OsmAndCoreJNI.MapRendererSetupOptions_IGpuWorkerThreadEpilogue_getBinding(swigCPtr, this), true); - } - - } - - public void setGpuWorkerThreadEnabled(boolean value) { - OsmAndCoreJNI.MapRendererSetupOptions_gpuWorkerThreadEnabled_set(swigCPtr, this, value); - } - - public boolean getGpuWorkerThreadEnabled() { - return OsmAndCoreJNI.MapRendererSetupOptions_gpuWorkerThreadEnabled_get(swigCPtr, this); - } - - public void setGpuWorkerThreadPrologue(SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue value) { - OsmAndCoreJNI.MapRendererSetupOptions_gpuWorkerThreadPrologue_set(swigCPtr, this, SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue.getCPtr(value)); - } - - public SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue getGpuWorkerThreadPrologue() { - long cPtr = OsmAndCoreJNI.MapRendererSetupOptions_gpuWorkerThreadPrologue_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue(cPtr, false); - } - - public void setGpuWorkerThreadEpilogue(SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue value) { - OsmAndCoreJNI.MapRendererSetupOptions_gpuWorkerThreadEpilogue_set(swigCPtr, this, SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue.getCPtr(value)); - } - - public SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue getGpuWorkerThreadEpilogue() { - long cPtr = OsmAndCoreJNI.MapRendererSetupOptions_gpuWorkerThreadEpilogue_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue(cPtr, false); - } - - static public class IFrameUpdateRequestCallback { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected IFrameUpdateRequestCallback(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IFrameUpdateRequestCallback obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapRendererSetupOptions_IFrameUpdateRequestCallback(swigCPtr); - } - swigCPtr = 0; - } - } - - protected void swigDirectorDisconnect() { - swigCMemOwn = false; - delete(); - } - - public void swigReleaseOwnership() { - swigCMemOwn = false; - OsmAndCoreJNI.MapRendererSetupOptions_IFrameUpdateRequestCallback_change_ownership(this, swigCPtr, false); - } - - public void swigTakeOwnership() { - swigCMemOwn = true; - OsmAndCoreJNI.MapRendererSetupOptions_IFrameUpdateRequestCallback_change_ownership(this, swigCPtr, true); - } - - public IFrameUpdateRequestCallback() { - this(OsmAndCoreJNI.new_MapRendererSetupOptions_IFrameUpdateRequestCallback(), true); - OsmAndCoreJNI.MapRendererSetupOptions_IFrameUpdateRequestCallback_director_connect(this, swigCPtr, swigCMemOwn, true); - } - - public void method(IMapRenderer mapRenderer) { - OsmAndCoreJNI.MapRendererSetupOptions_IFrameUpdateRequestCallback_method(swigCPtr, this, IMapRenderer.getCPtr(mapRenderer), mapRenderer); - } - - public SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback getBinding() { - return new SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback(OsmAndCoreJNI.MapRendererSetupOptions_IFrameUpdateRequestCallback_getBinding(swigCPtr, this), true); - } - - } - - public void setFrameUpdateRequestCallback(SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback value) { - OsmAndCoreJNI.MapRendererSetupOptions_frameUpdateRequestCallback_set(swigCPtr, this, SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback.getCPtr(value)); - } - - public SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback getFrameUpdateRequestCallback() { - long cPtr = OsmAndCoreJNI.MapRendererSetupOptions_frameUpdateRequestCallback_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback(cPtr, false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapRendererState.java b/JNI/src/net/osmand/core/jni/MapRendererState.java deleted file mode 100644 index 37405bd2a2..0000000000 --- a/JNI/src/net/osmand/core/jni/MapRendererState.java +++ /dev/null @@ -1,209 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapRendererState { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected MapRendererState(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapRendererState obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapRendererState(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapRendererState() { - this(OsmAndCoreJNI.new_MapRendererState(), true); - } - - public void setRasterLayerProviders(SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t value) { - OsmAndCoreJNI.MapRendererState_rasterLayerProviders_set(swigCPtr, this, SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t.getCPtr(value)); - } - - public SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t getRasterLayerProviders() { - return new SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t(OsmAndCoreJNI.MapRendererState_rasterLayerProviders_get(swigCPtr, this), true); - } - - public void setRasterLayerOpacity(SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t value) { - OsmAndCoreJNI.MapRendererState_rasterLayerOpacity_set(swigCPtr, this, SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t.getCPtr(value)); - } - - public SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t getRasterLayerOpacity() { - return new SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t(OsmAndCoreJNI.MapRendererState_rasterLayerOpacity_get(swigCPtr, this), true); - } - - public void setElevationDataProvider(IMapElevationDataProvider value) { - OsmAndCoreJNI.MapRendererState_elevationDataProvider_set(swigCPtr, this, IMapElevationDataProvider.getCPtr(value), value); - } - - public IMapElevationDataProvider getElevationDataProvider() { - long cPtr = OsmAndCoreJNI.MapRendererState_elevationDataProvider_get(swigCPtr, this); - return (cPtr == 0) ? null : new IMapElevationDataProvider(cPtr, true); - } - - public void setElevationDataScaleFactor(float value) { - OsmAndCoreJNI.MapRendererState_elevationDataScaleFactor_set(swigCPtr, this, value); - } - - public float getElevationDataScaleFactor() { - return OsmAndCoreJNI.MapRendererState_elevationDataScaleFactor_get(swigCPtr, this); - } - - public void setSymbolProviders(SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t value) { - OsmAndCoreJNI.MapRendererState_symbolProviders_set(swigCPtr, this, SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t getSymbolProviders() { - long cPtr = OsmAndCoreJNI.MapRendererState_symbolProviders_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t(cPtr, false); - } - - public void setWindowSize(PointI value) { - OsmAndCoreJNI.MapRendererState_windowSize_set(swigCPtr, this, PointI.getCPtr(value), value); - } - - public PointI getWindowSize() { - long cPtr = OsmAndCoreJNI.MapRendererState_windowSize_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - public void setViewport(AreaI value) { - OsmAndCoreJNI.MapRendererState_viewport_set(swigCPtr, this, AreaI.getCPtr(value), value); - } - - public AreaI getViewport() { - long cPtr = OsmAndCoreJNI.MapRendererState_viewport_get(swigCPtr, this); - return (cPtr == 0) ? null : new AreaI(cPtr, false); - } - - public void setFieldOfView(float value) { - OsmAndCoreJNI.MapRendererState_fieldOfView_set(swigCPtr, this, value); - } - - public float getFieldOfView() { - return OsmAndCoreJNI.MapRendererState_fieldOfView_get(swigCPtr, this); - } - - public void setSkyColor(FColorRGB value) { - OsmAndCoreJNI.MapRendererState_skyColor_set(swigCPtr, this, FColorRGB.getCPtr(value), value); - } - - public FColorRGB getSkyColor() { - long cPtr = OsmAndCoreJNI.MapRendererState_skyColor_get(swigCPtr, this); - return (cPtr == 0) ? null : new FColorRGB(cPtr, false); - } - - public void setFogColor(FColorRGB value) { - OsmAndCoreJNI.MapRendererState_fogColor_set(swigCPtr, this, FColorRGB.getCPtr(value), value); - } - - public FColorRGB getFogColor() { - long cPtr = OsmAndCoreJNI.MapRendererState_fogColor_get(swigCPtr, this); - return (cPtr == 0) ? null : new FColorRGB(cPtr, false); - } - - public void setFogDistance(float value) { - OsmAndCoreJNI.MapRendererState_fogDistance_set(swigCPtr, this, value); - } - - public float getFogDistance() { - return OsmAndCoreJNI.MapRendererState_fogDistance_get(swigCPtr, this); - } - - public void setFogOriginFactor(float value) { - OsmAndCoreJNI.MapRendererState_fogOriginFactor_set(swigCPtr, this, value); - } - - public float getFogOriginFactor() { - return OsmAndCoreJNI.MapRendererState_fogOriginFactor_get(swigCPtr, this); - } - - public void setFogHeightOriginFactor(float value) { - OsmAndCoreJNI.MapRendererState_fogHeightOriginFactor_set(swigCPtr, this, value); - } - - public float getFogHeightOriginFactor() { - return OsmAndCoreJNI.MapRendererState_fogHeightOriginFactor_get(swigCPtr, this); - } - - public void setFogDensity(float value) { - OsmAndCoreJNI.MapRendererState_fogDensity_set(swigCPtr, this, value); - } - - public float getFogDensity() { - return OsmAndCoreJNI.MapRendererState_fogDensity_get(swigCPtr, this); - } - - public void setAzimuth(float value) { - OsmAndCoreJNI.MapRendererState_azimuth_set(swigCPtr, this, value); - } - - public float getAzimuth() { - return OsmAndCoreJNI.MapRendererState_azimuth_get(swigCPtr, this); - } - - public void setElevationAngle(float value) { - OsmAndCoreJNI.MapRendererState_elevationAngle_set(swigCPtr, this, value); - } - - public float getElevationAngle() { - return OsmAndCoreJNI.MapRendererState_elevationAngle_get(swigCPtr, this); - } - - public void setTarget31(PointI value) { - OsmAndCoreJNI.MapRendererState_target31_set(swigCPtr, this, PointI.getCPtr(value), value); - } - - public PointI getTarget31() { - long cPtr = OsmAndCoreJNI.MapRendererState_target31_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - public void setRequestedZoom(float value) { - OsmAndCoreJNI.MapRendererState_requestedZoom_set(swigCPtr, this, value); - } - - public float getRequestedZoom() { - return OsmAndCoreJNI.MapRendererState_requestedZoom_get(swigCPtr, this); - } - - public void setZoomBase(ZoomLevel value) { - OsmAndCoreJNI.MapRendererState_zoomBase_set(swigCPtr, this, value.swigValue()); - } - - public ZoomLevel getZoomBase() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.MapRendererState_zoomBase_get(swigCPtr, this)); - } - - public void setZoomFraction(float value) { - OsmAndCoreJNI.MapRendererState_zoomFraction_set(swigCPtr, this, value); - } - - public float getZoomFraction() { - return OsmAndCoreJNI.MapRendererState_zoomFraction_get(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapRendererStateChange.java b/JNI/src/net/osmand/core/jni/MapRendererStateChange.java deleted file mode 100644 index 5d30213be7..0000000000 --- a/JNI/src/net/osmand/core/jni/MapRendererStateChange.java +++ /dev/null @@ -1,64 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum MapRendererStateChange { - RasterLayers_Providers(OsmAndCoreJNI.MapRendererStateChange_RasterLayers_Providers_get()), - RasterLayers_Opacity, - ElevationData_Provider, - ElevationData_ScaleFactor, - Symbols_Providers, - WindowSize, - Viewport, - FieldOfView, - SkyColor, - FogParameters, - Azimuth, - ElevationAngle, - Target, - Zoom; - - public final int swigValue() { - return swigValue; - } - - public static MapRendererStateChange swigToEnum(int swigValue) { - MapRendererStateChange[] swigValues = MapRendererStateChange.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (MapRendererStateChange swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + MapRendererStateChange.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private MapRendererStateChange() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private MapRendererStateChange(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private MapRendererStateChange(MapRendererStateChange swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/MapRendererStateChanges.java b/JNI/src/net/osmand/core/jni/MapRendererStateChanges.java deleted file mode 100644 index 691d2bbb88..0000000000 --- a/JNI/src/net/osmand/core/jni/MapRendererStateChanges.java +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapRendererStateChanges { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected MapRendererStateChanges(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapRendererStateChanges obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapRendererStateChanges(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapRendererStateChanges() { - this(OsmAndCoreJNI.new_MapRendererStateChanges__SWIG_0(), true); - } - - public MapRendererStateChanges(long storage_) { - this(OsmAndCoreJNI.new_MapRendererStateChanges__SWIG_1(storage_), true); - } - - public MapRendererStateChanges(SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT that) { - this(OsmAndCoreJNI.new_MapRendererStateChanges__SWIG_2(SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT.getCPtr(that)), true); - } - - public boolean isSet(MapRendererStateChange flag) { - return OsmAndCoreJNI.MapRendererStateChanges_isSet(swigCPtr, this, flag.swigValue()); - } - - public SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT set(MapRendererStateChange flag) { - return new SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT(OsmAndCoreJNI.MapRendererStateChanges_set(swigCPtr, this, flag.swigValue()), false); - } - - public SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT unset(MapRendererStateChange flag) { - return new SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT(OsmAndCoreJNI.MapRendererStateChanges_unset(swigCPtr, this, flag.swigValue()), false); - } - - public SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT unite(SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT otherMask) { - return new SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT(OsmAndCoreJNI.MapRendererStateChanges_unite(swigCPtr, this, SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT.getCPtr(otherMask)), false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapStyleBuiltinValueDefinitions.java b/JNI/src/net/osmand/core/jni/MapStyleBuiltinValueDefinitions.java deleted file mode 100644 index 0d49aeb908..0000000000 --- a/JNI/src/net/osmand/core/jni/MapStyleBuiltinValueDefinitions.java +++ /dev/null @@ -1,82 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapStyleBuiltinValueDefinitions { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapStyleBuiltinValueDefinitions(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapStyleBuiltinValueDefinitions obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapStyleBuiltinValueDefinitions(swigCPtr); - } - swigCPtr = 0; - } - } - - static public class MapStyleBuiltinValueDefinition extends MapStyleValueDefinition { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected MapStyleBuiltinValueDefinition(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.MapStyleBuiltinValueDefinitions_MapStyleBuiltinValueDefinition_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapStyleBuiltinValueDefinition obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_MapStyleBuiltinValueDefinitions_MapStyleBuiltinValueDefinition(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public int getId() { - return OsmAndCoreJNI.MapStyleBuiltinValueDefinitions_MapStyleBuiltinValueDefinition_id_get(swigCPtr, this); - } - - } - - public static MapStyleBuiltinValueDefinitions get() { - long cPtr = OsmAndCoreJNI.MapStyleBuiltinValueDefinitions_get(); - return (cPtr == 0) ? null : new MapStyleBuiltinValueDefinitions(cPtr, true); - } - - public int getLastBuiltinValueDefinitionId() { - return OsmAndCoreJNI.MapStyleBuiltinValueDefinitions_lastBuiltinValueDefinitionId_get(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapStyleConstantValue.java b/JNI/src/net/osmand/core/jni/MapStyleConstantValue.java deleted file mode 100644 index 70a29a4d29..0000000000 --- a/JNI/src/net/osmand/core/jni/MapStyleConstantValue.java +++ /dev/null @@ -1,62 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapStyleConstantValue { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapStyleConstantValue(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapStyleConstantValue obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapStyleConstantValue(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapStyleConstantValue() { - this(OsmAndCoreJNI.new_MapStyleConstantValue(), true); - } - - public void setIsComplex(boolean value) { - OsmAndCoreJNI.MapStyleConstantValue_isComplex_set(swigCPtr, this, value); - } - - public boolean getIsComplex() { - return OsmAndCoreJNI.MapStyleConstantValue_isComplex_get(swigCPtr, this); - } - - public static boolean parse(String input, MapStyleValueDataType dataType, boolean isComplex, MapStyleConstantValue outValue) { - return OsmAndCoreJNI.MapStyleConstantValue_parse(input, dataType.swigValue(), isComplex, MapStyleConstantValue.getCPtr(outValue), outValue); - } - - public static MapStyleConstantValue fromSimpleUInt(long input) { - return new MapStyleConstantValue(OsmAndCoreJNI.MapStyleConstantValue_fromSimpleUInt(input), true); - } - - public String toString(MapStyleValueDataType dataType) { - return OsmAndCoreJNI.MapStyleConstantValue_toString(swigCPtr, this, dataType.swigValue()); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapStylePreset.java b/JNI/src/net/osmand/core/jni/MapStylePreset.java deleted file mode 100644 index 5d7f711c97..0000000000 --- a/JNI/src/net/osmand/core/jni/MapStylePreset.java +++ /dev/null @@ -1,108 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapStylePreset { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapStylePreset(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapStylePreset obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapStylePreset(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapStylePreset(MapStylePreset.Type type, String name, String styleName) { - this(OsmAndCoreJNI.new_MapStylePreset(type.swigValue(), name, styleName), true); - } - - public MapStylePreset.Type getType() { - return MapStylePreset.Type.swigToEnum(OsmAndCoreJNI.MapStylePreset_type_get(swigCPtr, this)); - } - - public String getName() { - return OsmAndCoreJNI.MapStylePreset_name_get(swigCPtr, this); - } - - public String getStyleName() { - return OsmAndCoreJNI.MapStylePreset_styleName_get(swigCPtr, this); - } - - public void setAttributes(SWIGTYPE_p_QHashT_QString_QString_t value) { - OsmAndCoreJNI.MapStylePreset_attributes_set(swigCPtr, this, SWIGTYPE_p_QHashT_QString_QString_t.getCPtr(value)); - } - - public SWIGTYPE_p_QHashT_QString_QString_t getAttributes() { - long cPtr = OsmAndCoreJNI.MapStylePreset_attributes_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QHashT_QString_QString_t(cPtr, false); - } - - public enum Type { - General, - Pedestrian, - Bicycle, - Car, - Custom; - - public final int swigValue() { - return swigValue; - } - - public static Type swigToEnum(int swigValue) { - Type[] swigValues = Type.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (Type swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + Type.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private Type() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private Type(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private Type(Type swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapStyleRulesetType.java b/JNI/src/net/osmand/core/jni/MapStyleRulesetType.java deleted file mode 100644 index 8f0941b321..0000000000 --- a/JNI/src/net/osmand/core/jni/MapStyleRulesetType.java +++ /dev/null @@ -1,57 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum MapStyleRulesetType { - Invalid(OsmAndCoreJNI.MapStyleRulesetType_Invalid_get()), - Point, - Polyline, - Polygon, - Text, - Order, - __LAST; - - public final int swigValue() { - return swigValue; - } - - public static MapStyleRulesetType swigToEnum(int swigValue) { - MapStyleRulesetType[] swigValues = MapStyleRulesetType.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (MapStyleRulesetType swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + MapStyleRulesetType.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private MapStyleRulesetType() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private MapStyleRulesetType(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private MapStyleRulesetType(MapStyleRulesetType swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/MapStyleValueDataType.java b/JNI/src/net/osmand/core/jni/MapStyleValueDataType.java deleted file mode 100644 index 9712d2d144..0000000000 --- a/JNI/src/net/osmand/core/jni/MapStyleValueDataType.java +++ /dev/null @@ -1,55 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum MapStyleValueDataType { - Boolean, - Integer, - Float, - String, - Color; - - public final int swigValue() { - return swigValue; - } - - public static MapStyleValueDataType swigToEnum(int swigValue) { - MapStyleValueDataType[] swigValues = MapStyleValueDataType.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (MapStyleValueDataType swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + MapStyleValueDataType.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private MapStyleValueDataType() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private MapStyleValueDataType(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private MapStyleValueDataType(MapStyleValueDataType swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/MapStyleValueDefinition.java b/JNI/src/net/osmand/core/jni/MapStyleValueDefinition.java deleted file mode 100644 index 9999f16de5..0000000000 --- a/JNI/src/net/osmand/core/jni/MapStyleValueDefinition.java +++ /dev/null @@ -1,100 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapStyleValueDefinition { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapStyleValueDefinition(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapStyleValueDefinition obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapStyleValueDefinition(swigCPtr); - } - swigCPtr = 0; - } - } - - public MapStyleValueDefinition(MapStyleValueDefinition.Class valueClass, MapStyleValueDataType dataType, String name, boolean isComplex) { - this(OsmAndCoreJNI.new_MapStyleValueDefinition(valueClass.swigValue(), dataType.swigValue(), name, isComplex), true); - } - - public MapStyleValueDefinition.Class getValueClass() { - return MapStyleValueDefinition.Class.swigToEnum(OsmAndCoreJNI.MapStyleValueDefinition_valueClass_get(swigCPtr, this)); - } - - public MapStyleValueDataType getDataType() { - return MapStyleValueDataType.swigToEnum(OsmAndCoreJNI.MapStyleValueDefinition_dataType_get(swigCPtr, this)); - } - - public String getName() { - return OsmAndCoreJNI.MapStyleValueDefinition_name_get(swigCPtr, this); - } - - public boolean getIsComplex() { - return OsmAndCoreJNI.MapStyleValueDefinition_isComplex_get(swigCPtr, this); - } - - public enum Class { - Input, - Output; - - public final int swigValue() { - return swigValue; - } - - public static Class swigToEnum(int swigValue) { - Class[] swigValues = Class.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (Class swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + Class.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private Class() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private Class(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private Class(Class swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapStylesCollection.java b/JNI/src/net/osmand/core/jni/MapStylesCollection.java deleted file mode 100644 index c30839a348..0000000000 --- a/JNI/src/net/osmand/core/jni/MapStylesCollection.java +++ /dev/null @@ -1,61 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapStylesCollection extends IMapStylesCollection { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected MapStylesCollection(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.MapStylesCollection_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapStylesCollection obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_MapStylesCollection(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public MapStylesCollection() { - this(OsmAndCoreJNI.new_MapStylesCollection(), true); - } - - public boolean addStyleFromFile(String filePath) { - return OsmAndCoreJNI.MapStylesCollection_addStyleFromFile(swigCPtr, this, filePath); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t getCollection() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t(OsmAndCoreJNI.MapStylesCollection_getCollection(swigCPtr, this), true); - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t getStyleByName(String name) { - return new SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t(OsmAndCoreJNI.MapStylesCollection_getStyleByName(swigCPtr, this, name), true); - } - - public ResolvedMapStyle getResolvedStyleByName(String name) { - long cPtr = OsmAndCoreJNI.MapStylesCollection_getResolvedStyleByName(swigCPtr, this, name); - return (cPtr == 0) ? null : new ResolvedMapStyle(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapStylesPresetsCollection.java b/JNI/src/net/osmand/core/jni/MapStylesPresetsCollection.java deleted file mode 100644 index 718daa0731..0000000000 --- a/JNI/src/net/osmand/core/jni/MapStylesPresetsCollection.java +++ /dev/null @@ -1,85 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapStylesPresetsCollection extends IMapStylesPresetsCollection { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected MapStylesPresetsCollection(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.MapStylesPresetsCollection_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapStylesPresetsCollection obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_MapStylesPresetsCollection(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public MapStylesPresetsCollection() { - this(OsmAndCoreJNI.new_MapStylesPresetsCollection(), true); - } - - public boolean loadFrom(SWIGTYPE_p_QByteArray content) { - return OsmAndCoreJNI.MapStylesPresetsCollection_loadFrom__SWIG_0(swigCPtr, this, SWIGTYPE_p_QByteArray.getCPtr(content)); - } - - public boolean loadFrom(SWIGTYPE_p_QIODevice ioDevice) { - return OsmAndCoreJNI.MapStylesPresetsCollection_loadFrom__SWIG_1(swigCPtr, this, SWIGTYPE_p_QIODevice.getCPtr(ioDevice)); - } - - public boolean loadFrom(String fileName) { - return OsmAndCoreJNI.MapStylesPresetsCollection_loadFrom__SWIG_2(swigCPtr, this, fileName); - } - - public boolean saveTo(SWIGTYPE_p_QIODevice ioDevice) { - return OsmAndCoreJNI.MapStylesPresetsCollection_saveTo__SWIG_0(swigCPtr, this, SWIGTYPE_p_QIODevice.getCPtr(ioDevice)); - } - - public boolean saveTo(String fileName) { - return OsmAndCoreJNI.MapStylesPresetsCollection_saveTo__SWIG_1(swigCPtr, this, fileName); - } - - public boolean addPreset(MapStylePreset preset) { - return OsmAndCoreJNI.MapStylesPresetsCollection_addPreset(swigCPtr, this, MapStylePreset.getCPtr(preset), preset); - } - - public boolean removePreset(MapStylePreset preset) { - return OsmAndCoreJNI.MapStylesPresetsCollection_removePreset(swigCPtr, this, MapStylePreset.getCPtr(preset), preset); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t getCollection() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t(OsmAndCoreJNI.MapStylesPresetsCollection_getCollection__SWIG_0(swigCPtr, this), true); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t getCollectionFor(String styleName) { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t(OsmAndCoreJNI.MapStylesPresetsCollection_getCollectionFor__SWIG_0(swigCPtr, this, styleName), true); - } - - public MapStylePreset getPreset(String styleName, String presetName) { - long cPtr = OsmAndCoreJNI.MapStylesPresetsCollection_getPreset__SWIG_0(swigCPtr, this, styleName, presetName); - return (cPtr == 0) ? null : new MapStylePreset(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapSymbol.java b/JNI/src/net/osmand/core/jni/MapSymbol.java deleted file mode 100644 index 2f4b46d54e..0000000000 --- a/JNI/src/net/osmand/core/jni/MapSymbol.java +++ /dev/null @@ -1,136 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapSymbol { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapSymbol(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapSymbol obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapSymbol(swigCPtr); - } - swigCPtr = 0; - } - } - - public SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t getGroup() { - long cPtr = OsmAndCoreJNI.MapSymbol_group_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t(cPtr, false); - } - - public MapSymbolsGroup getGroupPtr() { - long cPtr = OsmAndCoreJNI.MapSymbol_groupPtr_get(swigCPtr, this); - return (cPtr == 0) ? null : new MapSymbolsGroup(cPtr, true); - } - - public boolean getIsShareable() { - return OsmAndCoreJNI.MapSymbol_isShareable_get(swigCPtr, this); - } - - public void setOrder(int value) { - OsmAndCoreJNI.MapSymbol_order_set(swigCPtr, this, value); - } - - public int getOrder() { - return OsmAndCoreJNI.MapSymbol_order_get(swigCPtr, this); - } - - public void setContentClass(MapSymbol.ContentClass value) { - OsmAndCoreJNI.MapSymbol_contentClass_set(swigCPtr, this, value.swigValue()); - } - - public MapSymbol.ContentClass getContentClass() { - return MapSymbol.ContentClass.swigToEnum(OsmAndCoreJNI.MapSymbol_contentClass_get(swigCPtr, this)); - } - - public void setIntersectsWithClasses(SWIGTYPE_p_QSetT_int_t value) { - OsmAndCoreJNI.MapSymbol_intersectsWithClasses_set(swigCPtr, this, SWIGTYPE_p_QSetT_int_t.getCPtr(value)); - } - - public SWIGTYPE_p_QSetT_int_t getIntersectsWithClasses() { - return new SWIGTYPE_p_QSetT_int_t(OsmAndCoreJNI.MapSymbol_intersectsWithClasses_get(swigCPtr, this), true); - } - - public void setIsHidden(boolean value) { - OsmAndCoreJNI.MapSymbol_isHidden_set(swigCPtr, this, value); - } - - public boolean getIsHidden() { - return OsmAndCoreJNI.MapSymbol_isHidden_get(swigCPtr, this); - } - - public void setModulationColor(FColorARGB value) { - OsmAndCoreJNI.MapSymbol_modulationColor_set(swigCPtr, this, FColorARGB.getCPtr(value), value); - } - - public FColorARGB getModulationColor() { - long cPtr = OsmAndCoreJNI.MapSymbol_modulationColor_get(swigCPtr, this); - return (cPtr == 0) ? null : new FColorARGB(cPtr, false); - } - - public enum ContentClass { - Unknown(OsmAndCoreJNI.MapSymbol_ContentClass_Unknown_get()), - Icon, - Caption; - - public final int swigValue() { - return swigValue; - } - - public static ContentClass swigToEnum(int swigValue) { - ContentClass[] swigValues = ContentClass.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (ContentClass swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + ContentClass.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private ContentClass() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private ContentClass(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private ContentClass(ContentClass swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapSymbolsGroup.java b/JNI/src/net/osmand/core/jni/MapSymbolsGroup.java deleted file mode 100644 index 408659e68b..0000000000 --- a/JNI/src/net/osmand/core/jni/MapSymbolsGroup.java +++ /dev/null @@ -1,461 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapSymbolsGroup { - private long swigCPtr; - private boolean swigCMemOwn; - - protected MapSymbolsGroup(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapSymbolsGroup obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapSymbolsGroup(swigCPtr); - } - swigCPtr = 0; - } - } - - static public class AdditionalInstance { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected AdditionalInstance(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(AdditionalInstance obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapSymbolsGroup_AdditionalInstance(swigCPtr); - } - swigCPtr = 0; - } - } - - public AdditionalInstance(MapSymbolsGroup originalGroup) { - this(OsmAndCoreJNI.new_MapSymbolsGroup_AdditionalInstance(MapSymbolsGroup.getCPtr(originalGroup), originalGroup), true); - } - - public SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t getOriginalGroup() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_AdditionalInstance_originalGroup_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t(cPtr, false); - } - - public void setSymbols(SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalInstance_symbols_set(swigCPtr, this, SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t getSymbols() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_AdditionalInstance_symbols_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t(cPtr, false); - } - - public MapSymbol getFirstSymbolWithContentClass(MapSymbol.ContentClass contentClass) { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_AdditionalInstance_getFirstSymbolWithContentClass(swigCPtr, this, contentClass.swigValue()); - return (cPtr == 0) ? null : new MapSymbol(cPtr, true); - } - - public long numberOfSymbolsWithContentClass(MapSymbol.ContentClass contentClass) { - return OsmAndCoreJNI.MapSymbolsGroup_AdditionalInstance_numberOfSymbolsWithContentClass(swigCPtr, this, contentClass.swigValue()); - } - - } - - static public class AdditionalSymbolInstanceParameters { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected AdditionalSymbolInstanceParameters(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(AdditionalSymbolInstanceParameters obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapSymbolsGroup_AdditionalSymbolInstanceParameters(swigCPtr); - } - swigCPtr = 0; - } - } - - public AdditionalSymbolInstanceParameters(MapSymbolsGroup.AdditionalInstance groupInstancePtr) { - this(OsmAndCoreJNI.new_MapSymbolsGroup_AdditionalSymbolInstanceParameters(MapSymbolsGroup.AdditionalInstance.getCPtr(groupInstancePtr), groupInstancePtr), true); - } - - public MapSymbolsGroup.AdditionalInstance getGroupInstancePtr() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_AdditionalSymbolInstanceParameters_groupInstancePtr_get(swigCPtr, this); - return (cPtr == 0) ? null : new MapSymbolsGroup.AdditionalInstance(cPtr, false); - } - - } - - static public class AdditionalBillboardSymbolInstanceParameters extends MapSymbolsGroup.AdditionalSymbolInstanceParameters { - private long swigCPtr; - - protected AdditionalBillboardSymbolInstanceParameters(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - protected static long getCPtr(AdditionalBillboardSymbolInstanceParameters obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public AdditionalBillboardSymbolInstanceParameters(MapSymbolsGroup.AdditionalInstance groupInstancePtr) { - this(OsmAndCoreJNI.new_MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters(MapSymbolsGroup.AdditionalInstance.getCPtr(groupInstancePtr), groupInstancePtr), true); - } - - public void setOverridesPosition31(boolean value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_overridesPosition31_set(swigCPtr, this, value); - } - - public boolean getOverridesPosition31() { - return OsmAndCoreJNI.MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_overridesPosition31_get(swigCPtr, this); - } - - public void setPosition31(PointI value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_position31_set(swigCPtr, this, PointI.getCPtr(value), value); - } - - public PointI getPosition31() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_position31_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - public void setOverridesOffset(boolean value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_overridesOffset_set(swigCPtr, this, value); - } - - public boolean getOverridesOffset() { - return OsmAndCoreJNI.MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_overridesOffset_get(swigCPtr, this); - } - - public void setOffset(PointI value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_offset_set(swigCPtr, this, PointI.getCPtr(value), value); - } - - public PointI getOffset() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_offset_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - } - - static public class AdditionalOnSurfaceSymbolInstanceParameters extends MapSymbolsGroup.AdditionalSymbolInstanceParameters { - private long swigCPtr; - - protected AdditionalOnSurfaceSymbolInstanceParameters(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - protected static long getCPtr(AdditionalOnSurfaceSymbolInstanceParameters obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public AdditionalOnSurfaceSymbolInstanceParameters(MapSymbolsGroup.AdditionalInstance groupInstancePtr) { - this(OsmAndCoreJNI.new_MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters(MapSymbolsGroup.AdditionalInstance.getCPtr(groupInstancePtr), groupInstancePtr), true); - } - - public void setOverridesPosition31(boolean value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_overridesPosition31_set(swigCPtr, this, value); - } - - public boolean getOverridesPosition31() { - return OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_overridesPosition31_get(swigCPtr, this); - } - - public void setPosition31(PointI value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_position31_set(swigCPtr, this, PointI.getCPtr(value), value); - } - - public PointI getPosition31() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_position31_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - public void setOverridesDirection(boolean value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_overridesDirection_set(swigCPtr, this, value); - } - - public boolean getOverridesDirection() { - return OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_overridesDirection_get(swigCPtr, this); - } - - public void setDirection(float value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_direction_set(swigCPtr, this, value); - } - - public float getDirection() { - return OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_direction_get(swigCPtr, this); - } - - } - - static public class AdditionalOnPathSymbolInstanceParameters extends MapSymbolsGroup.AdditionalSymbolInstanceParameters { - private long swigCPtr; - - protected AdditionalOnPathSymbolInstanceParameters(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - protected static long getCPtr(AdditionalOnPathSymbolInstanceParameters obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public AdditionalOnPathSymbolInstanceParameters(MapSymbolsGroup.AdditionalInstance groupInstancePtr) { - this(OsmAndCoreJNI.new_MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters(MapSymbolsGroup.AdditionalInstance.getCPtr(groupInstancePtr), groupInstancePtr), true); - } - - public void setOverridesPinPointOnPath(boolean value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_overridesPinPointOnPath_set(swigCPtr, this, value); - } - - public boolean getOverridesPinPointOnPath() { - return OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_overridesPinPointOnPath_get(swigCPtr, this); - } - - public void setPinPointOnPath(SWIGTYPE_p_IOnPathMapSymbol__PinPoint value) { - OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_pinPointOnPath_set(swigCPtr, this, SWIGTYPE_p_IOnPathMapSymbol__PinPoint.getCPtr(value)); - } - - public SWIGTYPE_p_IOnPathMapSymbol__PinPoint getPinPointOnPath() { - return new SWIGTYPE_p_IOnPathMapSymbol__PinPoint(OsmAndCoreJNI.MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_pinPointOnPath_get(swigCPtr, this), true); - } - - } - - public MapSymbolsGroup() { - this(OsmAndCoreJNI.new_MapSymbolsGroup(), true); - } - - public void setPresentationMode(SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t value) { - OsmAndCoreJNI.MapSymbolsGroup_presentationMode_set(swigCPtr, this, SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t.getCPtr(value)); - } - - public SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t getPresentationMode() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_presentationMode_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t(cPtr, false); - } - - public void setIntersectionProcessingMode(SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t value) { - OsmAndCoreJNI.MapSymbolsGroup_intersectionProcessingMode_set(swigCPtr, this, SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t.getCPtr(value)); - } - - public SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t getIntersectionProcessingMode() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_intersectionProcessingMode_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t(cPtr, false); - } - - public void setSymbols(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t value) { - OsmAndCoreJNI.MapSymbolsGroup_symbols_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t getSymbols() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_symbols_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t(cPtr, false); - } - - public MapSymbol getFirstSymbolWithContentClass(MapSymbol.ContentClass contentClass) { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_getFirstSymbolWithContentClass(swigCPtr, this, contentClass.swigValue()); - return (cPtr == 0) ? null : new MapSymbol(cPtr, true); - } - - public long numberOfSymbolsWithContentClass(MapSymbol.ContentClass contentClass) { - return OsmAndCoreJNI.MapSymbolsGroup_numberOfSymbolsWithContentClass(swigCPtr, this, contentClass.swigValue()); - } - - public String getDebugTitle() { - return OsmAndCoreJNI.MapSymbolsGroup_getDebugTitle(swigCPtr, this); - } - - public void setAdditionalInstancesDiscardOriginal(boolean value) { - OsmAndCoreJNI.MapSymbolsGroup_additionalInstancesDiscardOriginal_set(swigCPtr, this, value); - } - - public boolean getAdditionalInstancesDiscardOriginal() { - return OsmAndCoreJNI.MapSymbolsGroup_additionalInstancesDiscardOriginal_get(swigCPtr, this); - } - - public void setAdditionalInstances(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t value) { - OsmAndCoreJNI.MapSymbolsGroup_additionalInstances_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t getAdditionalInstances() { - long cPtr = OsmAndCoreJNI.MapSymbolsGroup_additionalInstances_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t(cPtr, false); - } - - public enum PresentationModeFlag { - ShowAnything(OsmAndCoreJNI.MapSymbolsGroup_PresentationModeFlag_ShowAnything_get()), - ShowAllOrNothing, - ShowAllCaptionsOrNoCaptions, - ShowNoneIfIconIsNotShown, - CheckIntersectionsWithinGroup; - - public final int swigValue() { - return swigValue; - } - - public static PresentationModeFlag swigToEnum(int swigValue) { - PresentationModeFlag[] swigValues = PresentationModeFlag.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (PresentationModeFlag swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + PresentationModeFlag.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private PresentationModeFlag() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private PresentationModeFlag(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private PresentationModeFlag(PresentationModeFlag swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - - public enum IntersectionProcessingModeFlag { - CheckIntersectionsWithinGroup(OsmAndCoreJNI.MapSymbolsGroup_IntersectionProcessingModeFlag_CheckIntersectionsWithinGroup_get()); - - public final int swigValue() { - return swigValue; - } - - public static IntersectionProcessingModeFlag swigToEnum(int swigValue) { - IntersectionProcessingModeFlag[] swigValues = IntersectionProcessingModeFlag.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (IntersectionProcessingModeFlag swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + IntersectionProcessingModeFlag.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private IntersectionProcessingModeFlag() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private IntersectionProcessingModeFlag(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private IntersectionProcessingModeFlag(IntersectionProcessingModeFlag swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - -} diff --git a/JNI/src/net/osmand/core/jni/MapTiledData.java b/JNI/src/net/osmand/core/jni/MapTiledData.java deleted file mode 100644 index d521a9f702..0000000000 --- a/JNI/src/net/osmand/core/jni/MapTiledData.java +++ /dev/null @@ -1,49 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class MapTiledData extends MapData { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected MapTiledData(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.MapTiledData_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapTiledData obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_MapTiledData(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public TileId getTileId() { - long cPtr = OsmAndCoreJNI.MapTiledData_tileId_get(swigCPtr, this); - return (cPtr == 0) ? null : new TileId(cPtr, false); - } - - public ZoomLevel getZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.MapTiledData_zoom_get(swigCPtr, this)); - } - -} diff --git a/JNI/src/net/osmand/core/jni/OOBBD.java b/JNI/src/net/osmand/core/jni/OOBBD.java deleted file mode 100644 index aaf5fd2081..0000000000 --- a/JNI/src/net/osmand/core/jni/OOBBD.java +++ /dev/null @@ -1,74 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class OOBBD { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected OOBBD(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(OOBBD obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_OOBBD(swigCPtr); - } - swigCPtr = 0; - } - } - - public OOBBD() { - this(OsmAndCoreJNI.new_OOBBD__SWIG_0(), true); - } - - public OOBBD(AreaD bboxInObjectSpace_, float rotation_) { - this(OsmAndCoreJNI.new_OOBBD__SWIG_1(AreaD.getCPtr(bboxInObjectSpace_), bboxInObjectSpace_, rotation_), true); - } - - public boolean contains(OOBBD that) { - return OsmAndCoreJNI.OOBBD_contains__SWIG_0(swigCPtr, this, OOBBD.getCPtr(that), that); - } - - public boolean intersects(OOBBD that) { - return OsmAndCoreJNI.OOBBD_intersects__SWIG_0(swigCPtr, this, OOBBD.getCPtr(that), that); - } - - public boolean contains(AreaD area) { - return OsmAndCoreJNI.OOBBD_contains__SWIG_1(swigCPtr, this, AreaD.getCPtr(area), area); - } - - public boolean contains(PointD point) { - return OsmAndCoreJNI.OOBBD_contains__SWIG_2(swigCPtr, this, PointD.getCPtr(point), point); - } - - public boolean intersects(AreaD that) { - return OsmAndCoreJNI.OOBBD_intersects__SWIG_1(swigCPtr, this, AreaD.getCPtr(that), that); - } - - public OOBBD getEnlargedBy(PointD delta) { - return new OOBBD(OsmAndCoreJNI.OOBBD_getEnlargedBy__SWIG_0(swigCPtr, this, PointD.getCPtr(delta), delta), true); - } - - public OOBBD getEnlargedBy(double dt, double dl, double db, double dr) { - return new OOBBD(OsmAndCoreJNI.OOBBD_getEnlargedBy__SWIG_1(swigCPtr, this, dt, dl, db, dr), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/OOBBF.java b/JNI/src/net/osmand/core/jni/OOBBF.java deleted file mode 100644 index bd3eaa570c..0000000000 --- a/JNI/src/net/osmand/core/jni/OOBBF.java +++ /dev/null @@ -1,74 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class OOBBF { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected OOBBF(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(OOBBF obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_OOBBF(swigCPtr); - } - swigCPtr = 0; - } - } - - public OOBBF() { - this(OsmAndCoreJNI.new_OOBBF__SWIG_0(), true); - } - - public OOBBF(AreaF bboxInObjectSpace_, float rotation_) { - this(OsmAndCoreJNI.new_OOBBF__SWIG_1(AreaF.getCPtr(bboxInObjectSpace_), bboxInObjectSpace_, rotation_), true); - } - - public boolean contains(OOBBF that) { - return OsmAndCoreJNI.OOBBF_contains__SWIG_0(swigCPtr, this, OOBBF.getCPtr(that), that); - } - - public boolean intersects(OOBBF that) { - return OsmAndCoreJNI.OOBBF_intersects__SWIG_0(swigCPtr, this, OOBBF.getCPtr(that), that); - } - - public boolean contains(AreaF area) { - return OsmAndCoreJNI.OOBBF_contains__SWIG_1(swigCPtr, this, AreaF.getCPtr(area), area); - } - - public boolean contains(PointF point) { - return OsmAndCoreJNI.OOBBF_contains__SWIG_2(swigCPtr, this, PointF.getCPtr(point), point); - } - - public boolean intersects(AreaF that) { - return OsmAndCoreJNI.OOBBF_intersects__SWIG_1(swigCPtr, this, AreaF.getCPtr(that), that); - } - - public OOBBF getEnlargedBy(PointF delta) { - return new OOBBF(OsmAndCoreJNI.OOBBF_getEnlargedBy__SWIG_0(swigCPtr, this, PointF.getCPtr(delta), delta), true); - } - - public OOBBF getEnlargedBy(float dt, float dl, float db, float dr) { - return new OOBBF(OsmAndCoreJNI.OOBBF_getEnlargedBy__SWIG_1(swigCPtr, this, dt, dl, db, dr), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/OOBBI.java b/JNI/src/net/osmand/core/jni/OOBBI.java deleted file mode 100644 index d66e3e7699..0000000000 --- a/JNI/src/net/osmand/core/jni/OOBBI.java +++ /dev/null @@ -1,74 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class OOBBI { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected OOBBI(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(OOBBI obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_OOBBI(swigCPtr); - } - swigCPtr = 0; - } - } - - public OOBBI() { - this(OsmAndCoreJNI.new_OOBBI__SWIG_0(), true); - } - - public OOBBI(AreaI bboxInObjectSpace_, float rotation_) { - this(OsmAndCoreJNI.new_OOBBI__SWIG_1(AreaI.getCPtr(bboxInObjectSpace_), bboxInObjectSpace_, rotation_), true); - } - - public boolean contains(OOBBI that) { - return OsmAndCoreJNI.OOBBI_contains__SWIG_0(swigCPtr, this, OOBBI.getCPtr(that), that); - } - - public boolean intersects(OOBBI that) { - return OsmAndCoreJNI.OOBBI_intersects__SWIG_0(swigCPtr, this, OOBBI.getCPtr(that), that); - } - - public boolean contains(AreaI area) { - return OsmAndCoreJNI.OOBBI_contains__SWIG_1(swigCPtr, this, AreaI.getCPtr(area), area); - } - - public boolean contains(PointI point) { - return OsmAndCoreJNI.OOBBI_contains__SWIG_2(swigCPtr, this, PointI.getCPtr(point), point); - } - - public boolean intersects(AreaI that) { - return OsmAndCoreJNI.OOBBI_intersects__SWIG_1(swigCPtr, this, AreaI.getCPtr(that), that); - } - - public OOBBI getEnlargedBy(PointI delta) { - return new OOBBI(OsmAndCoreJNI.OOBBI_getEnlargedBy__SWIG_0(swigCPtr, this, PointI.getCPtr(delta), delta), true); - } - - public OOBBI getEnlargedBy(int dt, int dl, int db, int dr) { - return new OOBBI(OsmAndCoreJNI.OOBBI_getEnlargedBy__SWIG_1(swigCPtr, this, dt, dl, db, dr), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ObfAddressBlockType.java b/JNI/src/net/osmand/core/jni/ObfAddressBlockType.java deleted file mode 100644 index d3d97b2580..0000000000 --- a/JNI/src/net/osmand/core/jni/ObfAddressBlockType.java +++ /dev/null @@ -1,53 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum ObfAddressBlockType { - CitiesOrTowns(OsmAndCoreJNI.ObfAddressBlockType_CitiesOrTowns_get()), - Villages(OsmAndCoreJNI.ObfAddressBlockType_Villages_get()), - Postcodes(OsmAndCoreJNI.ObfAddressBlockType_Postcodes_get()); - - public final int swigValue() { - return swigValue; - } - - public static ObfAddressBlockType swigToEnum(int swigValue) { - ObfAddressBlockType[] swigValues = ObfAddressBlockType.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (ObfAddressBlockType swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + ObfAddressBlockType.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private ObfAddressBlockType() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private ObfAddressBlockType(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private ObfAddressBlockType(ObfAddressBlockType swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/ObfDataInterface.java b/JNI/src/net/osmand/core/jni/ObfDataInterface.java deleted file mode 100644 index 447cfe4b07..0000000000 --- a/JNI/src/net/osmand/core/jni/ObfDataInterface.java +++ /dev/null @@ -1,131 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ObfDataInterface { - private long swigCPtr; - private boolean swigCMemOwn; - - protected ObfDataInterface(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ObfDataInterface obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ObfDataInterface(swigCPtr); - } - swigCPtr = 0; - } - } - - public ObfDataInterface(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t obfReaders) { - this(OsmAndCoreJNI.new_ObfDataInterface(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t.getCPtr(obfReaders)), true); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t getObfReaders() { - long cPtr = OsmAndCoreJNI.ObfDataInterface_obfReaders_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t(cPtr, false); - } - - public boolean loadObfFiles(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t outFiles, SWIGTYPE_p_OsmAnd__IQueryController controller) { - return OsmAndCoreJNI.ObfDataInterface_loadObfFiles__SWIG_0(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t.getCPtr(outFiles), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(controller)); - } - - public boolean loadObfFiles(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t outFiles) { - return OsmAndCoreJNI.ObfDataInterface_loadObfFiles__SWIG_1(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t.getCPtr(outFiles)); - } - - public boolean loadObfFiles() { - return OsmAndCoreJNI.ObfDataInterface_loadObfFiles__SWIG_2(swigCPtr, this); - } - - public boolean loadBasemapPresenceFlag(SWIGTYPE_p_bool outBasemapPresent, SWIGTYPE_p_OsmAnd__IQueryController controller) { - return OsmAndCoreJNI.ObfDataInterface_loadBasemapPresenceFlag__SWIG_0(swigCPtr, this, SWIGTYPE_p_bool.getCPtr(outBasemapPresent), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(controller)); - } - - public boolean loadBasemapPresenceFlag(SWIGTYPE_p_bool outBasemapPresent) { - return OsmAndCoreJNI.ObfDataInterface_loadBasemapPresenceFlag__SWIG_1(swigCPtr, this, SWIGTYPE_p_bool.getCPtr(outBasemapPresent)); - } - - public boolean loadMapObjects(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t resultOut, SWIGTYPE_p_MapFoundationType outFoundation, ZoomLevel zoom, AreaI bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction filterById, SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache cache, SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t outReferencedCacheEntries, SWIGTYPE_p_OsmAnd__IQueryController controller, SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects metric) { - return OsmAndCoreJNI.ObfDataInterface_loadMapObjects__SWIG_0(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(resultOut), SWIGTYPE_p_MapFoundationType.getCPtr(outFoundation), zoom.swigValue(), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction.getCPtr(filterById), SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache.getCPtr(cache), SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t.getCPtr(outReferencedCacheEntries), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(controller), SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects.getCPtr(metric)); - } - - public boolean loadMapObjects(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t resultOut, SWIGTYPE_p_MapFoundationType outFoundation, ZoomLevel zoom, AreaI bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction filterById, SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache cache, SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t outReferencedCacheEntries, SWIGTYPE_p_OsmAnd__IQueryController controller) { - return OsmAndCoreJNI.ObfDataInterface_loadMapObjects__SWIG_1(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(resultOut), SWIGTYPE_p_MapFoundationType.getCPtr(outFoundation), zoom.swigValue(), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction.getCPtr(filterById), SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache.getCPtr(cache), SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t.getCPtr(outReferencedCacheEntries), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(controller)); - } - - public boolean loadMapObjects(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t resultOut, SWIGTYPE_p_MapFoundationType outFoundation, ZoomLevel zoom, AreaI bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction filterById, SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache cache, SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t outReferencedCacheEntries) { - return OsmAndCoreJNI.ObfDataInterface_loadMapObjects__SWIG_2(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(resultOut), SWIGTYPE_p_MapFoundationType.getCPtr(outFoundation), zoom.swigValue(), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction.getCPtr(filterById), SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache.getCPtr(cache), SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t.getCPtr(outReferencedCacheEntries)); - } - - public boolean loadMapObjects(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t resultOut, SWIGTYPE_p_MapFoundationType outFoundation, ZoomLevel zoom, AreaI bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction filterById, SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache cache) { - return OsmAndCoreJNI.ObfDataInterface_loadMapObjects__SWIG_3(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(resultOut), SWIGTYPE_p_MapFoundationType.getCPtr(outFoundation), zoom.swigValue(), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction.getCPtr(filterById), SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache.getCPtr(cache)); - } - - public boolean loadMapObjects(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t resultOut, SWIGTYPE_p_MapFoundationType outFoundation, ZoomLevel zoom, AreaI bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction filterById) { - return OsmAndCoreJNI.ObfDataInterface_loadMapObjects__SWIG_4(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(resultOut), SWIGTYPE_p_MapFoundationType.getCPtr(outFoundation), zoom.swigValue(), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_FilterMapObjectsByIdFunction.getCPtr(filterById)); - } - - public boolean loadMapObjects(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t resultOut, SWIGTYPE_p_MapFoundationType outFoundation, ZoomLevel zoom, AreaI bbox31) { - return OsmAndCoreJNI.ObfDataInterface_loadMapObjects__SWIG_5(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(resultOut), SWIGTYPE_p_MapFoundationType.getCPtr(outFoundation), zoom.swigValue(), AreaI.getCPtr(bbox31), bbox31); - } - - public boolean loadMapObjects(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t resultOut, SWIGTYPE_p_MapFoundationType outFoundation, ZoomLevel zoom) { - return OsmAndCoreJNI.ObfDataInterface_loadMapObjects__SWIG_6(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(resultOut), SWIGTYPE_p_MapFoundationType.getCPtr(outFoundation), zoom.swigValue()); - } - - public boolean loadRoads(SWIGTYPE_p_RoutingDataLevel dataLevel, AreaI bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t resultOut, SWIGTYPE_p_FilterRoadsByIdFunction filterById, SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction visitor, SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache cache, SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t outReferencedCacheEntries, SWIGTYPE_p_OsmAnd__IQueryController controller, SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads metric) { - return OsmAndCoreJNI.ObfDataInterface_loadRoads__SWIG_0(swigCPtr, this, SWIGTYPE_p_RoutingDataLevel.getCPtr(dataLevel), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.getCPtr(resultOut), SWIGTYPE_p_FilterRoadsByIdFunction.getCPtr(filterById), SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction.getCPtr(visitor), SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache.getCPtr(cache), SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t.getCPtr(outReferencedCacheEntries), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(controller), SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads.getCPtr(metric)); - } - - public boolean loadRoads(SWIGTYPE_p_RoutingDataLevel dataLevel, AreaI bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t resultOut, SWIGTYPE_p_FilterRoadsByIdFunction filterById, SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction visitor, SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache cache, SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t outReferencedCacheEntries, SWIGTYPE_p_OsmAnd__IQueryController controller) { - return OsmAndCoreJNI.ObfDataInterface_loadRoads__SWIG_1(swigCPtr, this, SWIGTYPE_p_RoutingDataLevel.getCPtr(dataLevel), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.getCPtr(resultOut), SWIGTYPE_p_FilterRoadsByIdFunction.getCPtr(filterById), SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction.getCPtr(visitor), SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache.getCPtr(cache), SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t.getCPtr(outReferencedCacheEntries), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(controller)); - } - - public boolean loadRoads(SWIGTYPE_p_RoutingDataLevel dataLevel, AreaI bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t resultOut, SWIGTYPE_p_FilterRoadsByIdFunction filterById, SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction visitor, SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache cache, SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t outReferencedCacheEntries) { - return OsmAndCoreJNI.ObfDataInterface_loadRoads__SWIG_2(swigCPtr, this, SWIGTYPE_p_RoutingDataLevel.getCPtr(dataLevel), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.getCPtr(resultOut), SWIGTYPE_p_FilterRoadsByIdFunction.getCPtr(filterById), SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction.getCPtr(visitor), SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache.getCPtr(cache), SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t.getCPtr(outReferencedCacheEntries)); - } - - public boolean loadRoads(SWIGTYPE_p_RoutingDataLevel dataLevel, AreaI bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t resultOut, SWIGTYPE_p_FilterRoadsByIdFunction filterById, SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction visitor, SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache cache) { - return OsmAndCoreJNI.ObfDataInterface_loadRoads__SWIG_3(swigCPtr, this, SWIGTYPE_p_RoutingDataLevel.getCPtr(dataLevel), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.getCPtr(resultOut), SWIGTYPE_p_FilterRoadsByIdFunction.getCPtr(filterById), SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction.getCPtr(visitor), SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache.getCPtr(cache)); - } - - public boolean loadRoads(SWIGTYPE_p_RoutingDataLevel dataLevel, AreaI bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t resultOut, SWIGTYPE_p_FilterRoadsByIdFunction filterById, SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction visitor) { - return OsmAndCoreJNI.ObfDataInterface_loadRoads__SWIG_4(swigCPtr, this, SWIGTYPE_p_RoutingDataLevel.getCPtr(dataLevel), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.getCPtr(resultOut), SWIGTYPE_p_FilterRoadsByIdFunction.getCPtr(filterById), SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction.getCPtr(visitor)); - } - - public boolean loadRoads(SWIGTYPE_p_RoutingDataLevel dataLevel, AreaI bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t resultOut, SWIGTYPE_p_FilterRoadsByIdFunction filterById) { - return OsmAndCoreJNI.ObfDataInterface_loadRoads__SWIG_5(swigCPtr, this, SWIGTYPE_p_RoutingDataLevel.getCPtr(dataLevel), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.getCPtr(resultOut), SWIGTYPE_p_FilterRoadsByIdFunction.getCPtr(filterById)); - } - - public boolean loadRoads(SWIGTYPE_p_RoutingDataLevel dataLevel, AreaI bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t resultOut) { - return OsmAndCoreJNI.ObfDataInterface_loadRoads__SWIG_6(swigCPtr, this, SWIGTYPE_p_RoutingDataLevel.getCPtr(dataLevel), AreaI.getCPtr(bbox31), bbox31, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.getCPtr(resultOut)); - } - - public boolean loadRoads(SWIGTYPE_p_RoutingDataLevel dataLevel, AreaI bbox31) { - return OsmAndCoreJNI.ObfDataInterface_loadRoads__SWIG_7(swigCPtr, this, SWIGTYPE_p_RoutingDataLevel.getCPtr(dataLevel), AreaI.getCPtr(bbox31), bbox31); - } - - public boolean loadRoads(SWIGTYPE_p_RoutingDataLevel dataLevel) { - return OsmAndCoreJNI.ObfDataInterface_loadRoads__SWIG_8(swigCPtr, this, SWIGTYPE_p_RoutingDataLevel.getCPtr(dataLevel)); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ObfFile.java b/JNI/src/net/osmand/core/jni/ObfFile.java deleted file mode 100644 index 5fda99528a..0000000000 --- a/JNI/src/net/osmand/core/jni/ObfFile.java +++ /dev/null @@ -1,59 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ObfFile { - private long swigCPtr; - private boolean swigCMemOwn; - - protected ObfFile(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ObfFile obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ObfFile(swigCPtr); - } - swigCPtr = 0; - } - } - - public ObfFile(String filePath) { - this(OsmAndCoreJNI.new_ObfFile__SWIG_0(filePath), true); - } - - public ObfFile(String filePath, java.math.BigInteger fileSize) { - this(OsmAndCoreJNI.new_ObfFile__SWIG_1(filePath, fileSize), true); - } - - public String getFilePath() { - return OsmAndCoreJNI.ObfFile_filePath_get(swigCPtr, this); - } - - public java.math.BigInteger getFileSize() { - return OsmAndCoreJNI.ObfFile_fileSize_get(swigCPtr, this); - } - - public ObfInfo getObfInfo() { - long cPtr = OsmAndCoreJNI.ObfFile_obfInfo_get(swigCPtr, this); - return (cPtr == 0) ? null : new ObfInfo(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ObfInfo.java b/JNI/src/net/osmand/core/jni/ObfInfo.java deleted file mode 100644 index 576a6e62ae..0000000000 --- a/JNI/src/net/osmand/core/jni/ObfInfo.java +++ /dev/null @@ -1,70 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ObfInfo { - private long swigCPtr; - private boolean swigCMemOwn; - - protected ObfInfo(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ObfInfo obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ObfInfo(swigCPtr); - } - swigCPtr = 0; - } - } - - public int getVersion() { - return OsmAndCoreJNI.ObfInfo_version_get(swigCPtr, this); - } - - public java.math.BigInteger getCreationTimestamp() { - return OsmAndCoreJNI.ObfInfo_creationTimestamp_get(swigCPtr, this); - } - - public boolean getIsBasemap() { - return OsmAndCoreJNI.ObfInfo_isBasemap_get(swigCPtr, this); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t getMapSections() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t(OsmAndCoreJNI.ObfInfo_mapSections_get(swigCPtr, this), false); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t getAddressSections() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t(OsmAndCoreJNI.ObfInfo_addressSections_get(swigCPtr, this), false); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t getRoutingSections() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t(OsmAndCoreJNI.ObfInfo_routingSections_get(swigCPtr, this), false); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t getPoiSections() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t(OsmAndCoreJNI.ObfInfo_poiSections_get(swigCPtr, this), false); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t getTransportSections() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t(OsmAndCoreJNI.ObfInfo_transportSections_get(swigCPtr, this), false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ObfMapSectionDataBlockId.java b/JNI/src/net/osmand/core/jni/ObfMapSectionDataBlockId.java deleted file mode 100644 index 6f0c05b98a..0000000000 --- a/JNI/src/net/osmand/core/jni/ObfMapSectionDataBlockId.java +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ObfMapSectionDataBlockId { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected ObfMapSectionDataBlockId(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ObfMapSectionDataBlockId obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ObfMapSectionDataBlockId(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setId(java.math.BigInteger value) { - OsmAndCoreJNI.ObfMapSectionDataBlockId_id_set(swigCPtr, this, value); - } - - public java.math.BigInteger getId() { - return OsmAndCoreJNI.ObfMapSectionDataBlockId_id_get(swigCPtr, this); - } - - public void setSectionRuntimeGeneratedId(int value) { - OsmAndCoreJNI.ObfMapSectionDataBlockId_sectionRuntimeGeneratedId_set(swigCPtr, this, value); - } - - public int getSectionRuntimeGeneratedId() { - return OsmAndCoreJNI.ObfMapSectionDataBlockId_sectionRuntimeGeneratedId_get(swigCPtr, this); - } - - public void setOffset(long value) { - OsmAndCoreJNI.ObfMapSectionDataBlockId_offset_set(swigCPtr, this, value); - } - - public long getOffset() { - return OsmAndCoreJNI.ObfMapSectionDataBlockId_offset_get(swigCPtr, this); - } - - public ObfMapSectionDataBlockId() { - this(OsmAndCoreJNI.new_ObfMapSectionDataBlockId(), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ObfRoutingSectionDataBlockId.java b/JNI/src/net/osmand/core/jni/ObfRoutingSectionDataBlockId.java deleted file mode 100644 index 0e75a595a5..0000000000 --- a/JNI/src/net/osmand/core/jni/ObfRoutingSectionDataBlockId.java +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ObfRoutingSectionDataBlockId { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected ObfRoutingSectionDataBlockId(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ObfRoutingSectionDataBlockId obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ObfRoutingSectionDataBlockId(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setId(java.math.BigInteger value) { - OsmAndCoreJNI.ObfRoutingSectionDataBlockId_id_set(swigCPtr, this, value); - } - - public java.math.BigInteger getId() { - return OsmAndCoreJNI.ObfRoutingSectionDataBlockId_id_get(swigCPtr, this); - } - - public void setSectionRuntimeGeneratedId(int value) { - OsmAndCoreJNI.ObfRoutingSectionDataBlockId_sectionRuntimeGeneratedId_set(swigCPtr, this, value); - } - - public int getSectionRuntimeGeneratedId() { - return OsmAndCoreJNI.ObfRoutingSectionDataBlockId_sectionRuntimeGeneratedId_get(swigCPtr, this); - } - - public void setOffset(long value) { - OsmAndCoreJNI.ObfRoutingSectionDataBlockId_offset_set(swigCPtr, this, value); - } - - public long getOffset() { - return OsmAndCoreJNI.ObfRoutingSectionDataBlockId_offset_get(swigCPtr, this); - } - - public ObfRoutingSectionDataBlockId() { - this(OsmAndCoreJNI.new_ObfRoutingSectionDataBlockId(), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/ObfsCollection.java b/JNI/src/net/osmand/core/jni/ObfsCollection.java deleted file mode 100644 index 584b0ae20c..0000000000 --- a/JNI/src/net/osmand/core/jni/ObfsCollection.java +++ /dev/null @@ -1,81 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ObfsCollection extends IObfsCollection { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected ObfsCollection(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ObfsCollection_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ObfsCollection obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ObfsCollection(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public ObfsCollection() { - this(OsmAndCoreJNI.new_ObfsCollection(), true); - } - - public int addDirectory(SWIGTYPE_p_QDir dir, boolean recursive) { - return OsmAndCoreJNI.ObfsCollection_addDirectory__SWIG_0(swigCPtr, this, SWIGTYPE_p_QDir.getCPtr(dir), recursive); - } - - public int addDirectory(SWIGTYPE_p_QDir dir) { - return OsmAndCoreJNI.ObfsCollection_addDirectory__SWIG_1(swigCPtr, this, SWIGTYPE_p_QDir.getCPtr(dir)); - } - - public int addDirectory(String dirPath, boolean recursive) { - return OsmAndCoreJNI.ObfsCollection_addDirectory__SWIG_2(swigCPtr, this, dirPath, recursive); - } - - public int addDirectory(String dirPath) { - return OsmAndCoreJNI.ObfsCollection_addDirectory__SWIG_3(swigCPtr, this, dirPath); - } - - public int addFile(SWIGTYPE_p_QFileInfo fileInfo) { - return OsmAndCoreJNI.ObfsCollection_addFile__SWIG_0(swigCPtr, this, SWIGTYPE_p_QFileInfo.getCPtr(fileInfo)); - } - - public int addFile(String filePath) { - return OsmAndCoreJNI.ObfsCollection_addFile__SWIG_1(swigCPtr, this, filePath); - } - - public boolean remove(int entryId) { - return OsmAndCoreJNI.ObfsCollection_remove(swigCPtr, this, entryId); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t getObfFiles() { - return new SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t(OsmAndCoreJNI.ObfsCollection_getObfFiles(swigCPtr, this), true); - } - - public ObfDataInterface obtainDataInterface() { - long cPtr = OsmAndCoreJNI.ObfsCollection_obtainDataInterface(swigCPtr, this); - return (cPtr == 0) ? null : new ObfDataInterface(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/OnlineRasterMapTileProvider.java b/JNI/src/net/osmand/core/jni/OnlineRasterMapTileProvider.java deleted file mode 100644 index 0a34139888..0000000000 --- a/JNI/src/net/osmand/core/jni/OnlineRasterMapTileProvider.java +++ /dev/null @@ -1,132 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class OnlineRasterMapTileProvider extends IMapRasterBitmapTileProvider { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected OnlineRasterMapTileProvider(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.OnlineRasterMapTileProvider_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(OnlineRasterMapTileProvider obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_OnlineRasterMapTileProvider(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public OnlineRasterMapTileProvider(String name, String urlPattern, ZoomLevel minZoom, ZoomLevel maxZoom, long maxConcurrentDownloads, long providerTileSize, AlphaChannelData alphaChannelData) { - this(OsmAndCoreJNI.new_OnlineRasterMapTileProvider__SWIG_0(name, urlPattern, minZoom.swigValue(), maxZoom.swigValue(), maxConcurrentDownloads, providerTileSize, alphaChannelData.swigValue()), true); - } - - public OnlineRasterMapTileProvider(String name, String urlPattern, ZoomLevel minZoom, ZoomLevel maxZoom, long maxConcurrentDownloads, long providerTileSize) { - this(OsmAndCoreJNI.new_OnlineRasterMapTileProvider__SWIG_1(name, urlPattern, minZoom.swigValue(), maxZoom.swigValue(), maxConcurrentDownloads, providerTileSize), true); - } - - public OnlineRasterMapTileProvider(String name, String urlPattern, ZoomLevel minZoom, ZoomLevel maxZoom, long maxConcurrentDownloads) { - this(OsmAndCoreJNI.new_OnlineRasterMapTileProvider__SWIG_2(name, urlPattern, minZoom.swigValue(), maxZoom.swigValue(), maxConcurrentDownloads), true); - } - - public OnlineRasterMapTileProvider(String name, String urlPattern, ZoomLevel minZoom, ZoomLevel maxZoom) { - this(OsmAndCoreJNI.new_OnlineRasterMapTileProvider__SWIG_3(name, urlPattern, minZoom.swigValue(), maxZoom.swigValue()), true); - } - - public OnlineRasterMapTileProvider(String name, String urlPattern, ZoomLevel minZoom) { - this(OsmAndCoreJNI.new_OnlineRasterMapTileProvider__SWIG_4(name, urlPattern, minZoom.swigValue()), true); - } - - public OnlineRasterMapTileProvider(String name, String urlPattern) { - this(OsmAndCoreJNI.new_OnlineRasterMapTileProvider__SWIG_5(name, urlPattern), true); - } - - public String getName() { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_name_get(swigCPtr, this); - } - - public String getPathSuffix() { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_pathSuffix_get(swigCPtr, this); - } - - public String getUrlPattern() { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_urlPattern_get(swigCPtr, this); - } - - public long getMaxConcurrentDownloads() { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_maxConcurrentDownloads_get(swigCPtr, this); - } - - public long getProviderTileSize() { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_providerTileSize_get(swigCPtr, this); - } - - public AlphaChannelData getAlphaChannelData() { - return AlphaChannelData.swigToEnum(OsmAndCoreJNI.OnlineRasterMapTileProvider_alphaChannelData_get(swigCPtr, this)); - } - - public void setLocalCachePath(SWIGTYPE_p_QDir localCachePath, boolean appendPathSuffix) { - OsmAndCoreJNI.OnlineRasterMapTileProvider_setLocalCachePath__SWIG_0(swigCPtr, this, SWIGTYPE_p_QDir.getCPtr(localCachePath), appendPathSuffix); - } - - public void setLocalCachePath(SWIGTYPE_p_QDir localCachePath) { - OsmAndCoreJNI.OnlineRasterMapTileProvider_setLocalCachePath__SWIG_1(swigCPtr, this, SWIGTYPE_p_QDir.getCPtr(localCachePath)); - } - - public SWIGTYPE_p_QDir getLocalCachePath() { - return new SWIGTYPE_p_QDir(OsmAndCoreJNI.OnlineRasterMapTileProvider_localCachePath_get(swigCPtr, this), false); - } - - public void setNetworkAccessPermission(boolean allowed) { - OsmAndCoreJNI.OnlineRasterMapTileProvider_setNetworkAccessPermission(swigCPtr, this, allowed); - } - - public boolean getNetworkAccessAllowed() { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_networkAccessAllowed_get(swigCPtr, this); - } - - public float getTileDensityFactor() { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_getTileDensityFactor(swigCPtr, this); - } - - public long getTileSize() { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_getTileSize(swigCPtr, this); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData, SWIGTYPE_p_OsmAnd__IQueryController queryController) { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_obtainData__SWIG_0(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData, SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(queryController)); - } - - public boolean obtainData(TileId tileId, ZoomLevel zoom, MapTiledData outTiledData) { - return OsmAndCoreJNI.OnlineRasterMapTileProvider_obtainData__SWIG_1(swigCPtr, this, TileId.getCPtr(tileId), tileId, zoom.swigValue(), MapTiledData.getCPtr(outTiledData), outTiledData); - } - - public ZoomLevel getMinZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.OnlineRasterMapTileProvider_getMinZoom(swigCPtr, this)); - } - - public ZoomLevel getMaxZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.OnlineRasterMapTileProvider_getMaxZoom(swigCPtr, this)); - } - -} diff --git a/JNI/src/net/osmand/core/jni/OnlineTileSources.java b/JNI/src/net/osmand/core/jni/OnlineTileSources.java deleted file mode 100644 index 5ae525cff4..0000000000 --- a/JNI/src/net/osmand/core/jni/OnlineTileSources.java +++ /dev/null @@ -1,86 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class OnlineTileSources extends IOnlineTileSources { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected OnlineTileSources(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.OnlineTileSources_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(OnlineTileSources obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_OnlineTileSources(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public OnlineTileSources() { - this(OsmAndCoreJNI.new_OnlineTileSources(), true); - } - - public boolean loadFrom(SWIGTYPE_p_QByteArray content) { - return OsmAndCoreJNI.OnlineTileSources_loadFrom__SWIG_0(swigCPtr, this, SWIGTYPE_p_QByteArray.getCPtr(content)); - } - - public boolean loadFrom(SWIGTYPE_p_QIODevice ioDevice) { - return OsmAndCoreJNI.OnlineTileSources_loadFrom__SWIG_1(swigCPtr, this, SWIGTYPE_p_QIODevice.getCPtr(ioDevice)); - } - - public boolean loadFrom(String fileName) { - return OsmAndCoreJNI.OnlineTileSources_loadFrom__SWIG_2(swigCPtr, this, fileName); - } - - public boolean saveTo(SWIGTYPE_p_QIODevice ioDevice) { - return OsmAndCoreJNI.OnlineTileSources_saveTo__SWIG_0(swigCPtr, this, SWIGTYPE_p_QIODevice.getCPtr(ioDevice)); - } - - public boolean saveTo(String fileName) { - return OsmAndCoreJNI.OnlineTileSources_saveTo__SWIG_1(swigCPtr, this, fileName); - } - - public SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t getCollection() { - return new SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t(OsmAndCoreJNI.OnlineTileSources_getCollection(swigCPtr, this), true); - } - - public IOnlineTileSources.Source getSourceByName(String sourceName) { - long cPtr = OsmAndCoreJNI.OnlineTileSources_getSourceByName(swigCPtr, this, sourceName); - return (cPtr == 0) ? null : new IOnlineTileSources.Source(cPtr, true); - } - - public boolean addSource(IOnlineTileSources.Source source) { - return OsmAndCoreJNI.OnlineTileSources_addSource(swigCPtr, this, IOnlineTileSources.Source.getCPtr(source)); - } - - public boolean removeSource(String sourceName) { - return OsmAndCoreJNI.OnlineTileSources_removeSource(swigCPtr, this, sourceName); - } - - public static OnlineTileSources getBuiltIn() { - long cPtr = OsmAndCoreJNI.OnlineTileSources_getBuiltIn(); - return (cPtr == 0) ? null : new OnlineTileSources(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/OsmAndCore.java b/JNI/src/net/osmand/core/jni/OsmAndCore.java deleted file mode 100644 index 4ecc8a7245..0000000000 --- a/JNI/src/net/osmand/core/jni/OsmAndCore.java +++ /dev/null @@ -1,70 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class OsmAndCore implements OsmAndCoreConstants { - public static boolean InitializeCore(ICoreResourcesProvider coreResourcesProvider) { - return OsmAndCoreJNI.InitializeCore(ICoreResourcesProvider.getCPtr(coreResourcesProvider), coreResourcesProvider); - } - - public static ICoreResourcesProvider getCoreResourcesProvider() { - long cPtr = OsmAndCoreJNI.getCoreResourcesProvider(); - return (cPtr == 0) ? null : new ICoreResourcesProvider(cPtr, true); - } - - public static void ReleaseCore() { - OsmAndCoreJNI.ReleaseCore(); - } - - public static int crossProductSign(PointF a, PointF b, PointF p) { - return OsmAndCoreJNI.crossProductSign__SWIG_0(PointF.getCPtr(a), a, PointF.getCPtr(b), b, PointF.getCPtr(p), p); - } - - public static int crossProductSign(PointD a, PointD b, PointD p) { - return OsmAndCoreJNI.crossProductSign__SWIG_1(PointD.getCPtr(a), a, PointD.getCPtr(b), b, PointD.getCPtr(p), p); - } - - public static int crossProductSign(PointI a, PointI b, PointI p) { - return OsmAndCoreJNI.crossProductSign__SWIG_2(PointI.getCPtr(a), a, PointI.getCPtr(b), b, PointI.getCPtr(p), p); - } - - public static int crossProductSign(SWIGTYPE_p_OsmAnd__PointT_long_long_t a, SWIGTYPE_p_OsmAnd__PointT_long_long_t b, SWIGTYPE_p_OsmAnd__PointT_long_long_t p) { - return OsmAndCoreJNI.crossProductSign__SWIG_3(SWIGTYPE_p_OsmAnd__PointT_long_long_t.getCPtr(a), SWIGTYPE_p_OsmAnd__PointT_long_long_t.getCPtr(b), SWIGTYPE_p_OsmAnd__PointT_long_long_t.getCPtr(p)); - } - - public static boolean testLineLineIntersection(PointI a0, PointI a1, PointI b0, PointI b1) { - return OsmAndCoreJNI.testLineLineIntersection__SWIG_0(PointI.getCPtr(a0), a0, PointI.getCPtr(a1), a1, PointI.getCPtr(b0), b0, PointI.getCPtr(b1), b1); - } - - public static boolean testLineLineIntersection(PointF a0, PointF a1, PointF b0, PointF b1) { - return OsmAndCoreJNI.testLineLineIntersection__SWIG_1(PointF.getCPtr(a0), a0, PointF.getCPtr(a1), a1, PointF.getCPtr(b0), b0, PointF.getCPtr(b1), b1); - } - - public static boolean testLineLineIntersection(PointD a0, PointD a1, PointD b0, PointD b1) { - return OsmAndCoreJNI.testLineLineIntersection__SWIG_2(PointD.getCPtr(a0), a0, PointD.getCPtr(a1), a1, PointD.getCPtr(b0), b0, PointD.getCPtr(b1), b1); - } - - public static boolean testLineLineIntersection(SWIGTYPE_p_OsmAnd__PointT_long_long_t a0, SWIGTYPE_p_OsmAnd__PointT_long_long_t a1, SWIGTYPE_p_OsmAnd__PointT_long_long_t b0, SWIGTYPE_p_OsmAnd__PointT_long_long_t b1) { - return OsmAndCoreJNI.testLineLineIntersection__SWIG_3(SWIGTYPE_p_OsmAnd__PointT_long_long_t.getCPtr(a0), SWIGTYPE_p_OsmAnd__PointT_long_long_t.getCPtr(a1), SWIGTYPE_p_OsmAnd__PointT_long_long_t.getCPtr(b0), SWIGTYPE_p_OsmAnd__PointT_long_long_t.getCPtr(b1)); - } - - public static void LogPrintf(LogSeverityLevel level, String format) { - OsmAndCoreJNI.LogPrintf(level.swigValue(), format); - } - - public static void LogFlush() { - OsmAndCoreJNI.LogFlush(); - } - - public static IMapRenderer createMapRenderer(MapRendererClass mapRendererClass) { - long cPtr = OsmAndCoreJNI.createMapRenderer(mapRendererClass.swigValue()); - return (cPtr == 0) ? null : new IMapRenderer(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/OsmAndCoreConstants.java b/JNI/src/net/osmand/core/jni/OsmAndCoreConstants.java deleted file mode 100644 index 4051c2b106..0000000000 --- a/JNI/src/net/osmand/core/jni/OsmAndCoreConstants.java +++ /dev/null @@ -1,21 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public interface OsmAndCoreConstants { - public final static int OSMAND_DEBUG = OsmAndCoreJNI.OSMAND_DEBUG_get(); - public final static int ZoomLevelsCount = OsmAndCoreJNI.ZoomLevelsCount_get(); - - public final static int RoutingDataLevelsCount = OsmAndCoreJNI.RoutingDataLevelsCount_get(); - - public final static int MapStyleRulesetTypesCount = OsmAndCoreJNI.MapStyleRulesetTypesCount_get(); - - public final static int RasterMapLayersCount = OsmAndCoreJNI.RasterMapLayersCount_get(); - -} diff --git a/JNI/src/net/osmand/core/jni/OsmAndCoreJNI.java b/JNI/src/net/osmand/core/jni/OsmAndCoreJNI.java deleted file mode 100644 index ab8f3617d5..0000000000 --- a/JNI/src/net/osmand/core/jni/OsmAndCoreJNI.java +++ /dev/null @@ -1,1395 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class OsmAndCoreJNI { - public final static native long new_BoolPtr(); - public final static native void delete_BoolPtr(long jarg1); - public final static native void BoolPtr_assign(long jarg1, BoolPtr jarg1_, boolean jarg2); - public final static native boolean BoolPtr_value(long jarg1, BoolPtr jarg1_); - public final static native long BoolPtr_cast(long jarg1, BoolPtr jarg1_); - public final static native long BoolPtr_frompointer(long jarg1); - public final static native long new_IntPtr(); - public final static native void delete_IntPtr(long jarg1); - public final static native void IntPtr_assign(long jarg1, IntPtr jarg1_, int jarg2); - public final static native int IntPtr_value(long jarg1, IntPtr jarg1_); - public final static native long IntPtr_cast(long jarg1, IntPtr jarg1_); - public final static native long IntPtr_frompointer(long jarg1); - public final static native long new_UIntPtr(); - public final static native void delete_UIntPtr(long jarg1); - public final static native void UIntPtr_assign(long jarg1, UIntPtr jarg1_, long jarg2); - public final static native long UIntPtr_value(long jarg1, UIntPtr jarg1_); - public final static native long UIntPtr_cast(long jarg1, UIntPtr jarg1_); - public final static native long UIntPtr_frompointer(long jarg1); - public final static native long new_FloatPtr(); - public final static native void delete_FloatPtr(long jarg1); - public final static native void FloatPtr_assign(long jarg1, FloatPtr jarg1_, float jarg2); - public final static native float FloatPtr_value(long jarg1, FloatPtr jarg1_); - public final static native long FloatPtr_cast(long jarg1, FloatPtr jarg1_); - public final static native long FloatPtr_frompointer(long jarg1); - public final static native long new_DoublePtr(); - public final static native void delete_DoublePtr(long jarg1); - public final static native void DoublePtr_assign(long jarg1, DoublePtr jarg1_, double jarg2); - public final static native double DoublePtr_value(long jarg1, DoublePtr jarg1_); - public final static native long DoublePtr_cast(long jarg1, DoublePtr jarg1_); - public final static native long DoublePtr_frompointer(long jarg1); - public final static native long new_QStringList(); - public final static native long QStringList_size(long jarg1, QStringList jarg1_); - public final static native void QStringList_reserve(long jarg1, QStringList jarg1_, long jarg2); - public final static native boolean QStringList_isEmpty(long jarg1, QStringList jarg1_); - public final static native void QStringList_clear(long jarg1, QStringList jarg1_); - public final static native void QStringList_add(long jarg1, QStringList jarg1_, String jarg2); - public final static native String QStringList_get(long jarg1, QStringList jarg1_, int jarg2); - public final static native void QStringList_set(long jarg1, QStringList jarg1_, int jarg2, String jarg3); - public final static native void delete_QStringList(long jarg1); - public final static native long SwigUtilities_readEntireFile(String jarg1); - public final static native long SwigUtilities_readPartOfFile(String jarg1, long jarg2, long jarg3); - public final static native long SwigUtilities_emptyQByteArray(); - public final static native long SwigUtilities_qDecompress(long jarg1); - public final static native long SwigUtilities_createSkBitmapARGB888With(long jarg1, long jarg2, long jarg3, long jarg4); - public final static native int OSMAND_DEBUG_get(); - public final static native boolean InitializeCore(long jarg1, ICoreResourcesProvider jarg1_); - public final static native long getCoreResourcesProvider(); - public final static native void ReleaseCore(); - public final static native long new_IObservable(); - public final static native void delete_IObservable(long jarg1); - public final static native int crossProductSign__SWIG_0(long jarg1, PointF jarg1_, long jarg2, PointF jarg2_, long jarg3, PointF jarg3_); - public final static native int crossProductSign__SWIG_1(long jarg1, PointD jarg1_, long jarg2, PointD jarg2_, long jarg3, PointD jarg3_); - public final static native int crossProductSign__SWIG_2(long jarg1, PointI jarg1_, long jarg2, PointI jarg2_, long jarg3, PointI jarg3_); - public final static native int crossProductSign__SWIG_3(long jarg1, long jarg2, long jarg3); - public final static native boolean testLineLineIntersection__SWIG_0(long jarg1, PointI jarg1_, long jarg2, PointI jarg2_, long jarg3, PointI jarg3_, long jarg4, PointI jarg4_); - public final static native boolean testLineLineIntersection__SWIG_1(long jarg1, PointF jarg1_, long jarg2, PointF jarg2_, long jarg3, PointF jarg3_, long jarg4, PointF jarg4_); - public final static native boolean testLineLineIntersection__SWIG_2(long jarg1, PointD jarg1_, long jarg2, PointD jarg2_, long jarg3, PointD jarg3_, long jarg4, PointD jarg4_); - public final static native boolean testLineLineIntersection__SWIG_3(long jarg1, long jarg2, long jarg3, long jarg4); - public final static native int Edge_Invalid_get(); - public final static native int Edge_Left_get(); - public final static native int Edge_Top_get(); - public final static native int Edge_Right_get(); - public final static native int Edge_Bottom_get(); - public final static native int Quadrant_NE_get(); - public final static native void TileId_id_set(long jarg1, TileId jarg1_, java.math.BigInteger jarg2); - public final static native java.math.BigInteger TileId_id_get(long jarg1, TileId jarg1_); - public final static native void TileId_x_set(long jarg1, TileId jarg1_, int jarg2); - public final static native int TileId_x_get(long jarg1, TileId jarg1_); - public final static native void TileId_y_set(long jarg1, TileId jarg1_, int jarg2); - public final static native int TileId_y_get(long jarg1, TileId jarg1_); - public final static native long new_TileId(); - public final static native void delete_TileId(long jarg1); - public final static native int ZoomLevel0_get(); - public final static native int ZoomLevel31_get(); - public final static native int InvalidZoom_get(); - public final static native int MinZoomLevel_get(); - public final static native int MaxZoomLevel_get(); - public final static native int ZoomLevelsCount_get(); - public final static native long new_FColorARGB__SWIG_0(); - public final static native long new_FColorARGB__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4); - public final static native void FColorARGB_a_set(long jarg1, FColorARGB jarg1_, float jarg2); - public final static native float FColorARGB_a_get(long jarg1, FColorARGB jarg1_); - public final static native void FColorARGB_r_set(long jarg1, FColorARGB jarg1_, float jarg2); - public final static native float FColorARGB_r_get(long jarg1, FColorARGB jarg1_); - public final static native void FColorARGB_g_set(long jarg1, FColorARGB jarg1_, float jarg2); - public final static native float FColorARGB_g_get(long jarg1, FColorARGB jarg1_); - public final static native void FColorARGB_b_set(long jarg1, FColorARGB jarg1_, float jarg2); - public final static native float FColorARGB_b_get(long jarg1, FColorARGB jarg1_); - public final static native long FColorARGB_withAlpha(long jarg1, FColorARGB jarg1_, float jarg2); - public final static native long FColorARGB_setAlpha(long jarg1, FColorARGB jarg1_, float jarg2); - public final static native void delete_FColorARGB(long jarg1); - public final static native long new_FColorRGB__SWIG_0(); - public final static native long new_FColorRGB__SWIG_1(float jarg1, float jarg2, float jarg3); - public final static native long new_FColorRGB__SWIG_2(long jarg1, FColorARGB jarg1_); - public final static native void FColorRGB_r_set(long jarg1, FColorRGB jarg1_, float jarg2); - public final static native float FColorRGB_r_get(long jarg1, FColorRGB jarg1_); - public final static native void FColorRGB_g_set(long jarg1, FColorRGB jarg1_, float jarg2); - public final static native float FColorRGB_g_get(long jarg1, FColorRGB jarg1_); - public final static native void FColorRGB_b_set(long jarg1, FColorRGB jarg1_, float jarg2); - public final static native float FColorRGB_b_get(long jarg1, FColorRGB jarg1_); - public final static native long FColorRGB_withAlpha(long jarg1, FColorRGB jarg1_, float jarg2); - public final static native void delete_FColorRGB(long jarg1); - public final static native long new_ColorARGB__SWIG_0(); - public final static native long new_ColorARGB__SWIG_1(long jarg1); - public final static native long new_ColorARGB__SWIG_2(short jarg1, short jarg2, short jarg3, short jarg4); - public final static native long new_ColorARGB__SWIG_3(long jarg1, FColorARGB jarg1_); - public final static native void ColorARGB_a_set(long jarg1, ColorARGB jarg1_, short jarg2); - public final static native short ColorARGB_a_get(long jarg1, ColorARGB jarg1_); - public final static native void ColorARGB_r_set(long jarg1, ColorARGB jarg1_, short jarg2); - public final static native short ColorARGB_r_get(long jarg1, ColorARGB jarg1_); - public final static native void ColorARGB_g_set(long jarg1, ColorARGB jarg1_, short jarg2); - public final static native short ColorARGB_g_get(long jarg1, ColorARGB jarg1_); - public final static native void ColorARGB_b_set(long jarg1, ColorARGB jarg1_, short jarg2); - public final static native short ColorARGB_b_get(long jarg1, ColorARGB jarg1_); - public final static native long ColorARGB_withAlpha(long jarg1, ColorARGB jarg1_, short jarg2); - public final static native long ColorARGB_setAlpha(long jarg1, ColorARGB jarg1_, short jarg2); - public final static native void delete_ColorARGB(long jarg1); - public final static native long new_ColorRGB__SWIG_0(); - public final static native long new_ColorRGB__SWIG_1(short jarg1, short jarg2, short jarg3); - public final static native long new_ColorRGB__SWIG_2(long jarg1, ColorARGB jarg1_); - public final static native long new_ColorRGB__SWIG_3(long jarg1, FColorRGB jarg1_); - public final static native void ColorRGB_r_set(long jarg1, ColorRGB jarg1_, short jarg2); - public final static native short ColorRGB_r_get(long jarg1, ColorRGB jarg1_); - public final static native void ColorRGB_g_set(long jarg1, ColorRGB jarg1_, short jarg2); - public final static native short ColorRGB_g_get(long jarg1, ColorRGB jarg1_); - public final static native void ColorRGB_b_set(long jarg1, ColorRGB jarg1_, short jarg2); - public final static native short ColorRGB_b_get(long jarg1, ColorRGB jarg1_); - public final static native long ColorRGB_withAlpha(long jarg1, ColorRGB jarg1_, short jarg2); - public final static native void delete_ColorRGB(long jarg1); - public final static native int LanguageId_Invariant_get(); - public final static native void LatLon_latitude_set(long jarg1, LatLon jarg1_, double jarg2); - public final static native double LatLon_latitude_get(long jarg1, LatLon jarg1_); - public final static native void LatLon_longitude_set(long jarg1, LatLon jarg1_, double jarg2); - public final static native double LatLon_longitude_get(long jarg1, LatLon jarg1_); - public final static native long new_LatLon__SWIG_0(); - public final static native long new_LatLon__SWIG_1(long jarg1, LatLon jarg1_); - public final static native long new_LatLon__SWIG_2(double jarg1, double jarg2); - public final static native void delete_LatLon(long jarg1); - public final static native void PointI_x_set(long jarg1, PointI jarg1_, int jarg2); - public final static native int PointI_x_get(long jarg1, PointI jarg1_); - public final static native void PointI_y_set(long jarg1, PointI jarg1_, int jarg2); - public final static native int PointI_y_get(long jarg1, PointI jarg1_); - public final static native long new_PointI__SWIG_0(); - public final static native long new_PointI__SWIG_1(long jarg1, PointI jarg1_); - public final static native long new_PointI__SWIG_2(int jarg1, int jarg2); - public final static native void delete_PointI(long jarg1); - public final static native void PointF_x_set(long jarg1, PointF jarg1_, float jarg2); - public final static native float PointF_x_get(long jarg1, PointF jarg1_); - public final static native void PointF_y_set(long jarg1, PointF jarg1_, float jarg2); - public final static native float PointF_y_get(long jarg1, PointF jarg1_); - public final static native long new_PointF__SWIG_0(); - public final static native long new_PointF__SWIG_1(long jarg1, PointF jarg1_); - public final static native long new_PointF__SWIG_2(float jarg1, float jarg2); - public final static native void delete_PointF(long jarg1); - public final static native void PointD_x_set(long jarg1, PointD jarg1_, double jarg2); - public final static native double PointD_x_get(long jarg1, PointD jarg1_); - public final static native void PointD_y_set(long jarg1, PointD jarg1_, double jarg2); - public final static native double PointD_y_get(long jarg1, PointD jarg1_); - public final static native long new_PointD__SWIG_0(); - public final static native long new_PointD__SWIG_1(long jarg1, PointD jarg1_); - public final static native long new_PointD__SWIG_2(double jarg1, double jarg2); - public final static native void delete_PointD(long jarg1); - public final static native long new_AreaI__SWIG_0(); - public final static native long new_AreaI__SWIG_1(int jarg1, int jarg2, int jarg3, int jarg4); - public final static native long new_AreaI__SWIG_2(long jarg1, PointI jarg1_, long jarg2, PointI jarg2_); - public final static native long new_AreaI__SWIG_3(long jarg1, AreaI jarg1_); - public final static native void AreaI_topLeft_set(long jarg1, AreaI jarg1_, long jarg2, PointI jarg2_); - public final static native long AreaI_topLeft_get(long jarg1, AreaI jarg1_); - public final static native void AreaI_bottomRight_set(long jarg1, AreaI jarg1_, long jarg2, PointI jarg2_); - public final static native long AreaI_bottomRight_get(long jarg1, AreaI jarg1_); - public final static native boolean AreaI_contains__SWIG_0(long jarg1, AreaI jarg1_, int jarg2, int jarg3); - public final static native boolean AreaI_contains__SWIG_1(long jarg1, AreaI jarg1_, long jarg2, PointI jarg2_); - public final static native boolean AreaI_contains__SWIG_2(long jarg1, AreaI jarg1_, int jarg2, int jarg3, int jarg4, int jarg5); - public final static native boolean AreaI_contains__SWIG_3(long jarg1, AreaI jarg1_, long jarg2, AreaI jarg2_); - public final static native boolean AreaI_intersects__SWIG_0(long jarg1, AreaI jarg1_, int jarg2, int jarg3, int jarg4, int jarg5); - public final static native boolean AreaI_intersects__SWIG_1(long jarg1, AreaI jarg1_, long jarg2, AreaI jarg2_); - public final static native boolean AreaI_contains__SWIG_4(long jarg1, AreaI jarg1_, long jarg2, OOBBI jarg2_); - public final static native boolean AreaI_intersects__SWIG_2(long jarg1, AreaI jarg1_, long jarg2, OOBBI jarg2_); - public final static native int AreaI_width(long jarg1, AreaI jarg1_); - public final static native int AreaI_height(long jarg1, AreaI jarg1_); - public final static native long AreaI_center(long jarg1, AreaI jarg1_); - public final static native long AreaI_topRight(long jarg1, AreaI jarg1_); - public final static native long AreaI_bottomLeft(long jarg1, AreaI jarg1_); - public final static native long AreaI_getQuadrant(long jarg1, AreaI jarg1_, int jarg2); - public final static native long AreaI_getEnlargedToInclude(long jarg1, AreaI jarg1_, long jarg2, PointI jarg2_); - public final static native long AreaI_getEnlargedBy__SWIG_0(long jarg1, AreaI jarg1_, long jarg2, PointI jarg2_); - public final static native long AreaI_getEnlargedBy__SWIG_1(long jarg1, AreaI jarg1_, int jarg2, int jarg3, int jarg4, int jarg5); - public final static native long AreaI_largest(); - public final static native long AreaI_fromCenterAndSize(int jarg1, int jarg2, int jarg3, int jarg4); - public final static native void delete_AreaI(long jarg1); - public final static native long new_AreaF__SWIG_0(); - public final static native long new_AreaF__SWIG_1(float jarg1, float jarg2, float jarg3, float jarg4); - public final static native long new_AreaF__SWIG_2(long jarg1, PointF jarg1_, long jarg2, PointF jarg2_); - public final static native long new_AreaF__SWIG_3(long jarg1, AreaF jarg1_); - public final static native void AreaF_topLeft_set(long jarg1, AreaF jarg1_, long jarg2, PointF jarg2_); - public final static native long AreaF_topLeft_get(long jarg1, AreaF jarg1_); - public final static native void AreaF_bottomRight_set(long jarg1, AreaF jarg1_, long jarg2, PointF jarg2_); - public final static native long AreaF_bottomRight_get(long jarg1, AreaF jarg1_); - public final static native boolean AreaF_contains__SWIG_0(long jarg1, AreaF jarg1_, float jarg2, float jarg3); - public final static native boolean AreaF_contains__SWIG_1(long jarg1, AreaF jarg1_, long jarg2, PointF jarg2_); - public final static native boolean AreaF_contains__SWIG_2(long jarg1, AreaF jarg1_, float jarg2, float jarg3, float jarg4, float jarg5); - public final static native boolean AreaF_contains__SWIG_3(long jarg1, AreaF jarg1_, long jarg2, AreaF jarg2_); - public final static native boolean AreaF_intersects__SWIG_0(long jarg1, AreaF jarg1_, float jarg2, float jarg3, float jarg4, float jarg5); - public final static native boolean AreaF_intersects__SWIG_1(long jarg1, AreaF jarg1_, long jarg2, AreaF jarg2_); - public final static native boolean AreaF_contains__SWIG_4(long jarg1, AreaF jarg1_, long jarg2, OOBBF jarg2_); - public final static native boolean AreaF_intersects__SWIG_2(long jarg1, AreaF jarg1_, long jarg2, OOBBF jarg2_); - public final static native float AreaF_width(long jarg1, AreaF jarg1_); - public final static native float AreaF_height(long jarg1, AreaF jarg1_); - public final static native long AreaF_center(long jarg1, AreaF jarg1_); - public final static native long AreaF_topRight(long jarg1, AreaF jarg1_); - public final static native long AreaF_bottomLeft(long jarg1, AreaF jarg1_); - public final static native long AreaF_getQuadrant(long jarg1, AreaF jarg1_, int jarg2); - public final static native long AreaF_getEnlargedToInclude(long jarg1, AreaF jarg1_, long jarg2, PointF jarg2_); - public final static native long AreaF_getEnlargedBy__SWIG_0(long jarg1, AreaF jarg1_, long jarg2, PointF jarg2_); - public final static native long AreaF_getEnlargedBy__SWIG_1(long jarg1, AreaF jarg1_, float jarg2, float jarg3, float jarg4, float jarg5); - public final static native long AreaF_largest(); - public final static native long AreaF_fromCenterAndSize(float jarg1, float jarg2, float jarg3, float jarg4); - public final static native void delete_AreaF(long jarg1); - public final static native long new_AreaD__SWIG_0(); - public final static native long new_AreaD__SWIG_1(double jarg1, double jarg2, double jarg3, double jarg4); - public final static native long new_AreaD__SWIG_2(long jarg1, PointD jarg1_, long jarg2, PointD jarg2_); - public final static native long new_AreaD__SWIG_3(long jarg1, AreaD jarg1_); - public final static native void AreaD_topLeft_set(long jarg1, AreaD jarg1_, long jarg2, PointD jarg2_); - public final static native long AreaD_topLeft_get(long jarg1, AreaD jarg1_); - public final static native void AreaD_bottomRight_set(long jarg1, AreaD jarg1_, long jarg2, PointD jarg2_); - public final static native long AreaD_bottomRight_get(long jarg1, AreaD jarg1_); - public final static native boolean AreaD_contains__SWIG_0(long jarg1, AreaD jarg1_, double jarg2, double jarg3); - public final static native boolean AreaD_contains__SWIG_1(long jarg1, AreaD jarg1_, long jarg2, PointD jarg2_); - public final static native boolean AreaD_contains__SWIG_2(long jarg1, AreaD jarg1_, double jarg2, double jarg3, double jarg4, double jarg5); - public final static native boolean AreaD_contains__SWIG_3(long jarg1, AreaD jarg1_, long jarg2, AreaD jarg2_); - public final static native boolean AreaD_intersects__SWIG_0(long jarg1, AreaD jarg1_, double jarg2, double jarg3, double jarg4, double jarg5); - public final static native boolean AreaD_intersects__SWIG_1(long jarg1, AreaD jarg1_, long jarg2, AreaD jarg2_); - public final static native boolean AreaD_contains__SWIG_4(long jarg1, AreaD jarg1_, long jarg2, OOBBD jarg2_); - public final static native boolean AreaD_intersects__SWIG_2(long jarg1, AreaD jarg1_, long jarg2, OOBBD jarg2_); - public final static native double AreaD_width(long jarg1, AreaD jarg1_); - public final static native double AreaD_height(long jarg1, AreaD jarg1_); - public final static native long AreaD_center(long jarg1, AreaD jarg1_); - public final static native long AreaD_topRight(long jarg1, AreaD jarg1_); - public final static native long AreaD_bottomLeft(long jarg1, AreaD jarg1_); - public final static native long AreaD_getQuadrant(long jarg1, AreaD jarg1_, int jarg2); - public final static native long AreaD_getEnlargedToInclude(long jarg1, AreaD jarg1_, long jarg2, PointD jarg2_); - public final static native long AreaD_getEnlargedBy__SWIG_0(long jarg1, AreaD jarg1_, long jarg2, PointD jarg2_); - public final static native long AreaD_getEnlargedBy__SWIG_1(long jarg1, AreaD jarg1_, double jarg2, double jarg3, double jarg4, double jarg5); - public final static native long AreaD_largest(); - public final static native long AreaD_fromCenterAndSize(double jarg1, double jarg2, double jarg3, double jarg4); - public final static native void delete_AreaD(long jarg1); - public final static native long new_OOBBI__SWIG_0(); - public final static native long new_OOBBI__SWIG_1(long jarg1, AreaI jarg1_, float jarg2); - public final static native boolean OOBBI_contains__SWIG_0(long jarg1, OOBBI jarg1_, long jarg2, OOBBI jarg2_); - public final static native boolean OOBBI_intersects__SWIG_0(long jarg1, OOBBI jarg1_, long jarg2, OOBBI jarg2_); - public final static native boolean OOBBI_contains__SWIG_1(long jarg1, OOBBI jarg1_, long jarg2, AreaI jarg2_); - public final static native boolean OOBBI_contains__SWIG_2(long jarg1, OOBBI jarg1_, long jarg2, PointI jarg2_); - public final static native boolean OOBBI_intersects__SWIG_1(long jarg1, OOBBI jarg1_, long jarg2, AreaI jarg2_); - public final static native long OOBBI_getEnlargedBy__SWIG_0(long jarg1, OOBBI jarg1_, long jarg2, PointI jarg2_); - public final static native long OOBBI_getEnlargedBy__SWIG_1(long jarg1, OOBBI jarg1_, int jarg2, int jarg3, int jarg4, int jarg5); - public final static native void delete_OOBBI(long jarg1); - public final static native long new_OOBBF__SWIG_0(); - public final static native long new_OOBBF__SWIG_1(long jarg1, AreaF jarg1_, float jarg2); - public final static native boolean OOBBF_contains__SWIG_0(long jarg1, OOBBF jarg1_, long jarg2, OOBBF jarg2_); - public final static native boolean OOBBF_intersects__SWIG_0(long jarg1, OOBBF jarg1_, long jarg2, OOBBF jarg2_); - public final static native boolean OOBBF_contains__SWIG_1(long jarg1, OOBBF jarg1_, long jarg2, AreaF jarg2_); - public final static native boolean OOBBF_contains__SWIG_2(long jarg1, OOBBF jarg1_, long jarg2, PointF jarg2_); - public final static native boolean OOBBF_intersects__SWIG_1(long jarg1, OOBBF jarg1_, long jarg2, AreaF jarg2_); - public final static native long OOBBF_getEnlargedBy__SWIG_0(long jarg1, OOBBF jarg1_, long jarg2, PointF jarg2_); - public final static native long OOBBF_getEnlargedBy__SWIG_1(long jarg1, OOBBF jarg1_, float jarg2, float jarg3, float jarg4, float jarg5); - public final static native void delete_OOBBF(long jarg1); - public final static native long new_OOBBD__SWIG_0(); - public final static native long new_OOBBD__SWIG_1(long jarg1, AreaD jarg1_, float jarg2); - public final static native boolean OOBBD_contains__SWIG_0(long jarg1, OOBBD jarg1_, long jarg2, OOBBD jarg2_); - public final static native boolean OOBBD_intersects__SWIG_0(long jarg1, OOBBD jarg1_, long jarg2, OOBBD jarg2_); - public final static native boolean OOBBD_contains__SWIG_1(long jarg1, OOBBD jarg1_, long jarg2, AreaD jarg2_); - public final static native boolean OOBBD_contains__SWIG_2(long jarg1, OOBBD jarg1_, long jarg2, PointD jarg2_); - public final static native boolean OOBBD_intersects__SWIG_1(long jarg1, OOBBD jarg1_, long jarg2, AreaD jarg2_); - public final static native long OOBBD_getEnlargedBy__SWIG_0(long jarg1, OOBBD jarg1_, long jarg2, PointD jarg2_); - public final static native long OOBBD_getEnlargedBy__SWIG_1(long jarg1, OOBBD jarg1_, double jarg2, double jarg3, double jarg4, double jarg5); - public final static native void delete_OOBBD(long jarg1); - public final static native long new_MapRendererStateChanges__SWIG_0(); - public final static native long new_MapRendererStateChanges__SWIG_1(long jarg1); - public final static native long new_MapRendererStateChanges__SWIG_2(long jarg1); - public final static native void delete_MapRendererStateChanges(long jarg1); - public final static native boolean MapRendererStateChanges_isSet(long jarg1, MapRendererStateChanges jarg1_, int jarg2); - public final static native long MapRendererStateChanges_set(long jarg1, MapRendererStateChanges jarg1_, int jarg2); - public final static native long MapRendererStateChanges_unset(long jarg1, MapRendererStateChanges jarg1_, int jarg2); - public final static native long MapRendererStateChanges_unite(long jarg1, MapRendererStateChanges jarg1_, long jarg2); - public final static native void delete_IObfsCollection(long jarg1); - public final static native long IObfsCollection_getObfFiles(long jarg1, IObfsCollection jarg1_); - public final static native long IObfsCollection_obtainDataInterface(long jarg1, IObfsCollection jarg1_); - public final static native long new_ObfsCollection(); - public final static native void delete_ObfsCollection(long jarg1); - public final static native int ObfsCollection_addDirectory__SWIG_0(long jarg1, ObfsCollection jarg1_, long jarg2, boolean jarg3); - public final static native int ObfsCollection_addDirectory__SWIG_1(long jarg1, ObfsCollection jarg1_, long jarg2); - public final static native int ObfsCollection_addDirectory__SWIG_2(long jarg1, ObfsCollection jarg1_, String jarg2, boolean jarg3); - public final static native int ObfsCollection_addDirectory__SWIG_3(long jarg1, ObfsCollection jarg1_, String jarg2); - public final static native int ObfsCollection_addFile__SWIG_0(long jarg1, ObfsCollection jarg1_, long jarg2); - public final static native int ObfsCollection_addFile__SWIG_1(long jarg1, ObfsCollection jarg1_, String jarg2); - public final static native boolean ObfsCollection_remove(long jarg1, ObfsCollection jarg1_, int jarg2); - public final static native long ObfsCollection_getObfFiles(long jarg1, ObfsCollection jarg1_); - public final static native long ObfsCollection_obtainDataInterface(long jarg1, ObfsCollection jarg1_); - public final static native long new_ObfDataInterface(long jarg1); - public final static native void delete_ObfDataInterface(long jarg1); - public final static native long ObfDataInterface_obfReaders_get(long jarg1, ObfDataInterface jarg1_); - public final static native boolean ObfDataInterface_loadObfFiles__SWIG_0(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3); - public final static native boolean ObfDataInterface_loadObfFiles__SWIG_1(long jarg1, ObfDataInterface jarg1_, long jarg2); - public final static native boolean ObfDataInterface_loadObfFiles__SWIG_2(long jarg1, ObfDataInterface jarg1_); - public final static native boolean ObfDataInterface_loadBasemapPresenceFlag__SWIG_0(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3); - public final static native boolean ObfDataInterface_loadBasemapPresenceFlag__SWIG_1(long jarg1, ObfDataInterface jarg1_, long jarg2); - public final static native boolean ObfDataInterface_loadMapObjects__SWIG_0(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, int jarg4, long jarg5, AreaI jarg5_, long jarg6, long jarg7, long jarg8, long jarg9, long jarg10); - public final static native boolean ObfDataInterface_loadMapObjects__SWIG_1(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, int jarg4, long jarg5, AreaI jarg5_, long jarg6, long jarg7, long jarg8, long jarg9); - public final static native boolean ObfDataInterface_loadMapObjects__SWIG_2(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, int jarg4, long jarg5, AreaI jarg5_, long jarg6, long jarg7, long jarg8); - public final static native boolean ObfDataInterface_loadMapObjects__SWIG_3(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, int jarg4, long jarg5, AreaI jarg5_, long jarg6, long jarg7); - public final static native boolean ObfDataInterface_loadMapObjects__SWIG_4(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, int jarg4, long jarg5, AreaI jarg5_, long jarg6); - public final static native boolean ObfDataInterface_loadMapObjects__SWIG_5(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, int jarg4, long jarg5, AreaI jarg5_); - public final static native boolean ObfDataInterface_loadMapObjects__SWIG_6(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, int jarg4); - public final static native boolean ObfDataInterface_loadRoads__SWIG_0(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, AreaI jarg3_, long jarg4, long jarg5, long jarg6, long jarg7, long jarg8, long jarg9, long jarg10); - public final static native boolean ObfDataInterface_loadRoads__SWIG_1(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, AreaI jarg3_, long jarg4, long jarg5, long jarg6, long jarg7, long jarg8, long jarg9); - public final static native boolean ObfDataInterface_loadRoads__SWIG_2(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, AreaI jarg3_, long jarg4, long jarg5, long jarg6, long jarg7, long jarg8); - public final static native boolean ObfDataInterface_loadRoads__SWIG_3(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, AreaI jarg3_, long jarg4, long jarg5, long jarg6, long jarg7); - public final static native boolean ObfDataInterface_loadRoads__SWIG_4(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, AreaI jarg3_, long jarg4, long jarg5, long jarg6); - public final static native boolean ObfDataInterface_loadRoads__SWIG_5(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, AreaI jarg3_, long jarg4, long jarg5); - public final static native boolean ObfDataInterface_loadRoads__SWIG_6(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, AreaI jarg3_, long jarg4); - public final static native boolean ObfDataInterface_loadRoads__SWIG_7(long jarg1, ObfDataInterface jarg1_, long jarg2, long jarg3, AreaI jarg3_); - public final static native boolean ObfDataInterface_loadRoads__SWIG_8(long jarg1, ObfDataInterface jarg1_, long jarg2); - public final static native int ResourcesManager_ResourceType_Unknown_get(); - public final static native long new_ResourcesManager_Resource_Metadata(); - public final static native void delete_ResourcesManager_Resource_Metadata(long jarg1); - public final static native void delete_ResourcesManager_Resource(long jarg1); - public final static native String ResourcesManager_Resource_id_get(long jarg1, ResourcesManager.Resource jarg1_); - public final static native int ResourcesManager_Resource_type_get(long jarg1, ResourcesManager.Resource jarg1_); - public final static native int ResourcesManager_Resource_origin_get(long jarg1, ResourcesManager.Resource jarg1_); - public final static native long ResourcesManager_Resource_metadata_get(long jarg1, ResourcesManager.Resource jarg1_); - public final static native void delete_ResourcesManager_LocalResource(long jarg1); - public final static native String ResourcesManager_LocalResource_localPath_get(long jarg1, ResourcesManager.LocalResource jarg1_); - public final static native java.math.BigInteger ResourcesManager_LocalResource_size_get(long jarg1, ResourcesManager.LocalResource jarg1_); - public final static native void delete_ResourcesManager_UnmanagedResource(long jarg1); - public final static native String ResourcesManager_UnmanagedResource_name_get(long jarg1, ResourcesManager.UnmanagedResource jarg1_); - public final static native void delete_ResourcesManager_InstalledResource(long jarg1); - public final static native java.math.BigInteger ResourcesManager_InstalledResource_timestamp_get(long jarg1, ResourcesManager.InstalledResource jarg1_); - public final static native void delete_ResourcesManager_BuiltinResource(long jarg1); - public final static native void delete_ResourcesManager_ResourceInRepository(long jarg1); - public final static native long ResourcesManager_ResourceInRepository_url_get(long jarg1, ResourcesManager.ResourceInRepository jarg1_); - public final static native java.math.BigInteger ResourcesManager_ResourceInRepository_size_get(long jarg1, ResourcesManager.ResourceInRepository jarg1_); - public final static native java.math.BigInteger ResourcesManager_ResourceInRepository_timestamp_get(long jarg1, ResourcesManager.ResourceInRepository jarg1_); - public final static native java.math.BigInteger ResourcesManager_ResourceInRepository_packageSize_get(long jarg1, ResourcesManager.ResourceInRepository jarg1_); - public final static native long new_ResourcesManager_ObfMetadata(long jarg1, ObfFile jarg1_); - public final static native void delete_ResourcesManager_ObfMetadata(long jarg1); - public final static native long ResourcesManager_ObfMetadata_obfFile_get(long jarg1, ResourcesManager.ObfMetadata jarg1_); - public final static native long new_ResourcesManager_MapStyleMetadata(long jarg1); - public final static native void delete_ResourcesManager_MapStyleMetadata(long jarg1); - public final static native long ResourcesManager_MapStyleMetadata_mapStyle_get(long jarg1, ResourcesManager.MapStyleMetadata jarg1_); - public final static native long new_ResourcesManager_MapStylesPresetsMetadata(long jarg1, MapStylesPresetsCollection jarg1_); - public final static native void delete_ResourcesManager_MapStylesPresetsMetadata(long jarg1); - public final static native long ResourcesManager_MapStylesPresetsMetadata_presets_get(long jarg1, ResourcesManager.MapStylesPresetsMetadata jarg1_); - public final static native long new_ResourcesManager_OnlineTileSourcesMetadata(long jarg1, OnlineTileSources jarg1_); - public final static native void delete_ResourcesManager_OnlineTileSourcesMetadata(long jarg1); - public final static native long ResourcesManager_OnlineTileSourcesMetadata_sources_get(long jarg1, ResourcesManager.OnlineTileSourcesMetadata jarg1_); - public final static native long new_ResourcesManager__SWIG_0(String jarg1, String jarg2, long jarg3, QStringList jarg3_, String jarg4, String jarg5, String jarg6); - public final static native long new_ResourcesManager__SWIG_1(String jarg1, String jarg2, long jarg3, QStringList jarg3_, String jarg4, String jarg5); - public final static native long new_ResourcesManager__SWIG_2(String jarg1, String jarg2, long jarg3, QStringList jarg3_, String jarg4); - public final static native long new_ResourcesManager__SWIG_3(String jarg1, String jarg2, long jarg3, QStringList jarg3_); - public final static native long new_ResourcesManager__SWIG_4(String jarg1, String jarg2); - public final static native long new_ResourcesManager__SWIG_5(String jarg1); - public final static native void delete_ResourcesManager(long jarg1); - public final static native String ResourcesManager_localStoragePath_get(long jarg1, ResourcesManager jarg1_); - public final static native String ResourcesManager_userStoragePath_get(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_readonlyExternalStoragePaths_get(long jarg1, ResourcesManager jarg1_); - public final static native String ResourcesManager_miniBasemapFilename_get(long jarg1, ResourcesManager jarg1_); - public final static native String ResourcesManager_localTemporaryPath_get(long jarg1, ResourcesManager jarg1_); - public final static native String ResourcesManager_repositoryBaseUrl_get(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_getResource(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native long ResourcesManager_getBuiltInResources(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_getBuiltInResource(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_isBuiltInResource(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_rescanUnmanagedStoragePaths(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_getLocalResources(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_getLocalResource(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_isLocalResource(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_isRepositoryAvailable(long jarg1, ResourcesManager jarg1_); - public final static native boolean ResourcesManager_updateRepository(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_getResourcesInRepository(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_getResourceInRepository(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_isResourceInRepository(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_isResourceInstalled(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_uninstallResource(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_installFromFile__SWIG_0(long jarg1, ResourcesManager jarg1_, String jarg2, int jarg3); - public final static native boolean ResourcesManager_installFromFile__SWIG_1(long jarg1, ResourcesManager jarg1_, String jarg2, String jarg3, int jarg4); - public final static native boolean ResourcesManager_installFromRepository__SWIG_0(long jarg1, ResourcesManager jarg1_, String jarg2, long jarg3); - public final static native boolean ResourcesManager_installFromRepository__SWIG_1(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_installFromRepository__SWIG_2(long jarg1, ResourcesManager jarg1_, String jarg2, String jarg3); - public final static native boolean ResourcesManager_isInstalledResourceOutdated(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native long ResourcesManager_getOutdatedInstalledResources(long jarg1, ResourcesManager jarg1_); - public final static native boolean ResourcesManager_updateFromFile__SWIG_0(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_updateFromFile__SWIG_1(long jarg1, ResourcesManager jarg1_, String jarg2, String jarg3); - public final static native boolean ResourcesManager_updateFromRepository__SWIG_0(long jarg1, ResourcesManager jarg1_, String jarg2, long jarg3); - public final static native boolean ResourcesManager_updateFromRepository__SWIG_1(long jarg1, ResourcesManager jarg1_, String jarg2); - public final static native boolean ResourcesManager_updateFromRepository__SWIG_2(long jarg1, ResourcesManager jarg1_, String jarg2, String jarg3); - public final static native long new_ResourcesManager_ILocalResourcesChanged(); - public final static native void delete_ResourcesManager_ILocalResourcesChanged(long jarg1); - public final static native void ResourcesManager_ILocalResourcesChanged_method(long jarg1, ResourcesManager.ILocalResourcesChanged jarg1_, long jarg2, ResourcesManager jarg2_, long jarg3, QStringList jarg3_, long jarg4, QStringList jarg4_, long jarg5, QStringList jarg5_); - public final static native boolean ResourcesManager_ILocalResourcesChanged_attachTo(long jarg1, ResourcesManager.ILocalResourcesChanged jarg1_, long jarg2, long jarg3); - public final static native long ResourcesManager_ILocalResourcesChanged_getBinding(long jarg1, ResourcesManager.ILocalResourcesChanged jarg1_); - public final static native void ResourcesManager_ILocalResourcesChanged_director_connect(ResourcesManager.ILocalResourcesChanged obj, long cptr, boolean mem_own, boolean weak_global); - public final static native void ResourcesManager_ILocalResourcesChanged_change_ownership(ResourcesManager.ILocalResourcesChanged obj, long cptr, boolean take_or_release); - public final static native long ResourcesManager_localResourcesChangeObservable_get(long jarg1, ResourcesManager jarg1_); - public final static native long new_ResourcesManager_IRepositoryUpdated(); - public final static native void delete_ResourcesManager_IRepositoryUpdated(long jarg1); - public final static native void ResourcesManager_IRepositoryUpdated_method(long jarg1, ResourcesManager.IRepositoryUpdated jarg1_, long jarg2, ResourcesManager jarg2_); - public final static native boolean ResourcesManager_IRepositoryUpdated_attachTo(long jarg1, ResourcesManager.IRepositoryUpdated jarg1_, long jarg2, long jarg3); - public final static native long ResourcesManager_IRepositoryUpdated_getBinding(long jarg1, ResourcesManager.IRepositoryUpdated jarg1_); - public final static native void ResourcesManager_IRepositoryUpdated_director_connect(ResourcesManager.IRepositoryUpdated obj, long cptr, boolean mem_own, boolean weak_global); - public final static native void ResourcesManager_IRepositoryUpdated_change_ownership(ResourcesManager.IRepositoryUpdated obj, long cptr, boolean take_or_release); - public final static native long ResourcesManager_repositoryUpdateObservable_get(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_onlineTileSources_get(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_mapStylesCollection_get(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_mapStylesPresetsCollection_get(long jarg1, ResourcesManager jarg1_); - public final static native long ResourcesManager_obfsCollection_get(long jarg1, ResourcesManager jarg1_); - public final static native long new_ICoreResourcesProvider(); - public final static native void delete_ICoreResourcesProvider(long jarg1); - public final static native long ICoreResourcesProvider_getResource__SWIG_0(long jarg1, ICoreResourcesProvider jarg1_, String jarg2, float jarg3, long jarg4); - public final static native long ICoreResourcesProvider_getResource__SWIG_1(long jarg1, ICoreResourcesProvider jarg1_, String jarg2, float jarg3); - public final static native long ICoreResourcesProvider_getResource__SWIG_2(long jarg1, ICoreResourcesProvider jarg1_, String jarg2, long jarg3); - public final static native long ICoreResourcesProvider_getResource__SWIG_3(long jarg1, ICoreResourcesProvider jarg1_, String jarg2); - public final static native long ICoreResourcesProvider_getResourceAsBitmap__SWIG_0(long jarg1, ICoreResourcesProvider jarg1_, String jarg2, float jarg3); - public final static native long ICoreResourcesProvider_getResourceAsBitmapSwigExplicitICoreResourcesProvider__SWIG_0(long jarg1, ICoreResourcesProvider jarg1_, String jarg2, float jarg3); - public final static native long ICoreResourcesProvider_getResourceAsBitmap__SWIG_1(long jarg1, ICoreResourcesProvider jarg1_, String jarg2); - public final static native long ICoreResourcesProvider_getResourceAsBitmapSwigExplicitICoreResourcesProvider__SWIG_1(long jarg1, ICoreResourcesProvider jarg1_, String jarg2); - public final static native boolean ICoreResourcesProvider_containsResource__SWIG_0(long jarg1, ICoreResourcesProvider jarg1_, String jarg2, float jarg3); - public final static native boolean ICoreResourcesProvider_containsResource__SWIG_1(long jarg1, ICoreResourcesProvider jarg1_, String jarg2); - public final static native void ICoreResourcesProvider_director_connect(ICoreResourcesProvider obj, long cptr, boolean mem_own, boolean weak_global); - public final static native void ICoreResourcesProvider_change_ownership(ICoreResourcesProvider obj, long cptr, boolean take_or_release); - public final static native void delete_CoreResourcesEmbeddedBundle(long jarg1); - public final static native long CoreResourcesEmbeddedBundle_getResource__SWIG_0(long jarg1, CoreResourcesEmbeddedBundle jarg1_, String jarg2, float jarg3, long jarg4); - public final static native long CoreResourcesEmbeddedBundle_getResource__SWIG_1(long jarg1, CoreResourcesEmbeddedBundle jarg1_, String jarg2, float jarg3); - public final static native long CoreResourcesEmbeddedBundle_getResource__SWIG_2(long jarg1, CoreResourcesEmbeddedBundle jarg1_, String jarg2, long jarg3); - public final static native long CoreResourcesEmbeddedBundle_getResource__SWIG_3(long jarg1, CoreResourcesEmbeddedBundle jarg1_, String jarg2); - public final static native boolean CoreResourcesEmbeddedBundle_containsResource__SWIG_0(long jarg1, CoreResourcesEmbeddedBundle jarg1_, String jarg2, float jarg3); - public final static native boolean CoreResourcesEmbeddedBundle_containsResource__SWIG_1(long jarg1, CoreResourcesEmbeddedBundle jarg1_, String jarg2); - public final static native long CoreResourcesEmbeddedBundle_loadFromCurrentExecutable(); - public final static native long CoreResourcesEmbeddedBundle_loadFromLibrary(String jarg1); - public final static native int LogSeverityLevel_Error_get(); - public final static native void delete_Logger(long jarg1); - public final static native long Logger_getCurrentLogSinks(long jarg1, Logger jarg1_); - public final static native void Logger_addLogSink(long jarg1, Logger jarg1_, long jarg2, ILogSink jarg2_); - public final static native void Logger_removeLogSink(long jarg1, Logger jarg1_, long jarg2, ILogSink jarg2_); - public final static native void Logger_removeAllLogSinks(long jarg1, Logger jarg1_); - public final static native void Logger_flush(long jarg1, Logger jarg1_); - public final static native long Logger_get(); - public final static native void LogPrintf(int jarg1, String jarg2); - public final static native void LogFlush(); - public final static native void delete_ILogSink(long jarg1); - public final static native void ILogSink_flush(long jarg1, ILogSink jarg1_); - public final static native long new_DefaultLogSink(); - public final static native void delete_DefaultLogSink(long jarg1); - public final static native void DefaultLogSink_flush(long jarg1, DefaultLogSink jarg1_); - public final static native long new_QIODeviceLogSink__SWIG_0(long jarg1, boolean jarg2); - public final static native long new_QIODeviceLogSink__SWIG_1(long jarg1); - public final static native void delete_QIODeviceLogSink(long jarg1); - public final static native void QIODeviceLogSink_flush(long jarg1, QIODeviceLogSink jarg1_); - public final static native long QIODeviceLogSink_createFileLogSink(String jarg1); - public final static native double Utilities_toRadians(double jarg1); - public final static native int Utilities_get31TileNumberX(double jarg1); - public final static native int Utilities_get31TileNumberY(double jarg1); - public final static native long Utilities_convertLatLonTo31(long jarg1, LatLon jarg1_); - public final static native double Utilities_get31LongitudeX(double jarg1); - public final static native double Utilities_get31LatitudeY(double jarg1); - public final static native long Utilities_convert31ToLatLon(long jarg1, PointI jarg1_); - public final static native double Utilities_getTileNumberX(float jarg1, double jarg2); - public final static native double Utilities_getTileNumberY(float jarg1, double jarg2); - public final static native float Utilities_convert31toFloat__SWIG_0(int jarg1, int jarg2); - public final static native long Utilities_convert31toFloat__SWIG_1(long jarg1, PointI jarg1_, int jarg2); - public final static native double Utilities_normalizeLatitude(double jarg1); - public final static native double Utilities_normalizeLongitude(double jarg1); - public final static native double Utilities_getPowZoom(float jarg1); - public final static native double Utilities_getLongitudeFromTile(float jarg1, double jarg2); - public final static native double Utilities_getLatitudeFromTile(float jarg1, double jarg2); - public final static native double Utilities_x31toMeters(int jarg1); - public final static native double Utilities_y31toMeters(int jarg1); - public final static native long Utilities_metersToX31(double jarg1); - public final static native long Utilities_metersToY31(double jarg1); - public final static native double Utilities_squareDistance31__SWIG_0(int jarg1, int jarg2, int jarg3, int jarg4); - public final static native double Utilities_distance31__SWIG_0(int jarg1, int jarg2, int jarg3, int jarg4); - public final static native double Utilities_squareDistance31__SWIG_1(long jarg1, PointI jarg1_, long jarg2, PointI jarg2_); - public final static native double Utilities_distance31__SWIG_1(long jarg1, PointI jarg1_, long jarg2, PointI jarg2_); - public final static native double Utilities_distance(double jarg1, double jarg2, double jarg3, double jarg4); - public final static native double Utilities_projection31(int jarg1, int jarg2, int jarg3, int jarg4, int jarg5, int jarg6); - public final static native double Utilities_normalizedAngleRadians(double jarg1); - public final static native double Utilities_normalizedAngleDegrees(double jarg1); - public final static native double Utilities_polygonArea(long jarg1); - public final static native boolean Utilities_rayIntersectX__SWIG_0(long jarg1, PointF jarg1_, long jarg2, PointF jarg2_, float jarg3, long jarg4); - public final static native boolean Utilities_rayIntersect__SWIG_0(long jarg1, PointF jarg1_, long jarg2, PointF jarg2_, long jarg3, PointF jarg3_); - public final static native boolean Utilities_rayIntersectX__SWIG_1(long jarg1, PointI jarg1_, long jarg2, PointI jarg2_, int jarg3, long jarg4); - public final static native boolean Utilities_rayIntersect__SWIG_1(long jarg1, PointI jarg1_, long jarg2, PointI jarg2_, long jarg3, PointI jarg3_); - public final static native double Utilities_degreesDiff(double jarg1, double jarg2); - public final static native long Utilities_tileBoundingBox31(long jarg1, TileId jarg1_, int jarg2); - public final static native long Utilities_areaRightShift(long jarg1, AreaI jarg1_, long jarg2); - public final static native long Utilities_areaLeftShift(long jarg1, AreaI jarg1_, long jarg2); - public final static native long Utilities_getNextPowerOfTwo(long jarg1); - public final static native double Utilities_getMetersPerTileUnit(float jarg1, double jarg2, double jarg3); - public final static native long Utilities_normalizeTileId(long jarg1, TileId jarg1_, int jarg2); - public final static native long Utilities_normalizeCoordinates(long jarg1, PointI jarg1_, int jarg2); - public final static native int Utilities_CHCode_Left_get(); - public final static native boolean Utilities_extractFirstNumberPosition(String jarg1, long jarg2, long jarg3, boolean jarg4, boolean jarg5); - public final static native double Utilities_parseSpeed__SWIG_0(String jarg1, double jarg2, long jarg3); - public final static native double Utilities_parseSpeed__SWIG_1(String jarg1, double jarg2); - public final static native double Utilities_parseLength__SWIG_0(String jarg1, double jarg2, long jarg3); - public final static native double Utilities_parseLength__SWIG_1(String jarg1, double jarg2); - public final static native double Utilities_parseWeight__SWIG_0(String jarg1, double jarg2, long jarg3); - public final static native double Utilities_parseWeight__SWIG_1(String jarg1, double jarg2); - public final static native long Utilities_parseColor__SWIG_0(String jarg1, long jarg2, ColorARGB jarg2_, long jarg3); - public final static native long Utilities_parseColor__SWIG_1(String jarg1, long jarg2, ColorARGB jarg2_); - public final static native int Utilities_parseArbitraryInt__SWIG_0(String jarg1, int jarg2, long jarg3); - public final static native int Utilities_parseArbitraryInt__SWIG_1(String jarg1, int jarg2); - public final static native int Utilities_parseArbitraryLong__SWIG_0(String jarg1, int jarg2, long jarg3); - public final static native int Utilities_parseArbitraryLong__SWIG_1(String jarg1, int jarg2); - public final static native long Utilities_parseArbitraryUInt__SWIG_0(String jarg1, long jarg2, long jarg3); - public final static native long Utilities_parseArbitraryUInt__SWIG_1(String jarg1, long jarg2); - public final static native long Utilities_parseArbitraryULong__SWIG_0(String jarg1, long jarg2, long jarg3); - public final static native long Utilities_parseArbitraryULong__SWIG_1(String jarg1, long jarg2); - public final static native float Utilities_parseArbitraryFloat__SWIG_0(String jarg1, float jarg2, long jarg3); - public final static native float Utilities_parseArbitraryFloat__SWIG_1(String jarg1, float jarg2); - public final static native boolean Utilities_parseArbitraryBool__SWIG_0(String jarg1, boolean jarg2, long jarg3); - public final static native boolean Utilities_parseArbitraryBool__SWIG_1(String jarg1, boolean jarg2); - public final static native int Utilities_javaDoubleCompare(double jarg1, double jarg2); - public final static native void Utilities_findFiles__SWIG_0(long jarg1, long jarg2, long jarg3, boolean jarg4); - public final static native void Utilities_findFiles__SWIG_1(long jarg1, long jarg2, long jarg3); - public final static native void Utilities_findDirectories__SWIG_0(long jarg1, long jarg2, long jarg3, boolean jarg4); - public final static native void Utilities_findDirectories__SWIG_1(long jarg1, long jarg2, long jarg3); - public final static native void Utilities_scanlineFillPolygon(long jarg1, long jarg2, PointF jarg2_, long jarg3); - public final static native long Utilities_enumerateZoomLevels(int jarg1, int jarg2); - public final static native String Utilities_stringifyZoomLevels(long jarg1); - public final static native int ObfAddressBlockType_CitiesOrTowns_get(); - public final static native int ObfAddressBlockType_Villages_get(); - public final static native int ObfAddressBlockType_Postcodes_get(); - public final static native void ObfMapSectionDataBlockId_id_set(long jarg1, ObfMapSectionDataBlockId jarg1_, java.math.BigInteger jarg2); - public final static native java.math.BigInteger ObfMapSectionDataBlockId_id_get(long jarg1, ObfMapSectionDataBlockId jarg1_); - public final static native void ObfMapSectionDataBlockId_sectionRuntimeGeneratedId_set(long jarg1, ObfMapSectionDataBlockId jarg1_, int jarg2); - public final static native int ObfMapSectionDataBlockId_sectionRuntimeGeneratedId_get(long jarg1, ObfMapSectionDataBlockId jarg1_); - public final static native void ObfMapSectionDataBlockId_offset_set(long jarg1, ObfMapSectionDataBlockId jarg1_, long jarg2); - public final static native long ObfMapSectionDataBlockId_offset_get(long jarg1, ObfMapSectionDataBlockId jarg1_); - public final static native long new_ObfMapSectionDataBlockId(); - public final static native void delete_ObfMapSectionDataBlockId(long jarg1); - public final static native void ObfRoutingSectionDataBlockId_id_set(long jarg1, ObfRoutingSectionDataBlockId jarg1_, java.math.BigInteger jarg2); - public final static native java.math.BigInteger ObfRoutingSectionDataBlockId_id_get(long jarg1, ObfRoutingSectionDataBlockId jarg1_); - public final static native void ObfRoutingSectionDataBlockId_sectionRuntimeGeneratedId_set(long jarg1, ObfRoutingSectionDataBlockId jarg1_, int jarg2); - public final static native int ObfRoutingSectionDataBlockId_sectionRuntimeGeneratedId_get(long jarg1, ObfRoutingSectionDataBlockId jarg1_); - public final static native void ObfRoutingSectionDataBlockId_offset_set(long jarg1, ObfRoutingSectionDataBlockId jarg1_, long jarg2); - public final static native long ObfRoutingSectionDataBlockId_offset_get(long jarg1, ObfRoutingSectionDataBlockId jarg1_); - public final static native long new_ObfRoutingSectionDataBlockId(); - public final static native void delete_ObfRoutingSectionDataBlockId(long jarg1); - public final static native int RoutingDataLevelsCount_get(); - public final static native long new_ObfFile__SWIG_0(String jarg1); - public final static native long new_ObfFile__SWIG_1(String jarg1, java.math.BigInteger jarg2); - public final static native void delete_ObfFile(long jarg1); - public final static native String ObfFile_filePath_get(long jarg1, ObfFile jarg1_); - public final static native java.math.BigInteger ObfFile_fileSize_get(long jarg1, ObfFile jarg1_); - public final static native long ObfFile_obfInfo_get(long jarg1, ObfFile jarg1_); - public final static native void delete_ObfInfo(long jarg1); - public final static native int ObfInfo_version_get(long jarg1, ObfInfo jarg1_); - public final static native java.math.BigInteger ObfInfo_creationTimestamp_get(long jarg1, ObfInfo jarg1_); - public final static native boolean ObfInfo_isBasemap_get(long jarg1, ObfInfo jarg1_); - public final static native long ObfInfo_mapSections_get(long jarg1, ObfInfo jarg1_); - public final static native long ObfInfo_addressSections_get(long jarg1, ObfInfo jarg1_); - public final static native long ObfInfo_routingSections_get(long jarg1, ObfInfo jarg1_); - public final static native long ObfInfo_poiSections_get(long jarg1, ObfInfo jarg1_); - public final static native long ObfInfo_transportSections_get(long jarg1, ObfInfo jarg1_); - public final static native int MapFoundationType_Undefined_get(); - public final static native int MapStyleRulesetType_Invalid_get(); - public final static native int MapStyleRulesetTypesCount_get(); - public final static native int RasterMapLayerId_Invalid_get(); - public final static native int RasterMapLayersCount_get(); - public final static native void TagValueId_id_set(long jarg1, TagValueId jarg1_, java.math.BigInteger jarg2); - public final static native java.math.BigInteger TagValueId_id_get(long jarg1, TagValueId jarg1_); - public final static native void TagValueId_tagId_set(long jarg1, TagValueId jarg1_, int jarg2); - public final static native int TagValueId_tagId_get(long jarg1, TagValueId jarg1_); - public final static native void TagValueId_valueId_set(long jarg1, TagValueId jarg1_, int jarg2); - public final static native int TagValueId_valueId_get(long jarg1, TagValueId jarg1_); - public final static native long TagValueId_compose(int jarg1, int jarg2); - public final static native long new_TagValueId(); - public final static native void delete_TagValueId(long jarg1); - public final static native int MapSymbol_ContentClass_Unknown_get(); - public final static native void delete_MapSymbol(long jarg1); - public final static native long MapSymbol_group_get(long jarg1, MapSymbol jarg1_); - public final static native long MapSymbol_groupPtr_get(long jarg1, MapSymbol jarg1_); - public final static native boolean MapSymbol_isShareable_get(long jarg1, MapSymbol jarg1_); - public final static native void MapSymbol_order_set(long jarg1, MapSymbol jarg1_, int jarg2); - public final static native int MapSymbol_order_get(long jarg1, MapSymbol jarg1_); - public final static native void MapSymbol_contentClass_set(long jarg1, MapSymbol jarg1_, int jarg2); - public final static native int MapSymbol_contentClass_get(long jarg1, MapSymbol jarg1_); - public final static native void MapSymbol_intersectsWithClasses_set(long jarg1, MapSymbol jarg1_, long jarg2); - public final static native long MapSymbol_intersectsWithClasses_get(long jarg1, MapSymbol jarg1_); - public final static native void MapSymbol_isHidden_set(long jarg1, MapSymbol jarg1_, boolean jarg2); - public final static native boolean MapSymbol_isHidden_get(long jarg1, MapSymbol jarg1_); - public final static native void MapSymbol_modulationColor_set(long jarg1, MapSymbol jarg1_, long jarg2, FColorARGB jarg2_); - public final static native long MapSymbol_modulationColor_get(long jarg1, MapSymbol jarg1_); - public final static native int MapSymbolsGroup_PresentationModeFlag_ShowAnything_get(); - public final static native int MapSymbolsGroup_IntersectionProcessingModeFlag_CheckIntersectionsWithinGroup_get(); - public final static native long new_MapSymbolsGroup_AdditionalInstance(long jarg1, MapSymbolsGroup jarg1_); - public final static native void delete_MapSymbolsGroup_AdditionalInstance(long jarg1); - public final static native long MapSymbolsGroup_AdditionalInstance_originalGroup_get(long jarg1, MapSymbolsGroup.AdditionalInstance jarg1_); - public final static native void MapSymbolsGroup_AdditionalInstance_symbols_set(long jarg1, MapSymbolsGroup.AdditionalInstance jarg1_, long jarg2); - public final static native long MapSymbolsGroup_AdditionalInstance_symbols_get(long jarg1, MapSymbolsGroup.AdditionalInstance jarg1_); - public final static native long MapSymbolsGroup_AdditionalInstance_getFirstSymbolWithContentClass(long jarg1, MapSymbolsGroup.AdditionalInstance jarg1_, int jarg2); - public final static native long MapSymbolsGroup_AdditionalInstance_numberOfSymbolsWithContentClass(long jarg1, MapSymbolsGroup.AdditionalInstance jarg1_, int jarg2); - public final static native long new_MapSymbolsGroup_AdditionalSymbolInstanceParameters(long jarg1, MapSymbolsGroup.AdditionalInstance jarg1_); - public final static native void delete_MapSymbolsGroup_AdditionalSymbolInstanceParameters(long jarg1); - public final static native long MapSymbolsGroup_AdditionalSymbolInstanceParameters_groupInstancePtr_get(long jarg1, MapSymbolsGroup.AdditionalSymbolInstanceParameters jarg1_); - public final static native long new_MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters(long jarg1, MapSymbolsGroup.AdditionalInstance jarg1_); - public final static native void delete_MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters(long jarg1); - public final static native void MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_overridesPosition31_set(long jarg1, MapSymbolsGroup.AdditionalBillboardSymbolInstanceParameters jarg1_, boolean jarg2); - public final static native boolean MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_overridesPosition31_get(long jarg1, MapSymbolsGroup.AdditionalBillboardSymbolInstanceParameters jarg1_); - public final static native void MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_position31_set(long jarg1, MapSymbolsGroup.AdditionalBillboardSymbolInstanceParameters jarg1_, long jarg2, PointI jarg2_); - public final static native long MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_position31_get(long jarg1, MapSymbolsGroup.AdditionalBillboardSymbolInstanceParameters jarg1_); - public final static native void MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_overridesOffset_set(long jarg1, MapSymbolsGroup.AdditionalBillboardSymbolInstanceParameters jarg1_, boolean jarg2); - public final static native boolean MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_overridesOffset_get(long jarg1, MapSymbolsGroup.AdditionalBillboardSymbolInstanceParameters jarg1_); - public final static native void MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_offset_set(long jarg1, MapSymbolsGroup.AdditionalBillboardSymbolInstanceParameters jarg1_, long jarg2, PointI jarg2_); - public final static native long MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_offset_get(long jarg1, MapSymbolsGroup.AdditionalBillboardSymbolInstanceParameters jarg1_); - public final static native long new_MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters(long jarg1, MapSymbolsGroup.AdditionalInstance jarg1_); - public final static native void delete_MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters(long jarg1); - public final static native void MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_overridesPosition31_set(long jarg1, MapSymbolsGroup.AdditionalOnSurfaceSymbolInstanceParameters jarg1_, boolean jarg2); - public final static native boolean MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_overridesPosition31_get(long jarg1, MapSymbolsGroup.AdditionalOnSurfaceSymbolInstanceParameters jarg1_); - public final static native void MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_position31_set(long jarg1, MapSymbolsGroup.AdditionalOnSurfaceSymbolInstanceParameters jarg1_, long jarg2, PointI jarg2_); - public final static native long MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_position31_get(long jarg1, MapSymbolsGroup.AdditionalOnSurfaceSymbolInstanceParameters jarg1_); - public final static native void MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_overridesDirection_set(long jarg1, MapSymbolsGroup.AdditionalOnSurfaceSymbolInstanceParameters jarg1_, boolean jarg2); - public final static native boolean MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_overridesDirection_get(long jarg1, MapSymbolsGroup.AdditionalOnSurfaceSymbolInstanceParameters jarg1_); - public final static native void MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_direction_set(long jarg1, MapSymbolsGroup.AdditionalOnSurfaceSymbolInstanceParameters jarg1_, float jarg2); - public final static native float MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_direction_get(long jarg1, MapSymbolsGroup.AdditionalOnSurfaceSymbolInstanceParameters jarg1_); - public final static native long new_MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters(long jarg1, MapSymbolsGroup.AdditionalInstance jarg1_); - public final static native void delete_MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters(long jarg1); - public final static native void MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_overridesPinPointOnPath_set(long jarg1, MapSymbolsGroup.AdditionalOnPathSymbolInstanceParameters jarg1_, boolean jarg2); - public final static native boolean MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_overridesPinPointOnPath_get(long jarg1, MapSymbolsGroup.AdditionalOnPathSymbolInstanceParameters jarg1_); - public final static native void MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_pinPointOnPath_set(long jarg1, MapSymbolsGroup.AdditionalOnPathSymbolInstanceParameters jarg1_, long jarg2); - public final static native long MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_pinPointOnPath_get(long jarg1, MapSymbolsGroup.AdditionalOnPathSymbolInstanceParameters jarg1_); - public final static native long new_MapSymbolsGroup(); - public final static native void delete_MapSymbolsGroup(long jarg1); - public final static native void MapSymbolsGroup_presentationMode_set(long jarg1, MapSymbolsGroup jarg1_, long jarg2); - public final static native long MapSymbolsGroup_presentationMode_get(long jarg1, MapSymbolsGroup jarg1_); - public final static native void MapSymbolsGroup_intersectionProcessingMode_set(long jarg1, MapSymbolsGroup jarg1_, long jarg2); - public final static native long MapSymbolsGroup_intersectionProcessingMode_get(long jarg1, MapSymbolsGroup jarg1_); - public final static native void MapSymbolsGroup_symbols_set(long jarg1, MapSymbolsGroup jarg1_, long jarg2); - public final static native long MapSymbolsGroup_symbols_get(long jarg1, MapSymbolsGroup jarg1_); - public final static native long MapSymbolsGroup_getFirstSymbolWithContentClass(long jarg1, MapSymbolsGroup jarg1_, int jarg2); - public final static native long MapSymbolsGroup_numberOfSymbolsWithContentClass(long jarg1, MapSymbolsGroup jarg1_, int jarg2); - public final static native String MapSymbolsGroup_getDebugTitle(long jarg1, MapSymbolsGroup jarg1_); - public final static native void MapSymbolsGroup_additionalInstancesDiscardOriginal_set(long jarg1, MapSymbolsGroup jarg1_, boolean jarg2); - public final static native boolean MapSymbolsGroup_additionalInstancesDiscardOriginal_get(long jarg1, MapSymbolsGroup jarg1_); - public final static native void MapSymbolsGroup_additionalInstances_set(long jarg1, MapSymbolsGroup jarg1_, long jarg2); - public final static native long MapSymbolsGroup_additionalInstances_get(long jarg1, MapSymbolsGroup jarg1_); - public final static native void delete_IMapStylesCollection(long jarg1); - public final static native long IMapStylesCollection_getCollection(long jarg1, IMapStylesCollection jarg1_); - public final static native long IMapStylesCollection_getStyleByName(long jarg1, IMapStylesCollection jarg1_, String jarg2); - public final static native long IMapStylesCollection_getResolvedStyleByName(long jarg1, IMapStylesCollection jarg1_, String jarg2); - public final static native long new_MapStylesCollection(); - public final static native void delete_MapStylesCollection(long jarg1); - public final static native boolean MapStylesCollection_addStyleFromFile(long jarg1, MapStylesCollection jarg1_, String jarg2); - public final static native long MapStylesCollection_getCollection(long jarg1, MapStylesCollection jarg1_); - public final static native long MapStylesCollection_getStyleByName(long jarg1, MapStylesCollection jarg1_, String jarg2); - public final static native long MapStylesCollection_getResolvedStyleByName(long jarg1, MapStylesCollection jarg1_, String jarg2); - public final static native void delete_IMapStylesPresetsCollection(long jarg1); - public final static native long IMapStylesPresetsCollection_getCollection(long jarg1, IMapStylesPresetsCollection jarg1_); - public final static native long IMapStylesPresetsCollection_getCollectionFor(long jarg1, IMapStylesPresetsCollection jarg1_, String jarg2); - public final static native long IMapStylesPresetsCollection_getPreset(long jarg1, IMapStylesPresetsCollection jarg1_, String jarg2, String jarg3); - public final static native long new_MapStylesPresetsCollection(); - public final static native void delete_MapStylesPresetsCollection(long jarg1); - public final static native boolean MapStylesPresetsCollection_loadFrom__SWIG_0(long jarg1, MapStylesPresetsCollection jarg1_, long jarg2); - public final static native boolean MapStylesPresetsCollection_loadFrom__SWIG_1(long jarg1, MapStylesPresetsCollection jarg1_, long jarg2); - public final static native boolean MapStylesPresetsCollection_loadFrom__SWIG_2(long jarg1, MapStylesPresetsCollection jarg1_, String jarg2); - public final static native boolean MapStylesPresetsCollection_saveTo__SWIG_0(long jarg1, MapStylesPresetsCollection jarg1_, long jarg2); - public final static native boolean MapStylesPresetsCollection_saveTo__SWIG_1(long jarg1, MapStylesPresetsCollection jarg1_, String jarg2); - public final static native boolean MapStylesPresetsCollection_addPreset(long jarg1, MapStylesPresetsCollection jarg1_, long jarg2, MapStylePreset jarg2_); - public final static native boolean MapStylesPresetsCollection_removePreset(long jarg1, MapStylesPresetsCollection jarg1_, long jarg2, MapStylePreset jarg2_); - public final static native long MapStylesPresetsCollection_getCollection__SWIG_0(long jarg1, MapStylesPresetsCollection jarg1_); - public final static native long MapStylesPresetsCollection_getCollectionFor__SWIG_0(long jarg1, MapStylesPresetsCollection jarg1_, String jarg2); - public final static native long MapStylesPresetsCollection_getPreset__SWIG_0(long jarg1, MapStylesPresetsCollection jarg1_, String jarg2, String jarg3); - public final static native long new_MapStyleConstantValue(); - public final static native void delete_MapStyleConstantValue(long jarg1); - public final static native void MapStyleConstantValue_isComplex_set(long jarg1, MapStyleConstantValue jarg1_, boolean jarg2); - public final static native boolean MapStyleConstantValue_isComplex_get(long jarg1, MapStyleConstantValue jarg1_); - public final static native boolean MapStyleConstantValue_parse(String jarg1, int jarg2, boolean jarg3, long jarg4, MapStyleConstantValue jarg4_); - public final static native long MapStyleConstantValue_fromSimpleUInt(long jarg1); - public final static native String MapStyleConstantValue_toString(long jarg1, MapStyleConstantValue jarg1_, int jarg2); - public final static native long new_MapStyleValueDefinition(int jarg1, int jarg2, String jarg3, boolean jarg4); - public final static native void delete_MapStyleValueDefinition(long jarg1); - public final static native int MapStyleValueDefinition_valueClass_get(long jarg1, MapStyleValueDefinition jarg1_); - public final static native int MapStyleValueDefinition_dataType_get(long jarg1, MapStyleValueDefinition jarg1_); - public final static native String MapStyleValueDefinition_name_get(long jarg1, MapStyleValueDefinition jarg1_); - public final static native boolean MapStyleValueDefinition_isComplex_get(long jarg1, MapStyleValueDefinition jarg1_); - public final static native void delete_MapStyleBuiltinValueDefinitions_MapStyleBuiltinValueDefinition(long jarg1); - public final static native int MapStyleBuiltinValueDefinitions_MapStyleBuiltinValueDefinition_id_get(long jarg1, MapStyleBuiltinValueDefinitions.MapStyleBuiltinValueDefinition jarg1_); - public final static native void delete_MapStyleBuiltinValueDefinitions(long jarg1); - public final static native long MapStyleBuiltinValueDefinitions_get(); - public final static native int MapStyleBuiltinValueDefinitions_lastBuiltinValueDefinitionId_get(long jarg1, MapStyleBuiltinValueDefinitions jarg1_); - public final static native int ResolvedMapStyle_EmptyStringId_get(); - public final static native long new_ResolvedMapStyle_ResolvedValue(); - public final static native void delete_ResolvedMapStyle_ResolvedValue(long jarg1); - public final static native void ResolvedMapStyle_ResolvedValue_isDynamic_set(long jarg1, ResolvedMapStyle.ResolvedValue jarg1_, boolean jarg2); - public final static native boolean ResolvedMapStyle_ResolvedValue_isDynamic_get(long jarg1, ResolvedMapStyle.ResolvedValue jarg1_); - public final static native void ResolvedMapStyle_ResolvedValue_asConstantValue_set(long jarg1, ResolvedMapStyle.ResolvedValue jarg1_, long jarg2, MapStyleConstantValue jarg2_); - public final static native long ResolvedMapStyle_ResolvedValue_asConstantValue_get(long jarg1, ResolvedMapStyle.ResolvedValue jarg1_); - public final static native long ResolvedMapStyle_ResolvedValue_fromConstantValue(long jarg1, MapStyleConstantValue jarg1_); - public final static native long ResolvedMapStyle_ResolvedValue_fromAttribute(long jarg1); - public final static native long new_ResolvedMapStyle_RuleNode(boolean jarg1); - public final static native void delete_ResolvedMapStyle_RuleNode(long jarg1); - public final static native boolean ResolvedMapStyle_RuleNode_applyOnlyIfOneOfConditionalsAccepted_get(long jarg1, ResolvedMapStyle.RuleNode jarg1_); - public final static native void ResolvedMapStyle_RuleNode_values_set(long jarg1, ResolvedMapStyle.RuleNode jarg1_, long jarg2); - public final static native long ResolvedMapStyle_RuleNode_values_get(long jarg1, ResolvedMapStyle.RuleNode jarg1_); - public final static native void ResolvedMapStyle_RuleNode_oneOfConditionalSubnodes_set(long jarg1, ResolvedMapStyle.RuleNode jarg1_, long jarg2); - public final static native long ResolvedMapStyle_RuleNode_oneOfConditionalSubnodes_get(long jarg1, ResolvedMapStyle.RuleNode jarg1_); - public final static native void ResolvedMapStyle_RuleNode_applySubnodes_set(long jarg1, ResolvedMapStyle.RuleNode jarg1_, long jarg2); - public final static native long ResolvedMapStyle_RuleNode_applySubnodes_get(long jarg1, ResolvedMapStyle.RuleNode jarg1_); - public final static native void delete_ResolvedMapStyle_BaseRule(long jarg1); - public final static native long ResolvedMapStyle_BaseRule_rootNode_get(long jarg1, ResolvedMapStyle.BaseRule jarg1_); - public final static native long new_ResolvedMapStyle_Rule(int jarg1); - public final static native void delete_ResolvedMapStyle_Rule(long jarg1); - public final static native int ResolvedMapStyle_Rule_rulesetType_get(long jarg1, ResolvedMapStyle.Rule jarg1_); - public final static native long new_ResolvedMapStyle_Attribute(long jarg1); - public final static native void delete_ResolvedMapStyle_Attribute(long jarg1); - public final static native long ResolvedMapStyle_Attribute_nameId_get(long jarg1, ResolvedMapStyle.Attribute jarg1_); - public final static native long new_ResolvedMapStyle_Parameter(String jarg1, String jarg2, long jarg3, int jarg4, long jarg5); - public final static native void delete_ResolvedMapStyle_Parameter(long jarg1); - public final static native void ResolvedMapStyle_Parameter_title_set(long jarg1, ResolvedMapStyle.Parameter jarg1_, String jarg2); - public final static native String ResolvedMapStyle_Parameter_title_get(long jarg1, ResolvedMapStyle.Parameter jarg1_); - public final static native void ResolvedMapStyle_Parameter_description_set(long jarg1, ResolvedMapStyle.Parameter jarg1_, String jarg2); - public final static native String ResolvedMapStyle_Parameter_description_get(long jarg1, ResolvedMapStyle.Parameter jarg1_); - public final static native void ResolvedMapStyle_Parameter_nameId_set(long jarg1, ResolvedMapStyle.Parameter jarg1_, long jarg2); - public final static native long ResolvedMapStyle_Parameter_nameId_get(long jarg1, ResolvedMapStyle.Parameter jarg1_); - public final static native void ResolvedMapStyle_Parameter_dataType_set(long jarg1, ResolvedMapStyle.Parameter jarg1_, int jarg2); - public final static native int ResolvedMapStyle_Parameter_dataType_get(long jarg1, ResolvedMapStyle.Parameter jarg1_); - public final static native void ResolvedMapStyle_Parameter_possibleValues_set(long jarg1, ResolvedMapStyle.Parameter jarg1_, long jarg2); - public final static native long ResolvedMapStyle_Parameter_possibleValues_get(long jarg1, ResolvedMapStyle.Parameter jarg1_); - public final static native long new_ResolvedMapStyle_ParameterValueDefinition(int jarg1, String jarg2, long jarg3); - public final static native void delete_ResolvedMapStyle_ParameterValueDefinition(long jarg1); - public final static native int ResolvedMapStyle_ParameterValueDefinition_id_get(long jarg1, ResolvedMapStyle.ParameterValueDefinition jarg1_); - public final static native long ResolvedMapStyle_ParameterValueDefinition_parameter_get(long jarg1, ResolvedMapStyle.ParameterValueDefinition jarg1_); - public final static native void delete_ResolvedMapStyle(long jarg1); - public final static native long ResolvedMapStyle_unresolvedMapStylesChain_get(long jarg1, ResolvedMapStyle jarg1_); - public final static native int ResolvedMapStyle_getValueDefinitionIdByName(long jarg1, ResolvedMapStyle jarg1_, String jarg2); - public final static native long ResolvedMapStyle_getValueDefinitionById(long jarg1, ResolvedMapStyle jarg1_, int jarg2); - public final static native boolean ResolvedMapStyle_parseValue__SWIG_0(long jarg1, ResolvedMapStyle jarg1_, String jarg2, int jarg3, long jarg4, MapStyleConstantValue jarg4_); - public final static native boolean ResolvedMapStyle_parseValue__SWIG_1(long jarg1, ResolvedMapStyle jarg1_, String jarg2, long jarg3, MapStyleValueDefinition jarg3_, long jarg4, MapStyleConstantValue jarg4_); - public final static native long ResolvedMapStyle_getAttribute(long jarg1, ResolvedMapStyle jarg1_, String jarg2); - public final static native long ResolvedMapStyle_getRuleset(long jarg1, ResolvedMapStyle jarg1_, int jarg2); - public final static native String ResolvedMapStyle_getStringById(long jarg1, ResolvedMapStyle jarg1_, long jarg2); - public final static native String ResolvedMapStyle_dump__SWIG_0(long jarg1, ResolvedMapStyle jarg1_, String jarg2); - public final static native String ResolvedMapStyle_dump__SWIG_1(long jarg1, ResolvedMapStyle jarg1_); - public final static native long ResolvedMapStyle_resolveMapStylesChain(long jarg1); - public final static native long new_MapStylePreset(int jarg1, String jarg2, String jarg3); - public final static native void delete_MapStylePreset(long jarg1); - public final static native int MapStylePreset_type_get(long jarg1, MapStylePreset jarg1_); - public final static native String MapStylePreset_name_get(long jarg1, MapStylePreset jarg1_); - public final static native String MapStylePreset_styleName_get(long jarg1, MapStylePreset jarg1_); - public final static native void MapStylePreset_attributes_set(long jarg1, MapStylePreset jarg1_, long jarg2); - public final static native long MapStylePreset_attributes_get(long jarg1, MapStylePreset jarg1_); - public final static native long new_MapPresentationEnvironment__SWIG_0(long jarg1, ResolvedMapStyle jarg1_, float jarg2, String jarg3, int jarg4, long jarg5, ICoreResourcesProvider jarg5_); - public final static native long new_MapPresentationEnvironment__SWIG_1(long jarg1, ResolvedMapStyle jarg1_, float jarg2, String jarg3, int jarg4); - public final static native long new_MapPresentationEnvironment__SWIG_2(long jarg1, ResolvedMapStyle jarg1_, float jarg2, String jarg3); - public final static native long new_MapPresentationEnvironment__SWIG_3(long jarg1, ResolvedMapStyle jarg1_, float jarg2); - public final static native long new_MapPresentationEnvironment__SWIG_4(long jarg1, ResolvedMapStyle jarg1_); - public final static native void delete_MapPresentationEnvironment(long jarg1); - public final static native long MapPresentationEnvironment_styleBuiltinValueDefs_get(long jarg1, MapPresentationEnvironment jarg1_); - public final static native long MapPresentationEnvironment_resolvedStyle_get(long jarg1, MapPresentationEnvironment jarg1_); - public final static native float MapPresentationEnvironment_displayDensityFactor_get(long jarg1, MapPresentationEnvironment jarg1_); - public final static native String MapPresentationEnvironment_localeLanguageId_get(long jarg1, MapPresentationEnvironment jarg1_); - public final static native int MapPresentationEnvironment_languagePreference_get(long jarg1, MapPresentationEnvironment jarg1_); - public final static native long MapPresentationEnvironment_externalResourcesProvider_get(long jarg1, MapPresentationEnvironment jarg1_); - public final static native long MapPresentationEnvironment_dummyMapSection_get(long jarg1, MapPresentationEnvironment jarg1_); - public final static native long MapPresentationEnvironment_getSettings(long jarg1, MapPresentationEnvironment jarg1_); - public final static native void MapPresentationEnvironment_setSettings__SWIG_0(long jarg1, MapPresentationEnvironment jarg1_, long jarg2); - public final static native void MapPresentationEnvironment_setSettings__SWIG_1(long jarg1, MapPresentationEnvironment jarg1_, long jarg2); - public final static native void MapPresentationEnvironment_applyTo(long jarg1, MapPresentationEnvironment jarg1_, long jarg2); - public final static native boolean MapPresentationEnvironment_obtainShaderBitmap(long jarg1, MapPresentationEnvironment jarg1_, String jarg2, long jarg3); - public final static native boolean MapPresentationEnvironment_obtainMapIcon(long jarg1, MapPresentationEnvironment jarg1_, String jarg2, long jarg3); - public final static native boolean MapPresentationEnvironment_obtainTextShield(long jarg1, MapPresentationEnvironment jarg1_, String jarg2, long jarg3); - public final static native boolean MapPresentationEnvironment_obtainIconShield(long jarg1, MapPresentationEnvironment jarg1_, String jarg2, long jarg3); - public final static native long MapPresentationEnvironment_getDefaultBackgroundColor(long jarg1, MapPresentationEnvironment jarg1_, int jarg2); - public final static native void MapPresentationEnvironment_obtainShadowRenderingOptions(long jarg1, MapPresentationEnvironment jarg1_, int jarg2, long jarg3, long jarg4, ColorARGB jarg4_); - public final static native double MapPresentationEnvironment_getPolygonAreaMinimalThreshold(long jarg1, MapPresentationEnvironment jarg1_, int jarg2); - public final static native long MapPresentationEnvironment_getRoadDensityZoomTile(long jarg1, MapPresentationEnvironment jarg1_, int jarg2); - public final static native long MapPresentationEnvironment_getRoadsDensityLimitPerTile(long jarg1, MapPresentationEnvironment jarg1_, int jarg2); - public final static native int MapPresentationEnvironment_DefaultShadowLevelMin_get(); - public final static native int MapPresentationEnvironment_DefaultShadowLevelMax_get(); - public final static native int MapRendererStateChange_RasterLayers_Providers_get(); - public final static native long new_MapRendererState(); - public final static native void delete_MapRendererState(long jarg1); - public final static native void MapRendererState_rasterLayerProviders_set(long jarg1, MapRendererState jarg1_, long jarg2); - public final static native long MapRendererState_rasterLayerProviders_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_rasterLayerOpacity_set(long jarg1, MapRendererState jarg1_, long jarg2); - public final static native long MapRendererState_rasterLayerOpacity_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_elevationDataProvider_set(long jarg1, MapRendererState jarg1_, long jarg2, IMapElevationDataProvider jarg2_); - public final static native long MapRendererState_elevationDataProvider_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_elevationDataScaleFactor_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_elevationDataScaleFactor_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_symbolProviders_set(long jarg1, MapRendererState jarg1_, long jarg2); - public final static native long MapRendererState_symbolProviders_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_windowSize_set(long jarg1, MapRendererState jarg1_, long jarg2, PointI jarg2_); - public final static native long MapRendererState_windowSize_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_viewport_set(long jarg1, MapRendererState jarg1_, long jarg2, AreaI jarg2_); - public final static native long MapRendererState_viewport_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_fieldOfView_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_fieldOfView_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_skyColor_set(long jarg1, MapRendererState jarg1_, long jarg2, FColorRGB jarg2_); - public final static native long MapRendererState_skyColor_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_fogColor_set(long jarg1, MapRendererState jarg1_, long jarg2, FColorRGB jarg2_); - public final static native long MapRendererState_fogColor_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_fogDistance_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_fogDistance_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_fogOriginFactor_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_fogOriginFactor_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_fogHeightOriginFactor_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_fogHeightOriginFactor_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_fogDensity_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_fogDensity_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_azimuth_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_azimuth_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_elevationAngle_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_elevationAngle_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_target31_set(long jarg1, MapRendererState jarg1_, long jarg2, PointI jarg2_); - public final static native long MapRendererState_target31_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_requestedZoom_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_requestedZoom_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_zoomBase_set(long jarg1, MapRendererState jarg1_, int jarg2); - public final static native int MapRendererState_zoomBase_get(long jarg1, MapRendererState jarg1_); - public final static native void MapRendererState_zoomFraction_set(long jarg1, MapRendererState jarg1_, float jarg2); - public final static native float MapRendererState_zoomFraction_get(long jarg1, MapRendererState jarg1_); - public final static native long new_MapRendererSetupOptions(); - public final static native void delete_MapRendererSetupOptions(long jarg1); - public final static native long new_MapRendererSetupOptions_IGpuWorkerThreadPrologue(); - public final static native void delete_MapRendererSetupOptions_IGpuWorkerThreadPrologue(long jarg1); - public final static native void MapRendererSetupOptions_IGpuWorkerThreadPrologue_method(long jarg1, MapRendererSetupOptions.IGpuWorkerThreadPrologue jarg1_, long jarg2, IMapRenderer jarg2_); - public final static native long MapRendererSetupOptions_IGpuWorkerThreadPrologue_getBinding(long jarg1, MapRendererSetupOptions.IGpuWorkerThreadPrologue jarg1_); - public final static native void MapRendererSetupOptions_IGpuWorkerThreadPrologue_director_connect(MapRendererSetupOptions.IGpuWorkerThreadPrologue obj, long cptr, boolean mem_own, boolean weak_global); - public final static native void MapRendererSetupOptions_IGpuWorkerThreadPrologue_change_ownership(MapRendererSetupOptions.IGpuWorkerThreadPrologue obj, long cptr, boolean take_or_release); - public final static native long new_MapRendererSetupOptions_IGpuWorkerThreadEpilogue(); - public final static native void delete_MapRendererSetupOptions_IGpuWorkerThreadEpilogue(long jarg1); - public final static native void MapRendererSetupOptions_IGpuWorkerThreadEpilogue_method(long jarg1, MapRendererSetupOptions.IGpuWorkerThreadEpilogue jarg1_, long jarg2, IMapRenderer jarg2_); - public final static native long MapRendererSetupOptions_IGpuWorkerThreadEpilogue_getBinding(long jarg1, MapRendererSetupOptions.IGpuWorkerThreadEpilogue jarg1_); - public final static native void MapRendererSetupOptions_IGpuWorkerThreadEpilogue_director_connect(MapRendererSetupOptions.IGpuWorkerThreadEpilogue obj, long cptr, boolean mem_own, boolean weak_global); - public final static native void MapRendererSetupOptions_IGpuWorkerThreadEpilogue_change_ownership(MapRendererSetupOptions.IGpuWorkerThreadEpilogue obj, long cptr, boolean take_or_release); - public final static native void MapRendererSetupOptions_gpuWorkerThreadEnabled_set(long jarg1, MapRendererSetupOptions jarg1_, boolean jarg2); - public final static native boolean MapRendererSetupOptions_gpuWorkerThreadEnabled_get(long jarg1, MapRendererSetupOptions jarg1_); - public final static native void MapRendererSetupOptions_gpuWorkerThreadPrologue_set(long jarg1, MapRendererSetupOptions jarg1_, long jarg2); - public final static native long MapRendererSetupOptions_gpuWorkerThreadPrologue_get(long jarg1, MapRendererSetupOptions jarg1_); - public final static native void MapRendererSetupOptions_gpuWorkerThreadEpilogue_set(long jarg1, MapRendererSetupOptions jarg1_, long jarg2); - public final static native long MapRendererSetupOptions_gpuWorkerThreadEpilogue_get(long jarg1, MapRendererSetupOptions jarg1_); - public final static native long new_MapRendererSetupOptions_IFrameUpdateRequestCallback(); - public final static native void delete_MapRendererSetupOptions_IFrameUpdateRequestCallback(long jarg1); - public final static native void MapRendererSetupOptions_IFrameUpdateRequestCallback_method(long jarg1, MapRendererSetupOptions.IFrameUpdateRequestCallback jarg1_, long jarg2, IMapRenderer jarg2_); - public final static native long MapRendererSetupOptions_IFrameUpdateRequestCallback_getBinding(long jarg1, MapRendererSetupOptions.IFrameUpdateRequestCallback jarg1_); - public final static native void MapRendererSetupOptions_IFrameUpdateRequestCallback_director_connect(MapRendererSetupOptions.IFrameUpdateRequestCallback obj, long cptr, boolean mem_own, boolean weak_global); - public final static native void MapRendererSetupOptions_IFrameUpdateRequestCallback_change_ownership(MapRendererSetupOptions.IFrameUpdateRequestCallback obj, long cptr, boolean take_or_release); - public final static native void MapRendererSetupOptions_frameUpdateRequestCallback_set(long jarg1, MapRendererSetupOptions jarg1_, long jarg2); - public final static native long MapRendererSetupOptions_frameUpdateRequestCallback_get(long jarg1, MapRendererSetupOptions jarg1_); - public final static native long new_MapRendererConfiguration(); - public final static native void delete_MapRendererConfiguration(long jarg1); - public final static native void MapRendererConfiguration_texturesFilteringQuality_set(long jarg1, MapRendererConfiguration jarg1_, int jarg2); - public final static native int MapRendererConfiguration_texturesFilteringQuality_get(long jarg1, MapRendererConfiguration jarg1_); - public final static native void MapRendererConfiguration_limitTextureColorDepthBy16bits_set(long jarg1, MapRendererConfiguration jarg1_, boolean jarg2); - public final static native boolean MapRendererConfiguration_limitTextureColorDepthBy16bits_get(long jarg1, MapRendererConfiguration jarg1_); - public final static native void MapRendererConfiguration_heixelsPerTileSide_set(long jarg1, MapRendererConfiguration jarg1_, long jarg2); - public final static native long MapRendererConfiguration_heixelsPerTileSide_get(long jarg1, MapRendererConfiguration jarg1_); - public final static native void MapRendererConfiguration_paletteTexturesAllowed_set(long jarg1, MapRendererConfiguration jarg1_, boolean jarg2); - public final static native boolean MapRendererConfiguration_paletteTexturesAllowed_get(long jarg1, MapRendererConfiguration jarg1_); - public final static native void MapRendererConfiguration_copyTo(long jarg1, MapRendererConfiguration jarg1_, long jarg2, MapRendererConfiguration jarg2_); - public final static native long MapRendererConfiguration_createCopy(long jarg1, MapRendererConfiguration jarg1_); - public final static native long new_MapRendererDebugSettings(); - public final static native void delete_MapRendererDebugSettings(long jarg1); - public final static native void MapRendererDebugSettings_debugStageEnabled_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_debugStageEnabled_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_excludeOnPathSymbolsFromProcessing_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_excludeOnPathSymbolsFromProcessing_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_excludeBillboardSymbolsFromProcessing_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_excludeBillboardSymbolsFromProcessing_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_excludeOnSurfaceSymbolsFromProcessing_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_excludeOnSurfaceSymbolsFromProcessing_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_skipSymbolsIntersectionCheck_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_skipSymbolsIntersectionCheck_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showSymbolsBBoxesAcceptedByIntersectionCheck_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showSymbolsBBoxesAcceptedByIntersectionCheck_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showSymbolsBBoxesRejectedByIntersectionCheck_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showSymbolsBBoxesRejectedByIntersectionCheck_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_skipSymbolsMinDistanceToSameContentFromOtherSymbolCheck_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_skipSymbolsMinDistanceToSameContentFromOtherSymbolCheck_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showSymbolsBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showSymbolsBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showSymbolsCheckBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showSymbolsCheckBBoxesRejectedByMinDistanceToSameContentFromOtherSymbolCheck_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showSymbolsBBoxesRejectedByPresentationMode_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showSymbolsBBoxesRejectedByPresentationMode_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showOnPathSymbolsRenderablesPaths_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showOnPathSymbolsRenderablesPaths_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showOnPath2dSymbolGlyphDetails_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showOnPath2dSymbolGlyphDetails_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showOnPath3dSymbolGlyphDetails_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showOnPath3dSymbolGlyphDetails_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_allSymbolsTransparentForIntersectionLookup_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_allSymbolsTransparentForIntersectionLookup_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showTooShortOnPathSymbolsRenderablesPaths_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showTooShortOnPathSymbolsRenderablesPaths_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_showAllPaths_set(long jarg1, MapRendererDebugSettings jarg1_, boolean jarg2); - public final static native boolean MapRendererDebugSettings_showAllPaths_get(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void MapRendererDebugSettings_copyTo(long jarg1, MapRendererDebugSettings jarg1_, long jarg2, MapRendererDebugSettings jarg2_); - public final static native long MapRendererDebugSettings_createCopy(long jarg1, MapRendererDebugSettings jarg1_); - public final static native void delete_IMapRenderer(long jarg1); - public final static native long IMapRenderer_getSetupOptions(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_setup(long jarg1, IMapRenderer jarg1_, long jarg2, MapRendererSetupOptions jarg2_); - public final static native long IMapRenderer_getConfiguration(long jarg1, IMapRenderer jarg1_); - public final static native void IMapRenderer_setConfiguration__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, MapRendererConfiguration jarg2_, boolean jarg3); - public final static native void IMapRenderer_setConfiguration__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, MapRendererConfiguration jarg2_); - public final static native boolean IMapRenderer_isRenderingInitialized(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_initializeRendering(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_update(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_prepareFrame(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_renderFrame(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_releaseRendering(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_isIdle(long jarg1, IMapRenderer jarg1_); - public final static native String IMapRenderer_getNotIdleReason(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_pauseGpuWorkerThread(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_resumeGpuWorkerThread(long jarg1, IMapRenderer jarg1_); - public final static native long new_IMapRenderer_IFramePreparedObserver(); - public final static native void delete_IMapRenderer_IFramePreparedObserver(long jarg1); - public final static native void IMapRenderer_IFramePreparedObserver_method(long jarg1, IMapRenderer.IFramePreparedObserver jarg1_, long jarg2, IMapRenderer jarg2_); - public final static native boolean IMapRenderer_IFramePreparedObserver_attachTo(long jarg1, IMapRenderer.IFramePreparedObserver jarg1_, long jarg2, long jarg3); - public final static native long IMapRenderer_IFramePreparedObserver_getBinding(long jarg1, IMapRenderer.IFramePreparedObserver jarg1_); - public final static native void IMapRenderer_IFramePreparedObserver_director_connect(IMapRenderer.IFramePreparedObserver obj, long cptr, boolean mem_own, boolean weak_global); - public final static native void IMapRenderer_IFramePreparedObserver_change_ownership(IMapRenderer.IFramePreparedObserver obj, long cptr, boolean take_or_release); - public final static native long IMapRenderer_framePreparedObservable_get(long jarg1, IMapRenderer jarg1_); - public final static native void IMapRenderer_reloadEverything(long jarg1, IMapRenderer jarg1_); - public final static native long IMapRenderer_getState(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_isFrameInvalidated(long jarg1, IMapRenderer jarg1_); - public final static native void IMapRenderer_forcedFrameInvalidate(long jarg1, IMapRenderer jarg1_); - public final static native void IMapRenderer_forcedGpuProcessingCycle(long jarg1, IMapRenderer jarg1_); - public final static native long IMapRenderer_getSymbolsCount(long jarg1, IMapRenderer jarg1_); - public final static native long IMapRenderer_getSymbolsAt(long jarg1, IMapRenderer jarg1_, long jarg2, PointI jarg2_); - public final static native void IMapRenderer_setRasterLayerProvider__SWIG_0(long jarg1, IMapRenderer jarg1_, int jarg2, long jarg3, IMapRasterBitmapTileProvider jarg3_, boolean jarg4); - public final static native void IMapRenderer_setRasterLayerProvider__SWIG_1(long jarg1, IMapRenderer jarg1_, int jarg2, long jarg3, IMapRasterBitmapTileProvider jarg3_); - public final static native void IMapRenderer_resetRasterLayerProvider__SWIG_0(long jarg1, IMapRenderer jarg1_, int jarg2, boolean jarg3); - public final static native void IMapRenderer_resetRasterLayerProvider__SWIG_1(long jarg1, IMapRenderer jarg1_, int jarg2); - public final static native void IMapRenderer_setRasterLayerOpacity__SWIG_0(long jarg1, IMapRenderer jarg1_, int jarg2, float jarg3, boolean jarg4); - public final static native void IMapRenderer_setRasterLayerOpacity__SWIG_1(long jarg1, IMapRenderer jarg1_, int jarg2, float jarg3); - public final static native void IMapRenderer_setElevationDataProvider__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, IMapElevationDataProvider jarg2_, boolean jarg3); - public final static native void IMapRenderer_setElevationDataProvider__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, IMapElevationDataProvider jarg2_); - public final static native void IMapRenderer_resetElevationDataProvider__SWIG_0(long jarg1, IMapRenderer jarg1_, boolean jarg2); - public final static native void IMapRenderer_resetElevationDataProvider__SWIG_1(long jarg1, IMapRenderer jarg1_); - public final static native void IMapRenderer_setElevationDataScaleFactor__SWIG_0(long jarg1, IMapRenderer jarg1_, float jarg2, boolean jarg3); - public final static native void IMapRenderer_setElevationDataScaleFactor__SWIG_1(long jarg1, IMapRenderer jarg1_, float jarg2); - public final static native void IMapRenderer_addSymbolProvider__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, IMapDataProvider jarg2_, boolean jarg3); - public final static native void IMapRenderer_addSymbolProvider__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, IMapDataProvider jarg2_); - public final static native void IMapRenderer_removeSymbolProvider__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, IMapDataProvider jarg2_, boolean jarg3); - public final static native void IMapRenderer_removeSymbolProvider__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, IMapDataProvider jarg2_); - public final static native void IMapRenderer_removeAllSymbolProviders__SWIG_0(long jarg1, IMapRenderer jarg1_, boolean jarg2); - public final static native void IMapRenderer_removeAllSymbolProviders__SWIG_1(long jarg1, IMapRenderer jarg1_); - public final static native void IMapRenderer_setWindowSize__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, PointI jarg2_, boolean jarg3); - public final static native void IMapRenderer_setWindowSize__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, PointI jarg2_); - public final static native void IMapRenderer_setViewport__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, AreaI jarg2_, boolean jarg3); - public final static native void IMapRenderer_setViewport__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, AreaI jarg2_); - public final static native void IMapRenderer_setFieldOfView__SWIG_0(long jarg1, IMapRenderer jarg1_, float jarg2, boolean jarg3); - public final static native void IMapRenderer_setFieldOfView__SWIG_1(long jarg1, IMapRenderer jarg1_, float jarg2); - public final static native void IMapRenderer_setDistanceToFog__SWIG_0(long jarg1, IMapRenderer jarg1_, float jarg2, boolean jarg3); - public final static native void IMapRenderer_setDistanceToFog__SWIG_1(long jarg1, IMapRenderer jarg1_, float jarg2); - public final static native void IMapRenderer_setFogOriginFactor__SWIG_0(long jarg1, IMapRenderer jarg1_, float jarg2, boolean jarg3); - public final static native void IMapRenderer_setFogOriginFactor__SWIG_1(long jarg1, IMapRenderer jarg1_, float jarg2); - public final static native void IMapRenderer_setFogHeightOriginFactor__SWIG_0(long jarg1, IMapRenderer jarg1_, float jarg2, boolean jarg3); - public final static native void IMapRenderer_setFogHeightOriginFactor__SWIG_1(long jarg1, IMapRenderer jarg1_, float jarg2); - public final static native void IMapRenderer_setFogDensity__SWIG_0(long jarg1, IMapRenderer jarg1_, float jarg2, boolean jarg3); - public final static native void IMapRenderer_setFogDensity__SWIG_1(long jarg1, IMapRenderer jarg1_, float jarg2); - public final static native void IMapRenderer_setFogColor__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, FColorRGB jarg2_, boolean jarg3); - public final static native void IMapRenderer_setFogColor__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, FColorRGB jarg2_); - public final static native void IMapRenderer_setSkyColor__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, FColorRGB jarg2_, boolean jarg3); - public final static native void IMapRenderer_setSkyColor__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, FColorRGB jarg2_); - public final static native void IMapRenderer_setAzimuth__SWIG_0(long jarg1, IMapRenderer jarg1_, float jarg2, boolean jarg3); - public final static native void IMapRenderer_setAzimuth__SWIG_1(long jarg1, IMapRenderer jarg1_, float jarg2); - public final static native void IMapRenderer_setElevationAngle__SWIG_0(long jarg1, IMapRenderer jarg1_, float jarg2, boolean jarg3); - public final static native void IMapRenderer_setElevationAngle__SWIG_1(long jarg1, IMapRenderer jarg1_, float jarg2); - public final static native void IMapRenderer_setTarget__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, PointI jarg2_, boolean jarg3); - public final static native void IMapRenderer_setTarget__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, PointI jarg2_); - public final static native void IMapRenderer_setZoom__SWIG_0(long jarg1, IMapRenderer jarg1_, float jarg2, boolean jarg3); - public final static native void IMapRenderer_setZoom__SWIG_1(long jarg1, IMapRenderer jarg1_, float jarg2); - public final static native long IMapRenderer_getDebugSettings(long jarg1, IMapRenderer jarg1_); - public final static native void IMapRenderer_setDebugSettings(long jarg1, IMapRenderer jarg1_, long jarg2, MapRendererDebugSettings jarg2_); - public final static native float IMapRenderer_getMinZoom(long jarg1, IMapRenderer jarg1_); - public final static native float IMapRenderer_getMaxZoom(long jarg1, IMapRenderer jarg1_); - public final static native float IMapRenderer_getRecommendedMinZoom__SWIG_0(long jarg1, IMapRenderer jarg1_, int jarg2); - public final static native float IMapRenderer_getRecommendedMinZoom__SWIG_1(long jarg1, IMapRenderer jarg1_); - public final static native float IMapRenderer_getRecommendedMaxZoom__SWIG_0(long jarg1, IMapRenderer jarg1_, int jarg2); - public final static native float IMapRenderer_getRecommendedMaxZoom__SWIG_1(long jarg1, IMapRenderer jarg1_); - public final static native long new_IMapRenderer_IStateChangeObserver(); - public final static native void delete_IMapRenderer_IStateChangeObserver(long jarg1); - public final static native void IMapRenderer_IStateChangeObserver_method(long jarg1, IMapRenderer.IStateChangeObserver jarg1_, long jarg2, IMapRenderer jarg2_, int jarg3, long jarg4, MapRendererStateChanges jarg4_); - public final static native boolean IMapRenderer_IStateChangeObserver_attachTo(long jarg1, IMapRenderer.IStateChangeObserver jarg1_, long jarg2, long jarg3); - public final static native long IMapRenderer_IStateChangeObserver_getBinding(long jarg1, IMapRenderer.IStateChangeObserver jarg1_); - public final static native void IMapRenderer_IStateChangeObserver_director_connect(IMapRenderer.IStateChangeObserver obj, long cptr, boolean mem_own, boolean weak_global); - public final static native void IMapRenderer_IStateChangeObserver_change_ownership(IMapRenderer.IStateChangeObserver obj, long cptr, boolean take_or_release); - public final static native long IMapRenderer_stateChangeObservable_get(long jarg1, IMapRenderer jarg1_); - public final static native boolean IMapRenderer_getLocationFromScreenPoint__SWIG_0(long jarg1, IMapRenderer jarg1_, long jarg2, PointI jarg2_, long jarg3, PointI jarg3_); - public final static native boolean IMapRenderer_getLocationFromScreenPoint__SWIG_1(long jarg1, IMapRenderer jarg1_, long jarg2, PointI jarg2_, long jarg3); - public final static native void IMapRenderer_dumpResourcesInfo(long jarg1, IMapRenderer jarg1_); - public final static native long createMapRenderer(int jarg1); - public final static native long new_AtlasMapRendererConfiguration(); - public final static native void delete_AtlasMapRendererConfiguration(long jarg1); - public final static native void AtlasMapRendererConfiguration_referenceTileSizeOnScreenInPixels_set(long jarg1, AtlasMapRendererConfiguration jarg1_, long jarg2); - public final static native long AtlasMapRendererConfiguration_referenceTileSizeOnScreenInPixels_get(long jarg1, AtlasMapRendererConfiguration jarg1_); - public final static native void AtlasMapRendererConfiguration_copyTo(long jarg1, AtlasMapRendererConfiguration jarg1_, long jarg2, MapRendererConfiguration jarg2_); - public final static native long AtlasMapRendererConfiguration_createCopy(long jarg1, AtlasMapRendererConfiguration jarg1_); - public final static native long AtlasMapRendererConfiguration_Casts_upcastFrom(long jarg1, MapRendererConfiguration jarg1_); - public final static native long AtlasMapRendererConfiguration_Casts_downcastTo_MapRendererConfiguration(long jarg1, AtlasMapRendererConfiguration jarg1_); - public final static native long new_AtlasMapRendererConfiguration_Casts(); - public final static native void delete_AtlasMapRendererConfiguration_Casts(long jarg1); - public final static native int IMapDataProvider_DataType_Unknown_get(); - public final static native void delete_IMapDataProvider(long jarg1); - public final static native int IMapDataProvider_dataType_get(long jarg1, IMapDataProvider jarg1_); - public final static native void delete_MapData(long jarg1); - public final static native int MapData_dataType_get(long jarg1, MapData jarg1_); - public final static native boolean MapData_consumableContentReleased_get(long jarg1, MapData jarg1_); - public final static native void MapData_releaseConsumableContent(long jarg1, MapData jarg1_); - public final static native void delete_IMapTiledDataProvider(long jarg1); - public final static native int IMapTiledDataProvider_getMinZoom(long jarg1, IMapTiledDataProvider jarg1_); - public final static native int IMapTiledDataProvider_getMaxZoom(long jarg1, IMapTiledDataProvider jarg1_); - public final static native boolean IMapTiledDataProvider_obtainData__SWIG_0(long jarg1, IMapTiledDataProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_, long jarg5); - public final static native boolean IMapTiledDataProvider_obtainData__SWIG_1(long jarg1, IMapTiledDataProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_); - public final static native void delete_MapTiledData(long jarg1); - public final static native long MapTiledData_tileId_get(long jarg1, MapTiledData jarg1_); - public final static native int MapTiledData_zoom_get(long jarg1, MapTiledData jarg1_); - public final static native void delete_IMapElevationDataProvider(long jarg1); - public final static native long IMapElevationDataProvider_getTileSize(long jarg1, IMapElevationDataProvider jarg1_); - public final static native long new_ElevationDataTile(long jarg1, long jarg2, long jarg3, long jarg4, TileId jarg4_, int jarg5); - public final static native void delete_ElevationDataTile(long jarg1); - public final static native void ElevationDataTile_data_set(long jarg1, ElevationDataTile jarg1_, long jarg2); - public final static native long ElevationDataTile_data_get(long jarg1, ElevationDataTile jarg1_); - public final static native void ElevationDataTile_rowLength_set(long jarg1, ElevationDataTile jarg1_, long jarg2); - public final static native long ElevationDataTile_rowLength_get(long jarg1, ElevationDataTile jarg1_); - public final static native void ElevationDataTile_size_set(long jarg1, ElevationDataTile jarg1_, long jarg2); - public final static native long ElevationDataTile_size_get(long jarg1, ElevationDataTile jarg1_); - public final static native void ElevationDataTile_releaseConsumableContent(long jarg1, ElevationDataTile jarg1_); - public final static native void delete_IMapRasterBitmapTileProvider(long jarg1); - public final static native long IMapRasterBitmapTileProvider_getTileSize(long jarg1, IMapRasterBitmapTileProvider jarg1_); - public final static native float IMapRasterBitmapTileProvider_getTileDensityFactor(long jarg1, IMapRasterBitmapTileProvider jarg1_); - public final static native long new_RasterBitmapTile(long jarg1, int jarg2, float jarg3, long jarg4, TileId jarg4_, int jarg5); - public final static native void delete_RasterBitmapTile(long jarg1); - public final static native void RasterBitmapTile_bitmap_set(long jarg1, RasterBitmapTile jarg1_, long jarg2); - public final static native long RasterBitmapTile_bitmap_get(long jarg1, RasterBitmapTile jarg1_); - public final static native void RasterBitmapTile_alphaChannelData_set(long jarg1, RasterBitmapTile jarg1_, int jarg2); - public final static native int RasterBitmapTile_alphaChannelData_get(long jarg1, RasterBitmapTile jarg1_); - public final static native void RasterBitmapTile_densityFactor_set(long jarg1, RasterBitmapTile jarg1_, float jarg2); - public final static native float RasterBitmapTile_densityFactor_get(long jarg1, RasterBitmapTile jarg1_); - public final static native void RasterBitmapTile_releaseConsumableContent(long jarg1, RasterBitmapTile jarg1_); - public final static native void delete_IMapTiledSymbolsProvider(long jarg1); - public final static native boolean IMapTiledSymbolsProvider_obtainData__SWIG_0(long jarg1, IMapTiledSymbolsProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_, long jarg5); - public final static native boolean IMapTiledSymbolsProvider_obtainData__SWIG_1(long jarg1, IMapTiledSymbolsProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_); - public final static native long new_TiledMapSymbolsData(long jarg1, long jarg2, TileId jarg2_, int jarg3); - public final static native void delete_TiledMapSymbolsData(long jarg1); - public final static native void TiledMapSymbolsData_symbolsGroups_set(long jarg1, TiledMapSymbolsData jarg1_, long jarg2); - public final static native long TiledMapSymbolsData_symbolsGroups_get(long jarg1, TiledMapSymbolsData jarg1_); - public final static native void TiledMapSymbolsData_releaseConsumableContent(long jarg1, TiledMapSymbolsData jarg1_); - public final static native void delete_IMapKeyedDataProvider(long jarg1); - public final static native long IMapKeyedDataProvider_getProvidedDataKeys(long jarg1, IMapKeyedDataProvider jarg1_); - public final static native boolean IMapKeyedDataProvider_obtainData__SWIG_0(long jarg1, IMapKeyedDataProvider jarg1_, long jarg2, long jarg3, MapKeyedData jarg3_, long jarg4); - public final static native boolean IMapKeyedDataProvider_obtainData__SWIG_1(long jarg1, IMapKeyedDataProvider jarg1_, long jarg2, long jarg3, MapKeyedData jarg3_); - public final static native void delete_MapKeyedData(long jarg1); - public final static native long MapKeyedData_key_get(long jarg1, MapKeyedData jarg1_); - public final static native void delete_IMapKeyedSymbolsProvider(long jarg1); - public final static native long new_KeyedMapSymbolsData(long jarg1, MapSymbolsGroup jarg1_, long jarg2); - public final static native void delete_KeyedMapSymbolsData(long jarg1); - public final static native void KeyedMapSymbolsData_symbolsGroup_set(long jarg1, KeyedMapSymbolsData jarg1_, long jarg2, MapSymbolsGroup jarg2_); - public final static native long KeyedMapSymbolsData_symbolsGroup_get(long jarg1, KeyedMapSymbolsData jarg1_); - public final static native void KeyedMapSymbolsData_releaseConsumableContent(long jarg1, KeyedMapSymbolsData jarg1_); - public final static native int Primitiviser_PrimitiveType_Point_get(); - public final static native int Primitiviser_PrimitiveType_Polyline_get(); - public final static native int Primitiviser_PrimitiveType_Polygon_get(); - public final static native void delete_Primitiviser_PrimitivesGroup(long jarg1); - public final static native long Primitiviser_PrimitivesGroup_sourceObject_get(long jarg1, Primitiviser.PrimitivesGroup jarg1_); - public final static native void Primitiviser_PrimitivesGroup_polygons_set(long jarg1, Primitiviser.PrimitivesGroup jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivesGroup_polygons_get(long jarg1, Primitiviser.PrimitivesGroup jarg1_); - public final static native void Primitiviser_PrimitivesGroup_polylines_set(long jarg1, Primitiviser.PrimitivesGroup jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivesGroup_polylines_get(long jarg1, Primitiviser.PrimitivesGroup jarg1_); - public final static native void Primitiviser_PrimitivesGroup_points_set(long jarg1, Primitiviser.PrimitivesGroup jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivesGroup_points_get(long jarg1, Primitiviser.PrimitivesGroup jarg1_); - public final static native void delete_Primitiviser_Primitive(long jarg1); - public final static native long Primitiviser_Primitive_group_get(long jarg1, Primitiviser.Primitive jarg1_); - public final static native long Primitiviser_Primitive_sourceObject_get(long jarg1, Primitiviser.Primitive jarg1_); - public final static native int Primitiviser_Primitive_type_get(long jarg1, Primitiviser.Primitive jarg1_); - public final static native long Primitiviser_Primitive_typeRuleIdIndex_get(long jarg1, Primitiviser.Primitive jarg1_); - public final static native long Primitiviser_Primitive_evaluationResult_get(long jarg1, Primitiviser.Primitive jarg1_); - public final static native void Primitiviser_Primitive_zOrder_set(long jarg1, Primitiviser.Primitive jarg1_, int jarg2); - public final static native int Primitiviser_Primitive_zOrder_get(long jarg1, Primitiviser.Primitive jarg1_); - public final static native void Primitiviser_Primitive_doubledArea_set(long jarg1, Primitiviser.Primitive jarg1_, long jarg2); - public final static native long Primitiviser_Primitive_doubledArea_get(long jarg1, Primitiviser.Primitive jarg1_); - public final static native void delete_Primitiviser_SymbolsGroup(long jarg1); - public final static native long Primitiviser_SymbolsGroup_sourceObject_get(long jarg1, Primitiviser.SymbolsGroup jarg1_); - public final static native void Primitiviser_SymbolsGroup_symbols_set(long jarg1, Primitiviser.SymbolsGroup jarg1_, long jarg2); - public final static native long Primitiviser_SymbolsGroup_symbols_get(long jarg1, Primitiviser.SymbolsGroup jarg1_); - public final static native void delete_Primitiviser_Symbol(long jarg1); - public final static native long Primitiviser_Symbol_primitive_get(long jarg1, Primitiviser.Symbol jarg1_); - public final static native void Primitiviser_Symbol_location31_set(long jarg1, Primitiviser.Symbol jarg1_, long jarg2, PointI jarg2_); - public final static native long Primitiviser_Symbol_location31_get(long jarg1, Primitiviser.Symbol jarg1_); - public final static native void Primitiviser_Symbol_order_set(long jarg1, Primitiviser.Symbol jarg1_, int jarg2); - public final static native int Primitiviser_Symbol_order_get(long jarg1, Primitiviser.Symbol jarg1_); - public final static native void Primitiviser_Symbol_drawAlongPath_set(long jarg1, Primitiviser.Symbol jarg1_, boolean jarg2); - public final static native boolean Primitiviser_Symbol_drawAlongPath_get(long jarg1, Primitiviser.Symbol jarg1_); - public final static native void Primitiviser_Symbol_intersectsWith_set(long jarg1, Primitiviser.Symbol jarg1_, long jarg2); - public final static native long Primitiviser_Symbol_intersectsWith_get(long jarg1, Primitiviser.Symbol jarg1_); - public final static native void delete_Primitiviser_TextSymbol(long jarg1); - public final static native void Primitiviser_TextSymbol_value_set(long jarg1, Primitiviser.TextSymbol jarg1_, String jarg2); - public final static native String Primitiviser_TextSymbol_value_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_languageId_set(long jarg1, Primitiviser.TextSymbol jarg1_, int jarg2); - public final static native int Primitiviser_TextSymbol_languageId_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_drawOnPath_set(long jarg1, Primitiviser.TextSymbol jarg1_, boolean jarg2); - public final static native boolean Primitiviser_TextSymbol_drawOnPath_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_verticalOffset_set(long jarg1, Primitiviser.TextSymbol jarg1_, int jarg2); - public final static native int Primitiviser_TextSymbol_verticalOffset_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_color_set(long jarg1, Primitiviser.TextSymbol jarg1_, long jarg2, ColorARGB jarg2_); - public final static native long Primitiviser_TextSymbol_color_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_size_set(long jarg1, Primitiviser.TextSymbol jarg1_, int jarg2); - public final static native int Primitiviser_TextSymbol_size_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_shadowRadius_set(long jarg1, Primitiviser.TextSymbol jarg1_, int jarg2); - public final static native int Primitiviser_TextSymbol_shadowRadius_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_shadowColor_set(long jarg1, Primitiviser.TextSymbol jarg1_, long jarg2, ColorARGB jarg2_); - public final static native long Primitiviser_TextSymbol_shadowColor_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_wrapWidth_set(long jarg1, Primitiviser.TextSymbol jarg1_, int jarg2); - public final static native int Primitiviser_TextSymbol_wrapWidth_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_isBold_set(long jarg1, Primitiviser.TextSymbol jarg1_, boolean jarg2); - public final static native boolean Primitiviser_TextSymbol_isBold_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_minDistance_set(long jarg1, Primitiviser.TextSymbol jarg1_, long jarg2, PointI jarg2_); - public final static native long Primitiviser_TextSymbol_minDistance_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void Primitiviser_TextSymbol_shieldResourceName_set(long jarg1, Primitiviser.TextSymbol jarg1_, String jarg2); - public final static native String Primitiviser_TextSymbol_shieldResourceName_get(long jarg1, Primitiviser.TextSymbol jarg1_); - public final static native void delete_Primitiviser_IconSymbol(long jarg1); - public final static native void Primitiviser_IconSymbol_resourceName_set(long jarg1, Primitiviser.IconSymbol jarg1_, String jarg2); - public final static native String Primitiviser_IconSymbol_resourceName_get(long jarg1, Primitiviser.IconSymbol jarg1_); - public final static native void Primitiviser_IconSymbol_shieldResourceName_set(long jarg1, Primitiviser.IconSymbol jarg1_, String jarg2); - public final static native String Primitiviser_IconSymbol_shieldResourceName_get(long jarg1, Primitiviser.IconSymbol jarg1_); - public final static native void Primitiviser_IconSymbol_intersectionSize_set(long jarg1, Primitiviser.IconSymbol jarg1_, float jarg2); - public final static native float Primitiviser_IconSymbol_intersectionSize_get(long jarg1, Primitiviser.IconSymbol jarg1_); - public final static native long new_Primitiviser_Cache(); - public final static native void delete_Primitiviser_Cache(long jarg1); - public final static native long Primitiviser_Cache_getPrimitivesGroups__SWIG_0(long jarg1, Primitiviser.Cache jarg1_, int jarg2); - public final static native long Primitiviser_Cache_getSymbolsGroups__SWIG_0(long jarg1, Primitiviser.Cache jarg1_, int jarg2); - public final static native long Primitiviser_Cache_getPrimitivesGroupsPtr__SWIG_0(long jarg1, Primitiviser.Cache jarg1_, int jarg2); - public final static native long Primitiviser_Cache_getSymbolsGroupsPtr__SWIG_0(long jarg1, Primitiviser.Cache jarg1_, int jarg2); - public final static native void delete_Primitiviser_PrimitivisedArea(long jarg1); - public final static native long Primitiviser_PrimitivisedArea_area31_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native long Primitiviser_PrimitivisedArea_sizeInPixels_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native int Primitiviser_PrimitivisedArea_zoom_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native long Primitiviser_PrimitivisedArea_mapPresentationEnvironment_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_defaultBackgroundColor_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2, ColorARGB jarg2_); - public final static native long Primitiviser_PrimitivisedArea_defaultBackgroundColor_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_shadowRenderingMode_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, int jarg2); - public final static native int Primitiviser_PrimitivisedArea_shadowRenderingMode_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_shadowRenderingColor_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2, ColorARGB jarg2_); - public final static native long Primitiviser_PrimitivisedArea_shadowRenderingColor_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_polygonAreaMinimalThreshold_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, double jarg2); - public final static native double Primitiviser_PrimitivisedArea_polygonAreaMinimalThreshold_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_roadDensityZoomTile_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivisedArea_roadDensityZoomTile_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_roadsDensityLimitPerTile_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivisedArea_roadsDensityLimitPerTile_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_shadowLevelMin_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, int jarg2); - public final static native int Primitiviser_PrimitivisedArea_shadowLevelMin_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_shadowLevelMax_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, int jarg2); - public final static native int Primitiviser_PrimitivisedArea_shadowLevelMax_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_scale31ToPixelDivisor_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2, PointD jarg2_); - public final static native long Primitiviser_PrimitivisedArea_scale31ToPixelDivisor_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_primitivesGroups_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivisedArea_primitivesGroups_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_polygons_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivisedArea_polygons_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_polylines_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivisedArea_polylines_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_points_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivisedArea_points_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native void Primitiviser_PrimitivisedArea_symbolsGroups_set(long jarg1, Primitiviser.PrimitivisedArea jarg1_, long jarg2); - public final static native long Primitiviser_PrimitivisedArea_symbolsGroups_get(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native boolean Primitiviser_PrimitivisedArea_isEmpty(long jarg1, Primitiviser.PrimitivisedArea jarg1_); - public final static native long new_Primitiviser(long jarg1, MapPresentationEnvironment jarg1_); - public final static native void delete_Primitiviser(long jarg1); - public final static native long Primitiviser_environment_get(long jarg1, Primitiviser jarg1_); - public final static native long Primitiviser_primitivise__SWIG_0(long jarg1, Primitiviser jarg1_, long jarg2, AreaI jarg2_, long jarg3, PointI jarg3_, int jarg4, int jarg5, long jarg6, long jarg7, long jarg8, long jarg9); - public final static native long Primitiviser_primitivise__SWIG_1(long jarg1, Primitiviser jarg1_, long jarg2, AreaI jarg2_, long jarg3, PointI jarg3_, int jarg4, int jarg5, long jarg6, long jarg7, long jarg8); - public final static native long Primitiviser_primitivise__SWIG_2(long jarg1, Primitiviser jarg1_, long jarg2, AreaI jarg2_, long jarg3, PointI jarg3_, int jarg4, int jarg5, long jarg6, long jarg7); - public final static native long Primitiviser_primitivise__SWIG_3(long jarg1, Primitiviser jarg1_, long jarg2, AreaI jarg2_, long jarg3, PointI jarg3_, int jarg4, int jarg5, long jarg6); - public final static native long new_BinaryMapDataProvider(long jarg1, IObfsCollection jarg1_); - public final static native void delete_BinaryMapDataProvider(long jarg1); - public final static native long BinaryMapDataProvider_obfsCollection_get(long jarg1, BinaryMapDataProvider jarg1_); - public final static native int BinaryMapDataProvider_getMinZoom(long jarg1, BinaryMapDataProvider jarg1_); - public final static native int BinaryMapDataProvider_getMaxZoom(long jarg1, BinaryMapDataProvider jarg1_); - public final static native boolean BinaryMapDataProvider_obtainData__SWIG_0(long jarg1, BinaryMapDataProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_, long jarg5); - public final static native boolean BinaryMapDataProvider_obtainData__SWIG_1(long jarg1, BinaryMapDataProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_); - public final static native boolean BinaryMapDataProvider_obtainData__SWIG_2(long jarg1, BinaryMapDataProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_, long jarg5, long jarg6); - public final static native void delete_BinaryMapDataTile(long jarg1); - public final static native long BinaryMapDataTile_dataBlocksCache_get(long jarg1, BinaryMapDataTile jarg1_); - public final static native long BinaryMapDataTile_referencedDataBlocks_get(long jarg1, BinaryMapDataTile jarg1_); - public final static native int BinaryMapDataTile_tileFoundation_get(long jarg1, BinaryMapDataTile jarg1_); - public final static native long BinaryMapDataTile_mapObjects_get(long jarg1, BinaryMapDataTile jarg1_); - public final static native void BinaryMapDataTile_releaseConsumableContent(long jarg1, BinaryMapDataTile jarg1_); - public final static native long new_BinaryMapPrimitivesProvider__SWIG_0(long jarg1, BinaryMapDataProvider jarg1_, long jarg2, Primitiviser jarg2_, long jarg3); - public final static native long new_BinaryMapPrimitivesProvider__SWIG_1(long jarg1, BinaryMapDataProvider jarg1_, long jarg2, Primitiviser jarg2_); - public final static native void delete_BinaryMapPrimitivesProvider(long jarg1); - public final static native long BinaryMapPrimitivesProvider_dataProvider_get(long jarg1, BinaryMapPrimitivesProvider jarg1_); - public final static native long BinaryMapPrimitivesProvider_primitiviser_get(long jarg1, BinaryMapPrimitivesProvider jarg1_); - public final static native long BinaryMapPrimitivesProvider_tileSize_get(long jarg1, BinaryMapPrimitivesProvider jarg1_); - public final static native int BinaryMapPrimitivesProvider_getMinZoom(long jarg1, BinaryMapPrimitivesProvider jarg1_); - public final static native int BinaryMapPrimitivesProvider_getMaxZoom(long jarg1, BinaryMapPrimitivesProvider jarg1_); - public final static native boolean BinaryMapPrimitivesProvider_obtainData__SWIG_0(long jarg1, BinaryMapPrimitivesProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_, long jarg5); - public final static native boolean BinaryMapPrimitivesProvider_obtainData__SWIG_1(long jarg1, BinaryMapPrimitivesProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_); - public final static native boolean BinaryMapPrimitivesProvider_obtainData__SWIG_2(long jarg1, BinaryMapPrimitivesProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_, long jarg5, long jarg6); - public final static native void delete_BinaryMapPrimitivesTile(long jarg1); - public final static native long BinaryMapPrimitivesTile_dataTile_get(long jarg1, BinaryMapPrimitivesTile jarg1_); - public final static native long BinaryMapPrimitivesTile_primitivisedArea_get(long jarg1, BinaryMapPrimitivesTile jarg1_); - public final static native void BinaryMapPrimitivesTile_releaseConsumableContent(long jarg1, BinaryMapPrimitivesTile jarg1_); - public final static native long new_BinaryMapStaticSymbolsProvider(long jarg1, BinaryMapPrimitivesProvider jarg1_, long jarg2); - public final static native void delete_BinaryMapStaticSymbolsProvider(long jarg1); - public final static native long BinaryMapStaticSymbolsProvider_primitivesProvider_get(long jarg1, BinaryMapStaticSymbolsProvider jarg1_); - public final static native void BinaryMapStaticSymbolsProvider_referenceTileSizeInPixels_set(long jarg1, BinaryMapStaticSymbolsProvider jarg1_, long jarg2); - public final static native long BinaryMapStaticSymbolsProvider_referenceTileSizeInPixels_get(long jarg1, BinaryMapStaticSymbolsProvider jarg1_); - public final static native int BinaryMapStaticSymbolsProvider_getMinZoom(long jarg1, BinaryMapStaticSymbolsProvider jarg1_); - public final static native int BinaryMapStaticSymbolsProvider_getMaxZoom(long jarg1, BinaryMapStaticSymbolsProvider jarg1_); - public final static native void delete_BinaryMapStaticSymbolsTile(long jarg1); - public final static native long BinaryMapStaticSymbolsTile_dataTile_get(long jarg1, BinaryMapStaticSymbolsTile jarg1_); - public final static native void delete_BinaryMapRasterBitmapTileProvider(long jarg1); - public final static native long BinaryMapRasterBitmapTileProvider_primitivesProvider_get(long jarg1, BinaryMapRasterBitmapTileProvider jarg1_); - public final static native float BinaryMapRasterBitmapTileProvider_getTileDensityFactor(long jarg1, BinaryMapRasterBitmapTileProvider jarg1_); - public final static native long BinaryMapRasterBitmapTileProvider_getTileSize(long jarg1, BinaryMapRasterBitmapTileProvider jarg1_); - public final static native boolean BinaryMapRasterBitmapTileProvider_obtainData__SWIG_0(long jarg1, BinaryMapRasterBitmapTileProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_, long jarg5); - public final static native boolean BinaryMapRasterBitmapTileProvider_obtainData__SWIG_1(long jarg1, BinaryMapRasterBitmapTileProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_); - public final static native boolean BinaryMapRasterBitmapTileProvider_obtainData__SWIG_2(long jarg1, BinaryMapRasterBitmapTileProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_, long jarg5, long jarg6); - public final static native int BinaryMapRasterBitmapTileProvider_getMinZoom(long jarg1, BinaryMapRasterBitmapTileProvider jarg1_); - public final static native int BinaryMapRasterBitmapTileProvider_getMaxZoom(long jarg1, BinaryMapRasterBitmapTileProvider jarg1_); - public final static native long new_BinaryMapRasterizedTile(long jarg1, BinaryMapPrimitivesTile jarg1_, long jarg2, int jarg3, float jarg4, long jarg5, TileId jarg5_, int jarg6); - public final static native void delete_BinaryMapRasterizedTile(long jarg1); - public final static native long BinaryMapRasterizedTile_binaryMapTile_get(long jarg1, BinaryMapRasterizedTile jarg1_); - public final static native long new_BinaryMapRasterBitmapTileProvider_Software(long jarg1, BinaryMapPrimitivesProvider jarg1_); - public final static native void delete_BinaryMapRasterBitmapTileProvider_Software(long jarg1); - public final static native long new_IOnlineTileSources_Source(String jarg1); - public final static native void delete_IOnlineTileSources_Source(long jarg1); - public final static native String IOnlineTileSources_Source_name_get(long jarg1, IOnlineTileSources.Source jarg1_); - public final static native void IOnlineTileSources_Source_urlPattern_set(long jarg1, IOnlineTileSources.Source jarg1_, String jarg2); - public final static native String IOnlineTileSources_Source_urlPattern_get(long jarg1, IOnlineTileSources.Source jarg1_); - public final static native void IOnlineTileSources_Source_minZoom_set(long jarg1, IOnlineTileSources.Source jarg1_, int jarg2); - public final static native int IOnlineTileSources_Source_minZoom_get(long jarg1, IOnlineTileSources.Source jarg1_); - public final static native void IOnlineTileSources_Source_maxZoom_set(long jarg1, IOnlineTileSources.Source jarg1_, int jarg2); - public final static native int IOnlineTileSources_Source_maxZoom_get(long jarg1, IOnlineTileSources.Source jarg1_); - public final static native void IOnlineTileSources_Source_maxConcurrentDownloads_set(long jarg1, IOnlineTileSources.Source jarg1_, long jarg2); - public final static native long IOnlineTileSources_Source_maxConcurrentDownloads_get(long jarg1, IOnlineTileSources.Source jarg1_); - public final static native void IOnlineTileSources_Source_tileSize_set(long jarg1, IOnlineTileSources.Source jarg1_, long jarg2); - public final static native long IOnlineTileSources_Source_tileSize_get(long jarg1, IOnlineTileSources.Source jarg1_); - public final static native void IOnlineTileSources_Source_alphaChannelData_set(long jarg1, IOnlineTileSources.Source jarg1_, int jarg2); - public final static native int IOnlineTileSources_Source_alphaChannelData_get(long jarg1, IOnlineTileSources.Source jarg1_); - public final static native void delete_IOnlineTileSources(long jarg1); - public final static native long IOnlineTileSources_getCollection(long jarg1, IOnlineTileSources jarg1_); - public final static native long IOnlineTileSources_getSourceByName(long jarg1, IOnlineTileSources jarg1_, String jarg2); - public final static native long IOnlineTileSources_createProviderFor(long jarg1, IOnlineTileSources jarg1_, String jarg2); - public final static native long new_OnlineTileSources(); - public final static native void delete_OnlineTileSources(long jarg1); - public final static native boolean OnlineTileSources_loadFrom__SWIG_0(long jarg1, OnlineTileSources jarg1_, long jarg2); - public final static native boolean OnlineTileSources_loadFrom__SWIG_1(long jarg1, OnlineTileSources jarg1_, long jarg2); - public final static native boolean OnlineTileSources_loadFrom__SWIG_2(long jarg1, OnlineTileSources jarg1_, String jarg2); - public final static native boolean OnlineTileSources_saveTo__SWIG_0(long jarg1, OnlineTileSources jarg1_, long jarg2); - public final static native boolean OnlineTileSources_saveTo__SWIG_1(long jarg1, OnlineTileSources jarg1_, String jarg2); - public final static native long OnlineTileSources_getCollection(long jarg1, OnlineTileSources jarg1_); - public final static native long OnlineTileSources_getSourceByName(long jarg1, OnlineTileSources jarg1_, String jarg2); - public final static native boolean OnlineTileSources_addSource(long jarg1, OnlineTileSources jarg1_, long jarg2); - public final static native boolean OnlineTileSources_removeSource(long jarg1, OnlineTileSources jarg1_, String jarg2); - public final static native long OnlineTileSources_getBuiltIn(); - public final static native long new_OnlineRasterMapTileProvider__SWIG_0(String jarg1, String jarg2, int jarg3, int jarg4, long jarg5, long jarg6, int jarg7); - public final static native long new_OnlineRasterMapTileProvider__SWIG_1(String jarg1, String jarg2, int jarg3, int jarg4, long jarg5, long jarg6); - public final static native long new_OnlineRasterMapTileProvider__SWIG_2(String jarg1, String jarg2, int jarg3, int jarg4, long jarg5); - public final static native long new_OnlineRasterMapTileProvider__SWIG_3(String jarg1, String jarg2, int jarg3, int jarg4); - public final static native long new_OnlineRasterMapTileProvider__SWIG_4(String jarg1, String jarg2, int jarg3); - public final static native long new_OnlineRasterMapTileProvider__SWIG_5(String jarg1, String jarg2); - public final static native void delete_OnlineRasterMapTileProvider(long jarg1); - public final static native String OnlineRasterMapTileProvider_name_get(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native String OnlineRasterMapTileProvider_pathSuffix_get(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native String OnlineRasterMapTileProvider_urlPattern_get(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native long OnlineRasterMapTileProvider_maxConcurrentDownloads_get(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native long OnlineRasterMapTileProvider_providerTileSize_get(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native int OnlineRasterMapTileProvider_alphaChannelData_get(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native void OnlineRasterMapTileProvider_setLocalCachePath__SWIG_0(long jarg1, OnlineRasterMapTileProvider jarg1_, long jarg2, boolean jarg3); - public final static native void OnlineRasterMapTileProvider_setLocalCachePath__SWIG_1(long jarg1, OnlineRasterMapTileProvider jarg1_, long jarg2); - public final static native long OnlineRasterMapTileProvider_localCachePath_get(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native void OnlineRasterMapTileProvider_setNetworkAccessPermission(long jarg1, OnlineRasterMapTileProvider jarg1_, boolean jarg2); - public final static native boolean OnlineRasterMapTileProvider_networkAccessAllowed_get(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native float OnlineRasterMapTileProvider_getTileDensityFactor(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native long OnlineRasterMapTileProvider_getTileSize(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native boolean OnlineRasterMapTileProvider_obtainData__SWIG_0(long jarg1, OnlineRasterMapTileProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_, long jarg5); - public final static native boolean OnlineRasterMapTileProvider_obtainData__SWIG_1(long jarg1, OnlineRasterMapTileProvider jarg1_, long jarg2, TileId jarg2_, int jarg3, long jarg4, MapTiledData jarg4_); - public final static native int OnlineRasterMapTileProvider_getMinZoom(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native int OnlineRasterMapTileProvider_getMaxZoom(long jarg1, OnlineRasterMapTileProvider jarg1_); - public final static native long ObfsCollection_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResourcesManager_LocalResource_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResourcesManager_UnmanagedResource_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResourcesManager_InstalledResource_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResourcesManager_BuiltinResource_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResourcesManager_ResourceInRepository_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResourcesManager_ObfMetadata_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResourcesManager_MapStyleMetadata_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResourcesManager_MapStylesPresetsMetadata_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResourcesManager_OnlineTileSourcesMetadata_SWIGSmartPtrUpcast(long jarg1); - public final static native long CoreResourcesEmbeddedBundle_SWIGSmartPtrUpcast(long jarg1); - public final static native long DefaultLogSink_SWIGSmartPtrUpcast(long jarg1); - public final static native long QIODeviceLogSink_SWIGSmartPtrUpcast(long jarg1); - public final static native long MapSymbolsGroup_AdditionalBillboardSymbolInstanceParameters_SWIGUpcast(long jarg1); - public final static native long MapSymbolsGroup_AdditionalOnSurfaceSymbolInstanceParameters_SWIGUpcast(long jarg1); - public final static native long MapSymbolsGroup_AdditionalOnPathSymbolInstanceParameters_SWIGUpcast(long jarg1); - public final static native long MapStylesCollection_SWIGSmartPtrUpcast(long jarg1); - public final static native long MapStylesPresetsCollection_SWIGSmartPtrUpcast(long jarg1); - public final static native long MapStyleBuiltinValueDefinitions_MapStyleBuiltinValueDefinition_SWIGSmartPtrUpcast(long jarg1); - public final static native long ResolvedMapStyle_Rule_SWIGUpcast(long jarg1); - public final static native long ResolvedMapStyle_Attribute_SWIGUpcast(long jarg1); - public final static native long ResolvedMapStyle_ParameterValueDefinition_SWIGSmartPtrUpcast(long jarg1); - public final static native long AtlasMapRendererConfiguration_SWIGSmartPtrUpcast(long jarg1); - public final static native long IMapTiledDataProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long MapTiledData_SWIGSmartPtrUpcast(long jarg1); - public final static native long IMapElevationDataProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long ElevationDataTile_SWIGSmartPtrUpcast(long jarg1); - public final static native long IMapRasterBitmapTileProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long RasterBitmapTile_SWIGSmartPtrUpcast(long jarg1); - public final static native long IMapTiledSymbolsProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long TiledMapSymbolsData_SWIGSmartPtrUpcast(long jarg1); - public final static native long IMapKeyedDataProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long MapKeyedData_SWIGSmartPtrUpcast(long jarg1); - public final static native long IMapKeyedSymbolsProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long KeyedMapSymbolsData_SWIGSmartPtrUpcast(long jarg1); - public final static native long Primitiviser_TextSymbol_SWIGSmartPtrUpcast(long jarg1); - public final static native long Primitiviser_IconSymbol_SWIGSmartPtrUpcast(long jarg1); - public final static native long BinaryMapDataProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long BinaryMapDataTile_SWIGSmartPtrUpcast(long jarg1); - public final static native long BinaryMapPrimitivesProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long BinaryMapPrimitivesTile_SWIGSmartPtrUpcast(long jarg1); - public final static native long BinaryMapStaticSymbolsProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long BinaryMapStaticSymbolsTile_SWIGSmartPtrUpcast(long jarg1); - public final static native long BinaryMapRasterBitmapTileProvider_SWIGSmartPtrUpcast(long jarg1); - public final static native long BinaryMapRasterizedTile_SWIGSmartPtrUpcast(long jarg1); - public final static native long BinaryMapRasterBitmapTileProvider_Software_SWIGSmartPtrUpcast(long jarg1); - public final static native long OnlineTileSources_SWIGSmartPtrUpcast(long jarg1); - public final static native long OnlineRasterMapTileProvider_SWIGSmartPtrUpcast(long jarg1); - - public static void SwigDirector_ResourcesManager_ILocalResourcesChanged_method(ResourcesManager.ILocalResourcesChanged self, long resourcesManager, long added, long removed, long updated) { - self.method((resourcesManager == 0) ? null : new ResourcesManager(resourcesManager, false), new QStringList(added, false), new QStringList(removed, false), new QStringList(updated, false)); - } - public static void SwigDirector_ResourcesManager_IRepositoryUpdated_method(ResourcesManager.IRepositoryUpdated self, long resourcesManager) { - self.method((resourcesManager == 0) ? null : new ResourcesManager(resourcesManager, false)); - } - public static long SwigDirector_ICoreResourcesProvider_getResource__SWIG_0(ICoreResourcesProvider self, String name, float displayDensityFactor, long ok) { - return SWIGTYPE_p_QByteArray.getCPtr(self.getResource(name, displayDensityFactor, (ok == 0) ? null : new SWIGTYPE_p_bool(ok, false))); - } - public static long SwigDirector_ICoreResourcesProvider_getResource__SWIG_1(ICoreResourcesProvider self, String name, float displayDensityFactor) { - return SWIGTYPE_p_QByteArray.getCPtr(self.getResource(name, displayDensityFactor)); - } - public static long SwigDirector_ICoreResourcesProvider_getResource__SWIG_2(ICoreResourcesProvider self, String name, long ok) { - return SWIGTYPE_p_QByteArray.getCPtr(self.getResource(name, (ok == 0) ? null : new SWIGTYPE_p_bool(ok, false))); - } - public static long SwigDirector_ICoreResourcesProvider_getResource__SWIG_3(ICoreResourcesProvider self, String name) { - return SWIGTYPE_p_QByteArray.getCPtr(self.getResource(name)); - } - public static long SwigDirector_ICoreResourcesProvider_getResourceAsBitmap__SWIG_0(ICoreResourcesProvider self, String name, float displayDensityFactor) { - return SWIGTYPE_p_std__shared_ptrT_SkBitmap_t.getCPtr(self.getResourceAsBitmap(name, displayDensityFactor)); - } - public static long SwigDirector_ICoreResourcesProvider_getResourceAsBitmap__SWIG_1(ICoreResourcesProvider self, String name) { - return SWIGTYPE_p_std__shared_ptrT_SkBitmap_t.getCPtr(self.getResourceAsBitmap(name)); - } - public static boolean SwigDirector_ICoreResourcesProvider_containsResource__SWIG_0(ICoreResourcesProvider self, String name, float displayDensityFactor) { - return self.containsResource(name, displayDensityFactor); - } - public static boolean SwigDirector_ICoreResourcesProvider_containsResource__SWIG_1(ICoreResourcesProvider self, String name) { - return self.containsResource(name); - } - public static void SwigDirector_MapRendererSetupOptions_IGpuWorkerThreadPrologue_method(MapRendererSetupOptions.IGpuWorkerThreadPrologue self, long mapRenderer) { - self.method((mapRenderer == 0) ? null : new IMapRenderer(mapRenderer, false)); - } - public static void SwigDirector_MapRendererSetupOptions_IGpuWorkerThreadEpilogue_method(MapRendererSetupOptions.IGpuWorkerThreadEpilogue self, long mapRenderer) { - self.method((mapRenderer == 0) ? null : new IMapRenderer(mapRenderer, false)); - } - public static void SwigDirector_MapRendererSetupOptions_IFrameUpdateRequestCallback_method(MapRendererSetupOptions.IFrameUpdateRequestCallback self, long mapRenderer) { - self.method((mapRenderer == 0) ? null : new IMapRenderer(mapRenderer, false)); - } - public static void SwigDirector_IMapRenderer_IFramePreparedObserver_method(IMapRenderer.IFramePreparedObserver self, long mapRenderer) { - self.method((mapRenderer == 0) ? null : new IMapRenderer(mapRenderer, false)); - } - public static void SwigDirector_IMapRenderer_IStateChangeObserver_method(IMapRenderer.IStateChangeObserver self, long mapRenderer, int thisChange, long allChanges) { - self.method((mapRenderer == 0) ? null : new IMapRenderer(mapRenderer, false), MapRendererStateChange.swigToEnum(thisChange), new MapRendererStateChanges(allChanges, false)); - } - - private final static native void swig_module_init(); - static { - swig_module_init(); - } -} diff --git a/JNI/src/net/osmand/core/jni/PointD.java b/JNI/src/net/osmand/core/jni/PointD.java deleted file mode 100644 index 81754b93a0..0000000000 --- a/JNI/src/net/osmand/core/jni/PointD.java +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class PointD { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected PointD(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(PointD obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_PointD(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setX(double value) { - OsmAndCoreJNI.PointD_x_set(swigCPtr, this, value); - } - - public double getX() { - return OsmAndCoreJNI.PointD_x_get(swigCPtr, this); - } - - public void setY(double value) { - OsmAndCoreJNI.PointD_y_set(swigCPtr, this, value); - } - - public double getY() { - return OsmAndCoreJNI.PointD_y_get(swigCPtr, this); - } - - public PointD() { - this(OsmAndCoreJNI.new_PointD__SWIG_0(), true); - } - - public PointD(PointD that) { - this(OsmAndCoreJNI.new_PointD__SWIG_1(PointD.getCPtr(that), that), true); - } - - public PointD(double x, double y) { - this(OsmAndCoreJNI.new_PointD__SWIG_2(x, y), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/PointF.java b/JNI/src/net/osmand/core/jni/PointF.java deleted file mode 100644 index 1de2b701fd..0000000000 --- a/JNI/src/net/osmand/core/jni/PointF.java +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class PointF { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected PointF(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(PointF obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_PointF(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setX(float value) { - OsmAndCoreJNI.PointF_x_set(swigCPtr, this, value); - } - - public float getX() { - return OsmAndCoreJNI.PointF_x_get(swigCPtr, this); - } - - public void setY(float value) { - OsmAndCoreJNI.PointF_y_set(swigCPtr, this, value); - } - - public float getY() { - return OsmAndCoreJNI.PointF_y_get(swigCPtr, this); - } - - public PointF() { - this(OsmAndCoreJNI.new_PointF__SWIG_0(), true); - } - - public PointF(PointF that) { - this(OsmAndCoreJNI.new_PointF__SWIG_1(PointF.getCPtr(that), that), true); - } - - public PointF(float x, float y) { - this(OsmAndCoreJNI.new_PointF__SWIG_2(x, y), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/PointI.java b/JNI/src/net/osmand/core/jni/PointI.java deleted file mode 100644 index dee565e5f3..0000000000 --- a/JNI/src/net/osmand/core/jni/PointI.java +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class PointI { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected PointI(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(PointI obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_PointI(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setX(int value) { - OsmAndCoreJNI.PointI_x_set(swigCPtr, this, value); - } - - public int getX() { - return OsmAndCoreJNI.PointI_x_get(swigCPtr, this); - } - - public void setY(int value) { - OsmAndCoreJNI.PointI_y_set(swigCPtr, this, value); - } - - public int getY() { - return OsmAndCoreJNI.PointI_y_get(swigCPtr, this); - } - - public PointI() { - this(OsmAndCoreJNI.new_PointI__SWIG_0(), true); - } - - public PointI(PointI that) { - this(OsmAndCoreJNI.new_PointI__SWIG_1(PointI.getCPtr(that), that), true); - } - - public PointI(int x, int y) { - this(OsmAndCoreJNI.new_PointI__SWIG_2(x, y), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/Primitiviser.java b/JNI/src/net/osmand/core/jni/Primitiviser.java deleted file mode 100644 index a59049a606..0000000000 --- a/JNI/src/net/osmand/core/jni/Primitiviser.java +++ /dev/null @@ -1,757 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class Primitiviser { - private long swigCPtr; - private boolean swigCMemOwn; - - protected Primitiviser(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Primitiviser obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_Primitiviser(swigCPtr); - } - swigCPtr = 0; - } - } - - static public class PrimitivesGroup { - private long swigCPtr; - private boolean swigCMemOwn; - - protected PrimitivesGroup(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(PrimitivesGroup obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_Primitiviser_PrimitivesGroup(swigCPtr); - } - swigCPtr = 0; - } - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t getSourceObject() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivesGroup_sourceObject_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t(cPtr, false); - } - - public void setPolygons(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t value) { - OsmAndCoreJNI.Primitiviser_PrimitivesGroup_polygons_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t getPolygons() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivesGroup_polygons_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t(cPtr, false); - } - - public void setPolylines(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t value) { - OsmAndCoreJNI.Primitiviser_PrimitivesGroup_polylines_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t getPolylines() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivesGroup_polylines_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t(cPtr, false); - } - - public void setPoints(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t value) { - OsmAndCoreJNI.Primitiviser_PrimitivesGroup_points_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t getPoints() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivesGroup_points_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t(cPtr, false); - } - - } - - static public class Primitive { - private long swigCPtr; - private boolean swigCMemOwn; - - protected Primitive(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Primitive obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_Primitiviser_Primitive(swigCPtr); - } - swigCPtr = 0; - } - } - - public SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t getGroup() { - long cPtr = OsmAndCoreJNI.Primitiviser_Primitive_group_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t(cPtr, false); - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t getSourceObject() { - long cPtr = OsmAndCoreJNI.Primitiviser_Primitive_sourceObject_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t(cPtr, false); - } - - public Primitiviser.PrimitiveType getType() { - return Primitiviser.PrimitiveType.swigToEnum(OsmAndCoreJNI.Primitiviser_Primitive_type_get(swigCPtr, this)); - } - - public long getTypeRuleIdIndex() { - return OsmAndCoreJNI.Primitiviser_Primitive_typeRuleIdIndex_get(swigCPtr, this); - } - - public SWIGTYPE_p_MapStyleEvaluationResult getEvaluationResult() { - return new SWIGTYPE_p_MapStyleEvaluationResult(OsmAndCoreJNI.Primitiviser_Primitive_evaluationResult_get(swigCPtr, this), true); - } - - public void setZOrder(int value) { - OsmAndCoreJNI.Primitiviser_Primitive_zOrder_set(swigCPtr, this, value); - } - - public int getZOrder() { - return OsmAndCoreJNI.Primitiviser_Primitive_zOrder_get(swigCPtr, this); - } - - public void setDoubledArea(long value) { - OsmAndCoreJNI.Primitiviser_Primitive_doubledArea_set(swigCPtr, this, value); - } - - public long getDoubledArea() { - return OsmAndCoreJNI.Primitiviser_Primitive_doubledArea_get(swigCPtr, this); - } - - } - - static public class SymbolsGroup { - private long swigCPtr; - private boolean swigCMemOwn; - - protected SymbolsGroup(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(SymbolsGroup obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_Primitiviser_SymbolsGroup(swigCPtr); - } - swigCPtr = 0; - } - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t getSourceObject() { - long cPtr = OsmAndCoreJNI.Primitiviser_SymbolsGroup_sourceObject_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t(cPtr, false); - } - - public void setSymbols(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t value) { - OsmAndCoreJNI.Primitiviser_SymbolsGroup_symbols_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t getSymbols() { - long cPtr = OsmAndCoreJNI.Primitiviser_SymbolsGroup_symbols_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t(cPtr, false); - } - - } - - static public class Symbol { - private long swigCPtr; - private boolean swigCMemOwn; - - protected Symbol(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Symbol obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_Primitiviser_Symbol(swigCPtr); - } - swigCPtr = 0; - } - } - - public Primitiviser.Primitive getPrimitive() { - long cPtr = OsmAndCoreJNI.Primitiviser_Symbol_primitive_get(swigCPtr, this); - return (cPtr == 0) ? null : new Primitiviser.Primitive(cPtr, true); - } - - public void setLocation31(PointI value) { - OsmAndCoreJNI.Primitiviser_Symbol_location31_set(swigCPtr, this, PointI.getCPtr(value), value); - } - - public PointI getLocation31() { - long cPtr = OsmAndCoreJNI.Primitiviser_Symbol_location31_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - public void setOrder(int value) { - OsmAndCoreJNI.Primitiviser_Symbol_order_set(swigCPtr, this, value); - } - - public int getOrder() { - return OsmAndCoreJNI.Primitiviser_Symbol_order_get(swigCPtr, this); - } - - public void setDrawAlongPath(boolean value) { - OsmAndCoreJNI.Primitiviser_Symbol_drawAlongPath_set(swigCPtr, this, value); - } - - public boolean getDrawAlongPath() { - return OsmAndCoreJNI.Primitiviser_Symbol_drawAlongPath_get(swigCPtr, this); - } - - public void setIntersectsWith(SWIGTYPE_p_QSetT_QString_t value) { - OsmAndCoreJNI.Primitiviser_Symbol_intersectsWith_set(swigCPtr, this, SWIGTYPE_p_QSetT_QString_t.getCPtr(value)); - } - - public SWIGTYPE_p_QSetT_QString_t getIntersectsWith() { - long cPtr = OsmAndCoreJNI.Primitiviser_Symbol_intersectsWith_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QSetT_QString_t(cPtr, false); - } - - } - - static public class TextSymbol extends Primitiviser.Symbol { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected TextSymbol(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.Primitiviser_TextSymbol_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(TextSymbol obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_Primitiviser_TextSymbol(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public void setValue(String value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_value_set(swigCPtr, this, value); - } - - public String getValue() { - return OsmAndCoreJNI.Primitiviser_TextSymbol_value_get(swigCPtr, this); - } - - public void setLanguageId(LanguageId value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_languageId_set(swigCPtr, this, value.swigValue()); - } - - public LanguageId getLanguageId() { - return LanguageId.swigToEnum(OsmAndCoreJNI.Primitiviser_TextSymbol_languageId_get(swigCPtr, this)); - } - - public void setDrawOnPath(boolean value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_drawOnPath_set(swigCPtr, this, value); - } - - public boolean getDrawOnPath() { - return OsmAndCoreJNI.Primitiviser_TextSymbol_drawOnPath_get(swigCPtr, this); - } - - public void setVerticalOffset(int value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_verticalOffset_set(swigCPtr, this, value); - } - - public int getVerticalOffset() { - return OsmAndCoreJNI.Primitiviser_TextSymbol_verticalOffset_get(swigCPtr, this); - } - - public void setColor(ColorARGB value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_color_set(swigCPtr, this, ColorARGB.getCPtr(value), value); - } - - public ColorARGB getColor() { - long cPtr = OsmAndCoreJNI.Primitiviser_TextSymbol_color_get(swigCPtr, this); - return (cPtr == 0) ? null : new ColorARGB(cPtr, false); - } - - public void setSize(int value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_size_set(swigCPtr, this, value); - } - - public int getSize() { - return OsmAndCoreJNI.Primitiviser_TextSymbol_size_get(swigCPtr, this); - } - - public void setShadowRadius(int value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_shadowRadius_set(swigCPtr, this, value); - } - - public int getShadowRadius() { - return OsmAndCoreJNI.Primitiviser_TextSymbol_shadowRadius_get(swigCPtr, this); - } - - public void setShadowColor(ColorARGB value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_shadowColor_set(swigCPtr, this, ColorARGB.getCPtr(value), value); - } - - public ColorARGB getShadowColor() { - long cPtr = OsmAndCoreJNI.Primitiviser_TextSymbol_shadowColor_get(swigCPtr, this); - return (cPtr == 0) ? null : new ColorARGB(cPtr, false); - } - - public void setWrapWidth(int value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_wrapWidth_set(swigCPtr, this, value); - } - - public int getWrapWidth() { - return OsmAndCoreJNI.Primitiviser_TextSymbol_wrapWidth_get(swigCPtr, this); - } - - public void setIsBold(boolean value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_isBold_set(swigCPtr, this, value); - } - - public boolean getIsBold() { - return OsmAndCoreJNI.Primitiviser_TextSymbol_isBold_get(swigCPtr, this); - } - - public void setMinDistance(PointI value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_minDistance_set(swigCPtr, this, PointI.getCPtr(value), value); - } - - public PointI getMinDistance() { - long cPtr = OsmAndCoreJNI.Primitiviser_TextSymbol_minDistance_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - public void setShieldResourceName(String value) { - OsmAndCoreJNI.Primitiviser_TextSymbol_shieldResourceName_set(swigCPtr, this, value); - } - - public String getShieldResourceName() { - return OsmAndCoreJNI.Primitiviser_TextSymbol_shieldResourceName_get(swigCPtr, this); - } - - } - - static public class IconSymbol extends Primitiviser.Symbol { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected IconSymbol(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.Primitiviser_IconSymbol_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IconSymbol obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_Primitiviser_IconSymbol(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public void setResourceName(String value) { - OsmAndCoreJNI.Primitiviser_IconSymbol_resourceName_set(swigCPtr, this, value); - } - - public String getResourceName() { - return OsmAndCoreJNI.Primitiviser_IconSymbol_resourceName_get(swigCPtr, this); - } - - public void setShieldResourceName(String value) { - OsmAndCoreJNI.Primitiviser_IconSymbol_shieldResourceName_set(swigCPtr, this, value); - } - - public String getShieldResourceName() { - return OsmAndCoreJNI.Primitiviser_IconSymbol_shieldResourceName_get(swigCPtr, this); - } - - public void setIntersectionSize(float value) { - OsmAndCoreJNI.Primitiviser_IconSymbol_intersectionSize_set(swigCPtr, this, value); - } - - public float getIntersectionSize() { - return OsmAndCoreJNI.Primitiviser_IconSymbol_intersectionSize_get(swigCPtr, this); - } - - } - - static public class Cache { - private long swigCPtr; - private boolean swigCMemOwn; - - protected Cache(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Cache obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_Primitiviser_Cache(swigCPtr); - } - swigCPtr = 0; - } - } - - public Cache() { - this(OsmAndCoreJNI.new_Primitiviser_Cache(), true); - } - - public SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t getPrimitivesGroups(ZoomLevel zoom) { - return new SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t(OsmAndCoreJNI.Primitiviser_Cache_getPrimitivesGroups__SWIG_0(swigCPtr, this, zoom.swigValue()), false); - } - - public SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t getSymbolsGroups(ZoomLevel zoom) { - return new SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t(OsmAndCoreJNI.Primitiviser_Cache_getSymbolsGroups__SWIG_0(swigCPtr, this, zoom.swigValue()), false); - } - - public SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t getPrimitivesGroupsPtr(ZoomLevel zoom) { - long cPtr = OsmAndCoreJNI.Primitiviser_Cache_getPrimitivesGroupsPtr__SWIG_0(swigCPtr, this, zoom.swigValue()); - return (cPtr == 0) ? null : new SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t(cPtr, false); - } - - public SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t getSymbolsGroupsPtr(ZoomLevel zoom) { - long cPtr = OsmAndCoreJNI.Primitiviser_Cache_getSymbolsGroupsPtr__SWIG_0(swigCPtr, this, zoom.swigValue()); - return (cPtr == 0) ? null : new SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t(cPtr, false); - } - - } - - static public class PrimitivisedArea { - private long swigCPtr; - private boolean swigCMemOwn; - - protected PrimitivisedArea(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(PrimitivisedArea obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_Primitiviser_PrimitivisedArea(swigCPtr); - } - swigCPtr = 0; - } - } - - public AreaI getArea31() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_area31_get(swigCPtr, this); - return (cPtr == 0) ? null : new AreaI(cPtr, false); - } - - public PointI getSizeInPixels() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_sizeInPixels_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointI(cPtr, false); - } - - public ZoomLevel getZoom() { - return ZoomLevel.swigToEnum(OsmAndCoreJNI.Primitiviser_PrimitivisedArea_zoom_get(swigCPtr, this)); - } - - public MapPresentationEnvironment getMapPresentationEnvironment() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_mapPresentationEnvironment_get(swigCPtr, this); - return (cPtr == 0) ? null : new MapPresentationEnvironment(cPtr, true); - } - - public void setDefaultBackgroundColor(ColorARGB value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_defaultBackgroundColor_set(swigCPtr, this, ColorARGB.getCPtr(value), value); - } - - public ColorARGB getDefaultBackgroundColor() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_defaultBackgroundColor_get(swigCPtr, this); - return (cPtr == 0) ? null : new ColorARGB(cPtr, false); - } - - public void setShadowRenderingMode(int value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_shadowRenderingMode_set(swigCPtr, this, value); - } - - public int getShadowRenderingMode() { - return OsmAndCoreJNI.Primitiviser_PrimitivisedArea_shadowRenderingMode_get(swigCPtr, this); - } - - public void setShadowRenderingColor(ColorARGB value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_shadowRenderingColor_set(swigCPtr, this, ColorARGB.getCPtr(value), value); - } - - public ColorARGB getShadowRenderingColor() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_shadowRenderingColor_get(swigCPtr, this); - return (cPtr == 0) ? null : new ColorARGB(cPtr, false); - } - - public void setPolygonAreaMinimalThreshold(double value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_polygonAreaMinimalThreshold_set(swigCPtr, this, value); - } - - public double getPolygonAreaMinimalThreshold() { - return OsmAndCoreJNI.Primitiviser_PrimitivisedArea_polygonAreaMinimalThreshold_get(swigCPtr, this); - } - - public void setRoadDensityZoomTile(long value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_roadDensityZoomTile_set(swigCPtr, this, value); - } - - public long getRoadDensityZoomTile() { - return OsmAndCoreJNI.Primitiviser_PrimitivisedArea_roadDensityZoomTile_get(swigCPtr, this); - } - - public void setRoadsDensityLimitPerTile(long value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_roadsDensityLimitPerTile_set(swigCPtr, this, value); - } - - public long getRoadsDensityLimitPerTile() { - return OsmAndCoreJNI.Primitiviser_PrimitivisedArea_roadsDensityLimitPerTile_get(swigCPtr, this); - } - - public void setShadowLevelMin(int value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_shadowLevelMin_set(swigCPtr, this, value); - } - - public int getShadowLevelMin() { - return OsmAndCoreJNI.Primitiviser_PrimitivisedArea_shadowLevelMin_get(swigCPtr, this); - } - - public void setShadowLevelMax(int value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_shadowLevelMax_set(swigCPtr, this, value); - } - - public int getShadowLevelMax() { - return OsmAndCoreJNI.Primitiviser_PrimitivisedArea_shadowLevelMax_get(swigCPtr, this); - } - - public void setScale31ToPixelDivisor(PointD value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_scale31ToPixelDivisor_set(swigCPtr, this, PointD.getCPtr(value), value); - } - - public PointD getScale31ToPixelDivisor() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_scale31ToPixelDivisor_get(swigCPtr, this); - return (cPtr == 0) ? null : new PointD(cPtr, false); - } - - public void setPrimitivesGroups(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_primitivesGroups_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t getPrimitivesGroups() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_primitivesGroups_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t(cPtr, false); - } - - public void setPolygons(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_polygons_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t getPolygons() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_polygons_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t(cPtr, false); - } - - public void setPolylines(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_polylines_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t getPolylines() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_polylines_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t(cPtr, false); - } - - public void setPoints(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_points_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t getPoints() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_points_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t(cPtr, false); - } - - public void setSymbolsGroups(SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t value) { - OsmAndCoreJNI.Primitiviser_PrimitivisedArea_symbolsGroups_set(swigCPtr, this, SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t getSymbolsGroups() { - long cPtr = OsmAndCoreJNI.Primitiviser_PrimitivisedArea_symbolsGroups_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t(cPtr, false); - } - - public boolean isEmpty() { - return OsmAndCoreJNI.Primitiviser_PrimitivisedArea_isEmpty(swigCPtr, this); - } - - } - - public Primitiviser(MapPresentationEnvironment environment) { - this(OsmAndCoreJNI.new_Primitiviser(MapPresentationEnvironment.getCPtr(environment), environment), true); - } - - public MapPresentationEnvironment getEnvironment() { - long cPtr = OsmAndCoreJNI.Primitiviser_environment_get(swigCPtr, this); - return (cPtr == 0) ? null : new MapPresentationEnvironment(cPtr, true); - } - - public Primitiviser.PrimitivisedArea primitivise(AreaI area31, PointI sizeInPixels, ZoomLevel zoom, MapFoundationType foundation, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t objects, Primitiviser.Cache cache, SWIGTYPE_p_OsmAnd__IQueryController controller, SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise metric) { - long cPtr = OsmAndCoreJNI.Primitiviser_primitivise__SWIG_0(swigCPtr, this, AreaI.getCPtr(area31), area31, PointI.getCPtr(sizeInPixels), sizeInPixels, zoom.swigValue(), foundation.swigValue(), SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(objects), Primitiviser.Cache.getCPtr(cache), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(controller), SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise.getCPtr(metric)); - return (cPtr == 0) ? null : new Primitiviser.PrimitivisedArea(cPtr, true); - } - - public Primitiviser.PrimitivisedArea primitivise(AreaI area31, PointI sizeInPixels, ZoomLevel zoom, MapFoundationType foundation, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t objects, Primitiviser.Cache cache, SWIGTYPE_p_OsmAnd__IQueryController controller) { - long cPtr = OsmAndCoreJNI.Primitiviser_primitivise__SWIG_1(swigCPtr, this, AreaI.getCPtr(area31), area31, PointI.getCPtr(sizeInPixels), sizeInPixels, zoom.swigValue(), foundation.swigValue(), SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(objects), Primitiviser.Cache.getCPtr(cache), SWIGTYPE_p_OsmAnd__IQueryController.getCPtr(controller)); - return (cPtr == 0) ? null : new Primitiviser.PrimitivisedArea(cPtr, true); - } - - public Primitiviser.PrimitivisedArea primitivise(AreaI area31, PointI sizeInPixels, ZoomLevel zoom, MapFoundationType foundation, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t objects, Primitiviser.Cache cache) { - long cPtr = OsmAndCoreJNI.Primitiviser_primitivise__SWIG_2(swigCPtr, this, AreaI.getCPtr(area31), area31, PointI.getCPtr(sizeInPixels), sizeInPixels, zoom.swigValue(), foundation.swigValue(), SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(objects), Primitiviser.Cache.getCPtr(cache)); - return (cPtr == 0) ? null : new Primitiviser.PrimitivisedArea(cPtr, true); - } - - public Primitiviser.PrimitivisedArea primitivise(AreaI area31, PointI sizeInPixels, ZoomLevel zoom, MapFoundationType foundation, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t objects) { - long cPtr = OsmAndCoreJNI.Primitiviser_primitivise__SWIG_3(swigCPtr, this, AreaI.getCPtr(area31), area31, PointI.getCPtr(sizeInPixels), sizeInPixels, zoom.swigValue(), foundation.swigValue(), SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.getCPtr(objects)); - return (cPtr == 0) ? null : new Primitiviser.PrimitivisedArea(cPtr, true); - } - - public enum PrimitiveType { - Point(OsmAndCoreJNI.Primitiviser_PrimitiveType_Point_get()), - Polyline(OsmAndCoreJNI.Primitiviser_PrimitiveType_Polyline_get()), - Polygon(OsmAndCoreJNI.Primitiviser_PrimitiveType_Polygon_get()); - - public final int swigValue() { - return swigValue; - } - - public static PrimitiveType swigToEnum(int swigValue) { - PrimitiveType[] swigValues = PrimitiveType.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (PrimitiveType swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + PrimitiveType.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private PrimitiveType() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private PrimitiveType(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private PrimitiveType(PrimitiveType swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - -} diff --git a/JNI/src/net/osmand/core/jni/QIODeviceLogSink.java b/JNI/src/net/osmand/core/jni/QIODeviceLogSink.java deleted file mode 100644 index 73d7f7d800..0000000000 --- a/JNI/src/net/osmand/core/jni/QIODeviceLogSink.java +++ /dev/null @@ -1,57 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class QIODeviceLogSink extends ILogSink { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected QIODeviceLogSink(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.QIODeviceLogSink_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(QIODeviceLogSink obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_QIODeviceLogSink(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public QIODeviceLogSink(SWIGTYPE_p_std__shared_ptrT_QIODevice_t outputDevice, boolean autoClose) { - this(OsmAndCoreJNI.new_QIODeviceLogSink__SWIG_0(SWIGTYPE_p_std__shared_ptrT_QIODevice_t.getCPtr(outputDevice), autoClose), true); - } - - public QIODeviceLogSink(SWIGTYPE_p_std__shared_ptrT_QIODevice_t outputDevice) { - this(OsmAndCoreJNI.new_QIODeviceLogSink__SWIG_1(SWIGTYPE_p_std__shared_ptrT_QIODevice_t.getCPtr(outputDevice)), true); - } - - public void flush() { - OsmAndCoreJNI.QIODeviceLogSink_flush(swigCPtr, this); - } - - public static QIODeviceLogSink createFileLogSink(String fileName) { - long cPtr = OsmAndCoreJNI.QIODeviceLogSink_createFileLogSink(fileName); - return (cPtr == 0) ? null : new QIODeviceLogSink(cPtr, true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/QStringList.java b/JNI/src/net/osmand/core/jni/QStringList.java deleted file mode 100644 index 6288c563de..0000000000 --- a/JNI/src/net/osmand/core/jni/QStringList.java +++ /dev/null @@ -1,70 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class QStringList { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected QStringList(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(QStringList obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_QStringList(swigCPtr); - } - swigCPtr = 0; - } - } - - public QStringList() { - this(OsmAndCoreJNI.new_QStringList(), true); - } - - public long size() { - return OsmAndCoreJNI.QStringList_size(swigCPtr, this); - } - - public void reserve(long n) { - OsmAndCoreJNI.QStringList_reserve(swigCPtr, this, n); - } - - public boolean isEmpty() { - return OsmAndCoreJNI.QStringList_isEmpty(swigCPtr, this); - } - - public void clear() { - OsmAndCoreJNI.QStringList_clear(swigCPtr, this); - } - - public void add(String x) { - OsmAndCoreJNI.QStringList_add(swigCPtr, this, x); - } - - public String get(int i) { - return OsmAndCoreJNI.QStringList_get(swigCPtr, this, i); - } - - public void set(int i, String val) { - OsmAndCoreJNI.QStringList_set(swigCPtr, this, i, val); - } - -} diff --git a/JNI/src/net/osmand/core/jni/Quadrant.java b/JNI/src/net/osmand/core/jni/Quadrant.java deleted file mode 100644 index 908d1b71de..0000000000 --- a/JNI/src/net/osmand/core/jni/Quadrant.java +++ /dev/null @@ -1,54 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum Quadrant { - NE(OsmAndCoreJNI.Quadrant_NE_get()), - SE, - SW, - NW; - - public final int swigValue() { - return swigValue; - } - - public static Quadrant swigToEnum(int swigValue) { - Quadrant[] swigValues = Quadrant.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (Quadrant swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + Quadrant.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private Quadrant() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private Quadrant(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private Quadrant(Quadrant swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/RasterBitmapTile.java b/JNI/src/net/osmand/core/jni/RasterBitmapTile.java deleted file mode 100644 index a705af18d7..0000000000 --- a/JNI/src/net/osmand/core/jni/RasterBitmapTile.java +++ /dev/null @@ -1,73 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class RasterBitmapTile extends MapTiledData { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected RasterBitmapTile(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.RasterBitmapTile_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(RasterBitmapTile obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_RasterBitmapTile(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public RasterBitmapTile(SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t bitmap, AlphaChannelData alphaChannelData, float densityFactor, TileId tileId, ZoomLevel zoom) { - this(OsmAndCoreJNI.new_RasterBitmapTile(SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.getCPtr(bitmap), alphaChannelData.swigValue(), densityFactor, TileId.getCPtr(tileId), tileId, zoom.swigValue()), true); - } - - public void setBitmap(SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t value) { - OsmAndCoreJNI.RasterBitmapTile_bitmap_set(swigCPtr, this, SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.getCPtr(value)); - } - - public SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t getBitmap() { - long cPtr = OsmAndCoreJNI.RasterBitmapTile_bitmap_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t(cPtr, false); - } - - public void setAlphaChannelData(AlphaChannelData value) { - OsmAndCoreJNI.RasterBitmapTile_alphaChannelData_set(swigCPtr, this, value.swigValue()); - } - - public AlphaChannelData getAlphaChannelData() { - return AlphaChannelData.swigToEnum(OsmAndCoreJNI.RasterBitmapTile_alphaChannelData_get(swigCPtr, this)); - } - - public void setDensityFactor(float value) { - OsmAndCoreJNI.RasterBitmapTile_densityFactor_set(swigCPtr, this, value); - } - - public float getDensityFactor() { - return OsmAndCoreJNI.RasterBitmapTile_densityFactor_get(swigCPtr, this); - } - - public void releaseConsumableContent() { - OsmAndCoreJNI.RasterBitmapTile_releaseConsumableContent(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/RasterMapLayerId.java b/JNI/src/net/osmand/core/jni/RasterMapLayerId.java deleted file mode 100644 index 8e9f7c32e6..0000000000 --- a/JNI/src/net/osmand/core/jni/RasterMapLayerId.java +++ /dev/null @@ -1,55 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum RasterMapLayerId { - Invalid(OsmAndCoreJNI.RasterMapLayerId_Invalid_get()), - BaseLayer, - Overlay0, - Overlay1, - __LAST; - - public final int swigValue() { - return swigValue; - } - - public static RasterMapLayerId swigToEnum(int swigValue) { - RasterMapLayerId[] swigValues = RasterMapLayerId.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (RasterMapLayerId swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + RasterMapLayerId.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private RasterMapLayerId() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private RasterMapLayerId(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private RasterMapLayerId(RasterMapLayerId swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/ResolvedMapStyle.java b/JNI/src/net/osmand/core/jni/ResolvedMapStyle.java deleted file mode 100644 index c5b2fce392..0000000000 --- a/JNI/src/net/osmand/core/jni/ResolvedMapStyle.java +++ /dev/null @@ -1,434 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ResolvedMapStyle { - private long swigCPtr; - private boolean swigCMemOwn; - - protected ResolvedMapStyle(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ResolvedMapStyle obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResolvedMapStyle(swigCPtr); - } - swigCPtr = 0; - } - } - - static public class ResolvedValue { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected ResolvedValue(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ResolvedValue obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResolvedMapStyle_ResolvedValue(swigCPtr); - } - swigCPtr = 0; - } - } - - public ResolvedValue() { - this(OsmAndCoreJNI.new_ResolvedMapStyle_ResolvedValue(), true); - } - - public void setIsDynamic(boolean value) { - OsmAndCoreJNI.ResolvedMapStyle_ResolvedValue_isDynamic_set(swigCPtr, this, value); - } - - public boolean getIsDynamic() { - return OsmAndCoreJNI.ResolvedMapStyle_ResolvedValue_isDynamic_get(swigCPtr, this); - } - - public void setAsConstantValue(MapStyleConstantValue value) { - OsmAndCoreJNI.ResolvedMapStyle_ResolvedValue_asConstantValue_set(swigCPtr, this, MapStyleConstantValue.getCPtr(value), value); - } - - public MapStyleConstantValue getAsConstantValue() { - return new MapStyleConstantValue(OsmAndCoreJNI.ResolvedMapStyle_ResolvedValue_asConstantValue_get(swigCPtr, this), true); - } - - public static ResolvedMapStyle.ResolvedValue fromConstantValue(MapStyleConstantValue input) { - return new ResolvedMapStyle.ResolvedValue(OsmAndCoreJNI.ResolvedMapStyle_ResolvedValue_fromConstantValue(MapStyleConstantValue.getCPtr(input), input), true); - } - - public static ResolvedMapStyle.ResolvedValue fromAttribute(SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t attribute) { - return new ResolvedMapStyle.ResolvedValue(OsmAndCoreJNI.ResolvedMapStyle_ResolvedValue_fromAttribute(SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t.getCPtr(attribute)), true); - } - - } - - static public class RuleNode { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected RuleNode(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(RuleNode obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResolvedMapStyle_RuleNode(swigCPtr); - } - swigCPtr = 0; - } - } - - public RuleNode(boolean applyOnlyIfOneOfConditionalsAccepted) { - this(OsmAndCoreJNI.new_ResolvedMapStyle_RuleNode(applyOnlyIfOneOfConditionalsAccepted), true); - } - - public boolean getApplyOnlyIfOneOfConditionalsAccepted() { - return OsmAndCoreJNI.ResolvedMapStyle_RuleNode_applyOnlyIfOneOfConditionalsAccepted_get(swigCPtr, this); - } - - public void setValues(SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t value) { - OsmAndCoreJNI.ResolvedMapStyle_RuleNode_values_set(swigCPtr, this, SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t.getCPtr(value)); - } - - public SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t getValues() { - long cPtr = OsmAndCoreJNI.ResolvedMapStyle_RuleNode_values_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t(cPtr, false); - } - - public void setOneOfConditionalSubnodes(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t value) { - OsmAndCoreJNI.ResolvedMapStyle_RuleNode_oneOfConditionalSubnodes_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t getOneOfConditionalSubnodes() { - long cPtr = OsmAndCoreJNI.ResolvedMapStyle_RuleNode_oneOfConditionalSubnodes_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t(cPtr, false); - } - - public void setApplySubnodes(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t value) { - OsmAndCoreJNI.ResolvedMapStyle_RuleNode_applySubnodes_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t getApplySubnodes() { - long cPtr = OsmAndCoreJNI.ResolvedMapStyle_RuleNode_applySubnodes_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t(cPtr, false); - } - - } - - static public class BaseRule { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected BaseRule(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BaseRule obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResolvedMapStyle_BaseRule(swigCPtr); - } - swigCPtr = 0; - } - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t getRootNode() { - long cPtr = OsmAndCoreJNI.ResolvedMapStyle_BaseRule_rootNode_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t(cPtr, false); - } - - } - - static public class Rule extends ResolvedMapStyle.BaseRule { - private long swigCPtr; - - protected Rule(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResolvedMapStyle_Rule_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - protected static long getCPtr(Rule obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResolvedMapStyle_Rule(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public Rule(MapStyleRulesetType rulesetType) { - this(OsmAndCoreJNI.new_ResolvedMapStyle_Rule(rulesetType.swigValue()), true); - } - - public MapStyleRulesetType getRulesetType() { - return MapStyleRulesetType.swigToEnum(OsmAndCoreJNI.ResolvedMapStyle_Rule_rulesetType_get(swigCPtr, this)); - } - - } - - static public class Attribute extends ResolvedMapStyle.BaseRule { - private long swigCPtr; - - protected Attribute(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResolvedMapStyle_Attribute_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - protected static long getCPtr(Attribute obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResolvedMapStyle_Attribute(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public Attribute(long nameId) { - this(OsmAndCoreJNI.new_ResolvedMapStyle_Attribute(nameId), true); - } - - public long getNameId() { - return OsmAndCoreJNI.ResolvedMapStyle_Attribute_nameId_get(swigCPtr, this); - } - - } - - static public class Parameter { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected Parameter(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Parameter obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResolvedMapStyle_Parameter(swigCPtr); - } - swigCPtr = 0; - } - } - - public Parameter(String title, String description, long nameId, MapStyleValueDataType dataType, SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t possibleValues) { - this(OsmAndCoreJNI.new_ResolvedMapStyle_Parameter(title, description, nameId, dataType.swigValue(), SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t.getCPtr(possibleValues)), true); - } - - public void setTitle(String value) { - OsmAndCoreJNI.ResolvedMapStyle_Parameter_title_set(swigCPtr, this, value); - } - - public String getTitle() { - return OsmAndCoreJNI.ResolvedMapStyle_Parameter_title_get(swigCPtr, this); - } - - public void setDescription(String value) { - OsmAndCoreJNI.ResolvedMapStyle_Parameter_description_set(swigCPtr, this, value); - } - - public String getDescription() { - return OsmAndCoreJNI.ResolvedMapStyle_Parameter_description_get(swigCPtr, this); - } - - public void setNameId(long value) { - OsmAndCoreJNI.ResolvedMapStyle_Parameter_nameId_set(swigCPtr, this, value); - } - - public long getNameId() { - return OsmAndCoreJNI.ResolvedMapStyle_Parameter_nameId_get(swigCPtr, this); - } - - public void setDataType(MapStyleValueDataType value) { - OsmAndCoreJNI.ResolvedMapStyle_Parameter_dataType_set(swigCPtr, this, value.swigValue()); - } - - public MapStyleValueDataType getDataType() { - return MapStyleValueDataType.swigToEnum(OsmAndCoreJNI.ResolvedMapStyle_Parameter_dataType_get(swigCPtr, this)); - } - - public void setPossibleValues(SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t value) { - OsmAndCoreJNI.ResolvedMapStyle_Parameter_possibleValues_set(swigCPtr, this, SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t getPossibleValues() { - long cPtr = OsmAndCoreJNI.ResolvedMapStyle_Parameter_possibleValues_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t(cPtr, false); - } - - } - - static public class ParameterValueDefinition extends MapStyleValueDefinition { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected ParameterValueDefinition(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResolvedMapStyle_ParameterValueDefinition_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ParameterValueDefinition obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResolvedMapStyle_ParameterValueDefinition(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public ParameterValueDefinition(int id, String name, SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t parameter) { - this(OsmAndCoreJNI.new_ResolvedMapStyle_ParameterValueDefinition(id, name, SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t.getCPtr(parameter)), true); - } - - public int getId() { - return OsmAndCoreJNI.ResolvedMapStyle_ParameterValueDefinition_id_get(swigCPtr, this); - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t getParameter() { - long cPtr = OsmAndCoreJNI.ResolvedMapStyle_ParameterValueDefinition_parameter_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t(cPtr, false); - } - - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t getUnresolvedMapStylesChain() { - long cPtr = OsmAndCoreJNI.ResolvedMapStyle_unresolvedMapStylesChain_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t(cPtr, false); - } - - public int getValueDefinitionIdByName(String name) { - return OsmAndCoreJNI.ResolvedMapStyle_getValueDefinitionIdByName(swigCPtr, this, name); - } - - public MapStyleValueDefinition getValueDefinitionById(int id) { - long cPtr = OsmAndCoreJNI.ResolvedMapStyle_getValueDefinitionById(swigCPtr, this, id); - return (cPtr == 0) ? null : new MapStyleValueDefinition(cPtr, true); - } - - public boolean parseValue(String input, int valueDefintionId, MapStyleConstantValue outParsedValue) { - return OsmAndCoreJNI.ResolvedMapStyle_parseValue__SWIG_0(swigCPtr, this, input, valueDefintionId, MapStyleConstantValue.getCPtr(outParsedValue), outParsedValue); - } - - public boolean parseValue(String input, MapStyleValueDefinition valueDefintion, MapStyleConstantValue outParsedValue) { - return OsmAndCoreJNI.ResolvedMapStyle_parseValue__SWIG_1(swigCPtr, this, input, MapStyleValueDefinition.getCPtr(valueDefintion), valueDefintion, MapStyleConstantValue.getCPtr(outParsedValue), outParsedValue); - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t getAttribute(String name) { - return new SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t(OsmAndCoreJNI.ResolvedMapStyle_getAttribute(swigCPtr, this, name), true); - } - - public SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t getRuleset(MapStyleRulesetType rulesetType) { - return new SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t(OsmAndCoreJNI.ResolvedMapStyle_getRuleset(swigCPtr, this, rulesetType.swigValue()), true); - } - - public String getStringById(long id) { - return OsmAndCoreJNI.ResolvedMapStyle_getStringById(swigCPtr, this, id); - } - - public String dump(String prefix) { - return OsmAndCoreJNI.ResolvedMapStyle_dump__SWIG_0(swigCPtr, this, prefix); - } - - public String dump() { - return OsmAndCoreJNI.ResolvedMapStyle_dump__SWIG_1(swigCPtr, this); - } - - public static ResolvedMapStyle resolveMapStylesChain(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t unresolvedMapStylesChain) { - long cPtr = OsmAndCoreJNI.ResolvedMapStyle_resolveMapStylesChain(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t.getCPtr(unresolvedMapStylesChain)); - return (cPtr == 0) ? null : new ResolvedMapStyle(cPtr, true); - } - - public final static int EmptyStringId = OsmAndCoreJNI.ResolvedMapStyle_EmptyStringId_get(); - -} diff --git a/JNI/src/net/osmand/core/jni/ResourcesManager.java b/JNI/src/net/osmand/core/jni/ResourcesManager.java deleted file mode 100644 index 59084dd22c..0000000000 --- a/JNI/src/net/osmand/core/jni/ResourcesManager.java +++ /dev/null @@ -1,867 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class ResourcesManager { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected ResourcesManager(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ResourcesManager obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResourcesManager(swigCPtr); - } - swigCPtr = 0; - } - } - - static public class Resource { - private long swigCPtr; - private boolean swigCMemOwn; - - protected Resource(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Resource obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResourcesManager_Resource(swigCPtr); - } - swigCPtr = 0; - } - } - - static public class Metadata { - private long swigCPtr; - private boolean swigCMemOwn; - - protected Metadata(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Metadata obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResourcesManager_Resource_Metadata(swigCPtr); - } - swigCPtr = 0; - } - } - - public Metadata() { - this(OsmAndCoreJNI.new_ResourcesManager_Resource_Metadata(), true); - } - - } - - public String getId() { - return OsmAndCoreJNI.ResourcesManager_Resource_id_get(swigCPtr, this); - } - - public ResourcesManager.ResourceType getType() { - return ResourcesManager.ResourceType.swigToEnum(OsmAndCoreJNI.ResourcesManager_Resource_type_get(swigCPtr, this)); - } - - public ResourcesManager.ResourceOrigin getOrigin() { - return ResourcesManager.ResourceOrigin.swigToEnum(OsmAndCoreJNI.ResourcesManager_Resource_origin_get(swigCPtr, this)); - } - - public ResourcesManager.Resource.Metadata getMetadata() { - long cPtr = OsmAndCoreJNI.ResourcesManager_Resource_metadata_get(swigCPtr, this); - return (cPtr == 0) ? null : new ResourcesManager.Resource.Metadata(cPtr, true); - } - - } - - static public class LocalResource extends ResourcesManager.Resource { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected LocalResource(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResourcesManager_LocalResource_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(LocalResource obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResourcesManager_LocalResource(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public String getLocalPath() { - return OsmAndCoreJNI.ResourcesManager_LocalResource_localPath_get(swigCPtr, this); - } - - public java.math.BigInteger getSize() { - return OsmAndCoreJNI.ResourcesManager_LocalResource_size_get(swigCPtr, this); - } - - } - - static public class UnmanagedResource extends ResourcesManager.LocalResource { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected UnmanagedResource(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResourcesManager_UnmanagedResource_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(UnmanagedResource obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResourcesManager_UnmanagedResource(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public String getName() { - return OsmAndCoreJNI.ResourcesManager_UnmanagedResource_name_get(swigCPtr, this); - } - - } - - static public class InstalledResource extends ResourcesManager.LocalResource { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected InstalledResource(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResourcesManager_InstalledResource_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(InstalledResource obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResourcesManager_InstalledResource(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public java.math.BigInteger getTimestamp() { - return OsmAndCoreJNI.ResourcesManager_InstalledResource_timestamp_get(swigCPtr, this); - } - - } - - static public class BuiltinResource extends ResourcesManager.Resource { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected BuiltinResource(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResourcesManager_BuiltinResource_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(BuiltinResource obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResourcesManager_BuiltinResource(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - } - - static public class ResourceInRepository extends ResourcesManager.Resource { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected ResourceInRepository(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResourcesManager_ResourceInRepository_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ResourceInRepository obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResourcesManager_ResourceInRepository(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public SWIGTYPE_p_QUrl getUrl() { - return new SWIGTYPE_p_QUrl(OsmAndCoreJNI.ResourcesManager_ResourceInRepository_url_get(swigCPtr, this), true); - } - - public java.math.BigInteger getSize() { - return OsmAndCoreJNI.ResourcesManager_ResourceInRepository_size_get(swigCPtr, this); - } - - public java.math.BigInteger getTimestamp() { - return OsmAndCoreJNI.ResourcesManager_ResourceInRepository_timestamp_get(swigCPtr, this); - } - - public java.math.BigInteger getPackageSize() { - return OsmAndCoreJNI.ResourcesManager_ResourceInRepository_packageSize_get(swigCPtr, this); - } - - } - - static public class ObfMetadata extends ResourcesManager.Resource.Metadata { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected ObfMetadata(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResourcesManager_ObfMetadata_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ObfMetadata obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResourcesManager_ObfMetadata(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public ObfMetadata(ObfFile obfFile) { - this(OsmAndCoreJNI.new_ResourcesManager_ObfMetadata(ObfFile.getCPtr(obfFile), obfFile), true); - } - - public ObfFile getObfFile() { - long cPtr = OsmAndCoreJNI.ResourcesManager_ObfMetadata_obfFile_get(swigCPtr, this); - return (cPtr == 0) ? null : new ObfFile(cPtr, true); - } - - } - - static public class MapStyleMetadata extends ResourcesManager.Resource.Metadata { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected MapStyleMetadata(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResourcesManager_MapStyleMetadata_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapStyleMetadata obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResourcesManager_MapStyleMetadata(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public MapStyleMetadata(SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t mapStyle) { - this(OsmAndCoreJNI.new_ResourcesManager_MapStyleMetadata(SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t.getCPtr(mapStyle)), true); - } - - public SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t getMapStyle() { - long cPtr = OsmAndCoreJNI.ResourcesManager_MapStyleMetadata_mapStyle_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t(cPtr, false); - } - - } - - static public class MapStylesPresetsMetadata extends ResourcesManager.Resource.Metadata { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected MapStylesPresetsMetadata(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResourcesManager_MapStylesPresetsMetadata_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(MapStylesPresetsMetadata obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResourcesManager_MapStylesPresetsMetadata(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public MapStylesPresetsMetadata(MapStylesPresetsCollection presets) { - this(OsmAndCoreJNI.new_ResourcesManager_MapStylesPresetsMetadata(MapStylesPresetsCollection.getCPtr(presets), presets), true); - } - - public MapStylesPresetsCollection getPresets() { - long cPtr = OsmAndCoreJNI.ResourcesManager_MapStylesPresetsMetadata_presets_get(swigCPtr, this); - return (cPtr == 0) ? null : new MapStylesPresetsCollection(cPtr, true); - } - - } - - static public class OnlineTileSourcesMetadata extends ResourcesManager.Resource.Metadata { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected OnlineTileSourcesMetadata(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.ResourcesManager_OnlineTileSourcesMetadata_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(OnlineTileSourcesMetadata obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_ResourcesManager_OnlineTileSourcesMetadata(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public OnlineTileSourcesMetadata(OnlineTileSources sources) { - this(OsmAndCoreJNI.new_ResourcesManager_OnlineTileSourcesMetadata(OnlineTileSources.getCPtr(sources), sources), true); - } - - public OnlineTileSources getSources() { - long cPtr = OsmAndCoreJNI.ResourcesManager_OnlineTileSourcesMetadata_sources_get(swigCPtr, this); - return (cPtr == 0) ? null : new OnlineTileSources(cPtr, true); - } - - } - - public ResourcesManager(String localStoragePath, String userStoragePath, QStringList readonlyExternalStoragePaths, String miniBasemapFilename, String localTemporaryPath, String repositoryBaseUrl) { - this(OsmAndCoreJNI.new_ResourcesManager__SWIG_0(localStoragePath, userStoragePath, QStringList.getCPtr(readonlyExternalStoragePaths), readonlyExternalStoragePaths, miniBasemapFilename, localTemporaryPath, repositoryBaseUrl), true); - } - - public ResourcesManager(String localStoragePath, String userStoragePath, QStringList readonlyExternalStoragePaths, String miniBasemapFilename, String localTemporaryPath) { - this(OsmAndCoreJNI.new_ResourcesManager__SWIG_1(localStoragePath, userStoragePath, QStringList.getCPtr(readonlyExternalStoragePaths), readonlyExternalStoragePaths, miniBasemapFilename, localTemporaryPath), true); - } - - public ResourcesManager(String localStoragePath, String userStoragePath, QStringList readonlyExternalStoragePaths, String miniBasemapFilename) { - this(OsmAndCoreJNI.new_ResourcesManager__SWIG_2(localStoragePath, userStoragePath, QStringList.getCPtr(readonlyExternalStoragePaths), readonlyExternalStoragePaths, miniBasemapFilename), true); - } - - public ResourcesManager(String localStoragePath, String userStoragePath, QStringList readonlyExternalStoragePaths) { - this(OsmAndCoreJNI.new_ResourcesManager__SWIG_3(localStoragePath, userStoragePath, QStringList.getCPtr(readonlyExternalStoragePaths), readonlyExternalStoragePaths), true); - } - - public ResourcesManager(String localStoragePath, String userStoragePath) { - this(OsmAndCoreJNI.new_ResourcesManager__SWIG_4(localStoragePath, userStoragePath), true); - } - - public ResourcesManager(String localStoragePath) { - this(OsmAndCoreJNI.new_ResourcesManager__SWIG_5(localStoragePath), true); - } - - public String getLocalStoragePath() { - return OsmAndCoreJNI.ResourcesManager_localStoragePath_get(swigCPtr, this); - } - - public String getUserStoragePath() { - return OsmAndCoreJNI.ResourcesManager_userStoragePath_get(swigCPtr, this); - } - - public QStringList getReadonlyExternalStoragePaths() { - long cPtr = OsmAndCoreJNI.ResourcesManager_readonlyExternalStoragePaths_get(swigCPtr, this); - return (cPtr == 0) ? null : new QStringList(cPtr, false); - } - - public String getMiniBasemapFilename() { - return OsmAndCoreJNI.ResourcesManager_miniBasemapFilename_get(swigCPtr, this); - } - - public String getLocalTemporaryPath() { - return OsmAndCoreJNI.ResourcesManager_localTemporaryPath_get(swigCPtr, this); - } - - public String getRepositoryBaseUrl() { - return OsmAndCoreJNI.ResourcesManager_repositoryBaseUrl_get(swigCPtr, this); - } - - public ResourcesManager.Resource getResource(String id) { - long cPtr = OsmAndCoreJNI.ResourcesManager_getResource(swigCPtr, this, id); - return (cPtr == 0) ? null : new ResourcesManager.Resource(cPtr, true); - } - - public SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t getBuiltInResources() { - return new SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t(OsmAndCoreJNI.ResourcesManager_getBuiltInResources(swigCPtr, this), true); - } - - public ResourcesManager.BuiltinResource getBuiltInResource(String id) { - long cPtr = OsmAndCoreJNI.ResourcesManager_getBuiltInResource(swigCPtr, this, id); - return (cPtr == 0) ? null : new ResourcesManager.BuiltinResource(cPtr, true); - } - - public boolean isBuiltInResource(String id) { - return OsmAndCoreJNI.ResourcesManager_isBuiltInResource(swigCPtr, this, id); - } - - public boolean rescanUnmanagedStoragePaths() { - return OsmAndCoreJNI.ResourcesManager_rescanUnmanagedStoragePaths(swigCPtr, this); - } - - public SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t getLocalResources() { - return new SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t(OsmAndCoreJNI.ResourcesManager_getLocalResources(swigCPtr, this), true); - } - - public ResourcesManager.LocalResource getLocalResource(String id) { - long cPtr = OsmAndCoreJNI.ResourcesManager_getLocalResource(swigCPtr, this, id); - return (cPtr == 0) ? null : new ResourcesManager.LocalResource(cPtr, true); - } - - public boolean isLocalResource(String id) { - return OsmAndCoreJNI.ResourcesManager_isLocalResource(swigCPtr, this, id); - } - - public boolean isRepositoryAvailable() { - return OsmAndCoreJNI.ResourcesManager_isRepositoryAvailable(swigCPtr, this); - } - - public boolean updateRepository() { - return OsmAndCoreJNI.ResourcesManager_updateRepository(swigCPtr, this); - } - - public SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t getResourcesInRepository() { - return new SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t(OsmAndCoreJNI.ResourcesManager_getResourcesInRepository(swigCPtr, this), true); - } - - public ResourcesManager.ResourceInRepository getResourceInRepository(String id) { - long cPtr = OsmAndCoreJNI.ResourcesManager_getResourceInRepository(swigCPtr, this, id); - return (cPtr == 0) ? null : new ResourcesManager.ResourceInRepository(cPtr, true); - } - - public boolean isResourceInRepository(String id) { - return OsmAndCoreJNI.ResourcesManager_isResourceInRepository(swigCPtr, this, id); - } - - public boolean isResourceInstalled(String id) { - return OsmAndCoreJNI.ResourcesManager_isResourceInstalled(swigCPtr, this, id); - } - - public boolean uninstallResource(String id) { - return OsmAndCoreJNI.ResourcesManager_uninstallResource(swigCPtr, this, id); - } - - public boolean installFromFile(String filePath, ResourcesManager.ResourceType resourceType) { - return OsmAndCoreJNI.ResourcesManager_installFromFile__SWIG_0(swigCPtr, this, filePath, resourceType.swigValue()); - } - - public boolean installFromFile(String id, String filePath, ResourcesManager.ResourceType resourceType) { - return OsmAndCoreJNI.ResourcesManager_installFromFile__SWIG_1(swigCPtr, this, id, filePath, resourceType.swigValue()); - } - - public boolean installFromRepository(String id, SWIGTYPE_p_WebClient__RequestProgressCallbackSignature downloadProgressCallback) { - return OsmAndCoreJNI.ResourcesManager_installFromRepository__SWIG_0(swigCPtr, this, id, SWIGTYPE_p_WebClient__RequestProgressCallbackSignature.getCPtr(downloadProgressCallback)); - } - - public boolean installFromRepository(String id) { - return OsmAndCoreJNI.ResourcesManager_installFromRepository__SWIG_1(swigCPtr, this, id); - } - - public boolean installFromRepository(String id, String filePath) { - return OsmAndCoreJNI.ResourcesManager_installFromRepository__SWIG_2(swigCPtr, this, id, filePath); - } - - public boolean isInstalledResourceOutdated(String id) { - return OsmAndCoreJNI.ResourcesManager_isInstalledResourceOutdated(swigCPtr, this, id); - } - - public SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t getOutdatedInstalledResources() { - return new SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t(OsmAndCoreJNI.ResourcesManager_getOutdatedInstalledResources(swigCPtr, this), true); - } - - public boolean updateFromFile(String filePath) { - return OsmAndCoreJNI.ResourcesManager_updateFromFile__SWIG_0(swigCPtr, this, filePath); - } - - public boolean updateFromFile(String id, String filePath) { - return OsmAndCoreJNI.ResourcesManager_updateFromFile__SWIG_1(swigCPtr, this, id, filePath); - } - - public boolean updateFromRepository(String id, SWIGTYPE_p_WebClient__RequestProgressCallbackSignature downloadProgressCallback) { - return OsmAndCoreJNI.ResourcesManager_updateFromRepository__SWIG_0(swigCPtr, this, id, SWIGTYPE_p_WebClient__RequestProgressCallbackSignature.getCPtr(downloadProgressCallback)); - } - - public boolean updateFromRepository(String id) { - return OsmAndCoreJNI.ResourcesManager_updateFromRepository__SWIG_1(swigCPtr, this, id); - } - - public boolean updateFromRepository(String id, String filePath) { - return OsmAndCoreJNI.ResourcesManager_updateFromRepository__SWIG_2(swigCPtr, this, id, filePath); - } - - static public class ILocalResourcesChanged { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected ILocalResourcesChanged(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(ILocalResourcesChanged obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResourcesManager_ILocalResourcesChanged(swigCPtr); - } - swigCPtr = 0; - } - } - - protected void swigDirectorDisconnect() { - swigCMemOwn = false; - delete(); - } - - public void swigReleaseOwnership() { - swigCMemOwn = false; - OsmAndCoreJNI.ResourcesManager_ILocalResourcesChanged_change_ownership(this, swigCPtr, false); - } - - public void swigTakeOwnership() { - swigCMemOwn = true; - OsmAndCoreJNI.ResourcesManager_ILocalResourcesChanged_change_ownership(this, swigCPtr, true); - } - - public ILocalResourcesChanged() { - this(OsmAndCoreJNI.new_ResourcesManager_ILocalResourcesChanged(), true); - OsmAndCoreJNI.ResourcesManager_ILocalResourcesChanged_director_connect(this, swigCPtr, swigCMemOwn, true); - } - - public void method(ResourcesManager resourcesManager, QStringList added, QStringList removed, QStringList updated) { - OsmAndCoreJNI.ResourcesManager_ILocalResourcesChanged_method(swigCPtr, this, ResourcesManager.getCPtr(resourcesManager), resourcesManager, QStringList.getCPtr(added), added, QStringList.getCPtr(removed), removed, QStringList.getCPtr(updated), updated); - } - - public boolean attachTo(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t observable, SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag tag) { - return OsmAndCoreJNI.ResourcesManager_ILocalResourcesChanged_attachTo(swigCPtr, this, SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t.getCPtr(observable), SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag.getCPtr(tag)); - } - - public SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged getBinding() { - return new SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged(OsmAndCoreJNI.ResourcesManager_ILocalResourcesChanged_getBinding(swigCPtr, this), true); - } - - } - - public SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t getLocalResourcesChangeObservable() { - long cPtr = OsmAndCoreJNI.ResourcesManager_localResourcesChangeObservable_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t(cPtr, false); - } - - static public class IRepositoryUpdated { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected IRepositoryUpdated(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(IRepositoryUpdated obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_ResourcesManager_IRepositoryUpdated(swigCPtr); - } - swigCPtr = 0; - } - } - - protected void swigDirectorDisconnect() { - swigCMemOwn = false; - delete(); - } - - public void swigReleaseOwnership() { - swigCMemOwn = false; - OsmAndCoreJNI.ResourcesManager_IRepositoryUpdated_change_ownership(this, swigCPtr, false); - } - - public void swigTakeOwnership() { - swigCMemOwn = true; - OsmAndCoreJNI.ResourcesManager_IRepositoryUpdated_change_ownership(this, swigCPtr, true); - } - - public IRepositoryUpdated() { - this(OsmAndCoreJNI.new_ResourcesManager_IRepositoryUpdated(), true); - OsmAndCoreJNI.ResourcesManager_IRepositoryUpdated_director_connect(this, swigCPtr, swigCMemOwn, true); - } - - public void method(ResourcesManager resourcesManager) { - OsmAndCoreJNI.ResourcesManager_IRepositoryUpdated_method(swigCPtr, this, ResourcesManager.getCPtr(resourcesManager), resourcesManager); - } - - public boolean attachTo(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t observable, SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag tag) { - return OsmAndCoreJNI.ResourcesManager_IRepositoryUpdated_attachTo(swigCPtr, this, SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t.getCPtr(observable), SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag.getCPtr(tag)); - } - - public SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated getBinding() { - return new SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated(OsmAndCoreJNI.ResourcesManager_IRepositoryUpdated_getBinding(swigCPtr, this), true); - } - - } - - public SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t getRepositoryUpdateObservable() { - long cPtr = OsmAndCoreJNI.ResourcesManager_repositoryUpdateObservable_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t(cPtr, false); - } - - public IOnlineTileSources getOnlineTileSources() { - long cPtr = OsmAndCoreJNI.ResourcesManager_onlineTileSources_get(swigCPtr, this); - return (cPtr == 0) ? null : new IOnlineTileSources(cPtr, true); - } - - public IMapStylesCollection getMapStylesCollection() { - long cPtr = OsmAndCoreJNI.ResourcesManager_mapStylesCollection_get(swigCPtr, this); - return (cPtr == 0) ? null : new IMapStylesCollection(cPtr, true); - } - - public IMapStylesPresetsCollection getMapStylesPresetsCollection() { - long cPtr = OsmAndCoreJNI.ResourcesManager_mapStylesPresetsCollection_get(swigCPtr, this); - return (cPtr == 0) ? null : new IMapStylesPresetsCollection(cPtr, true); - } - - public IObfsCollection getObfsCollection() { - long cPtr = OsmAndCoreJNI.ResourcesManager_obfsCollection_get(swigCPtr, this); - return (cPtr == 0) ? null : new IObfsCollection(cPtr, true); - } - - public enum ResourceType { - Unknown(OsmAndCoreJNI.ResourcesManager_ResourceType_Unknown_get()), - MapRegion, - VoicePack, - MapStyle, - MapStylesPresets, - OnlineTileSources; - - public final int swigValue() { - return swigValue; - } - - public static ResourceType swigToEnum(int swigValue) { - ResourceType[] swigValues = ResourceType.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (ResourceType swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + ResourceType.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private ResourceType() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private ResourceType(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private ResourceType(ResourceType swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - - public enum ResourceOrigin { - Builtin, - Installed, - Repository, - Unmanaged; - - public final int swigValue() { - return swigValue; - } - - public static ResourceOrigin swigToEnum(int swigValue) { - ResourceOrigin[] swigValues = ResourceOrigin.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (ResourceOrigin swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + ResourceOrigin.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private ResourceOrigin() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private ResourceOrigin(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private ResourceOrigin(ResourceOrigin swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - -} diff --git a/JNI/src/net/osmand/core/jni/RoutingDataLevel.java b/JNI/src/net/osmand/core/jni/RoutingDataLevel.java deleted file mode 100644 index 7256a63d21..0000000000 --- a/JNI/src/net/osmand/core/jni/RoutingDataLevel.java +++ /dev/null @@ -1,52 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum RoutingDataLevel { - Basemap, - Detailed; - - public final int swigValue() { - return swigValue; - } - - public static RoutingDataLevel swigToEnum(int swigValue) { - RoutingDataLevel[] swigValues = RoutingDataLevel.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (RoutingDataLevel swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + RoutingDataLevel.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private RoutingDataLevel() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private RoutingDataLevel(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private RoutingDataLevel(RoutingDataLevel swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData.java deleted file mode 100644 index ea330851bb..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData { - private long swigCPtr; - - protected SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_BinaryMapDataProvider_Metrics__Metric_obtainData obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData.java deleted file mode 100644 index 8bf4c18211..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData { - private long swigCPtr; - - protected SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_BinaryMapPrimitivesProvider_Metrics__Metric_obtainData obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData.java deleted file mode 100644 index be22bdac64..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData { - private long swigCPtr; - - protected SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_BinaryMapRasterBitmapTileProvider_Metrics__Metric_obtainData obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_FilterMapObjectsByIdFunction.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_FilterMapObjectsByIdFunction.java deleted file mode 100644 index 0ceed6a101..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_FilterMapObjectsByIdFunction.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_FilterMapObjectsByIdFunction { - private long swigCPtr; - - protected SWIGTYPE_p_FilterMapObjectsByIdFunction(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_FilterMapObjectsByIdFunction() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_FilterMapObjectsByIdFunction obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_FilterRoadsByIdFunction.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_FilterRoadsByIdFunction.java deleted file mode 100644 index 59e672076b..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_FilterRoadsByIdFunction.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_FilterRoadsByIdFunction { - private long swigCPtr; - - protected SWIGTYPE_p_FilterRoadsByIdFunction(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_FilterRoadsByIdFunction() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_FilterRoadsByIdFunction obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_IOnPathMapSymbol__PinPoint.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_IOnPathMapSymbol__PinPoint.java deleted file mode 100644 index 3e3e70bbc8..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_IOnPathMapSymbol__PinPoint.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_IOnPathMapSymbol__PinPoint { - private long swigCPtr; - - protected SWIGTYPE_p_IOnPathMapSymbol__PinPoint(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_IOnPathMapSymbol__PinPoint() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_IOnPathMapSymbol__PinPoint obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_MapFoundationType.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_MapFoundationType.java deleted file mode 100644 index 8c19f17710..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_MapFoundationType.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_MapFoundationType { - private long swigCPtr; - - protected SWIGTYPE_p_MapFoundationType(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_MapFoundationType() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_MapFoundationType obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_MapStyleEvaluationResult.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_MapStyleEvaluationResult.java deleted file mode 100644 index d4f899400f..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_MapStyleEvaluationResult.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_MapStyleEvaluationResult { - private long swigCPtr; - - protected SWIGTYPE_p_MapStyleEvaluationResult(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_MapStyleEvaluationResult() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_MapStyleEvaluationResult obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache.java deleted file mode 100644 index fbf253f0e9..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache { - private long swigCPtr; - - protected SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_ObfMapSectionReader__DataBlocksCache obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads.java deleted file mode 100644 index a20bc22497..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads { - private long swigCPtr; - - protected SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_ObfRoutingSectionReader_Metrics__Metric_loadRoads obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache.java deleted file mode 100644 index 046ecc04f6..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache { - private long swigCPtr; - - protected SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_ObfRoutingSectionReader__DataBlocksCache obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction.java deleted file mode 100644 index 75c7e58963..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction { - private long swigCPtr; - - protected SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_ObfRoutingSectionReader__VisitorFunction obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT.java deleted file mode 100644 index 4b72f67b6e..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapRendererStateChange_unsigned_int_t__BitmaskT obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t.java deleted file mode 100644 index 7ecc3da9b2..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__IntersectionProcessingModeFlag_unsigned_int_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t.java deleted file mode 100644 index f0fa3d00f1..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__BitmaskT_OsmAnd__MapSymbolsGroup__PresentationModeFlag_unsigned_int_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver.java deleted file mode 100644 index c0f96f6ca9..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__IMapRenderer__FramePreparedObserver obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver.java deleted file mode 100644 index ca13188795..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__IMapRenderer__StateChangeObserver obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IQueryController.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IQueryController.java deleted file mode 100644 index a148649ae1..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__IQueryController.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__IQueryController { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__IQueryController(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__IQueryController() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__IQueryController obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback.java deleted file mode 100644 index 46e77b509c..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__FrameUpdateRequestCallback obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue.java deleted file mode 100644 index 56a59ad225..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadEpilogue obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue.java deleted file mode 100644 index 40b5bbfac2..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__MapRendererSetupOptions__GpuWorkerThreadPrologue obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapStyleEvaluator.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapStyleEvaluator.java deleted file mode 100644 index fd7f68eee6..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__MapStyleEvaluator.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__MapStyleEvaluator { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__MapStyleEvaluator(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__MapStyleEvaluator() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__MapStyleEvaluator obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects.java deleted file mode 100644 index 3d290c9375..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObfMapSectionReader_Metrics__Metric_loadMapObjects obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t.java deleted file mode 100644 index 36fa8599cd..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__FramePreparedObserver_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t.java deleted file mode 100644 index d3cd440a8d..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag.java deleted file mode 100644 index 3750d3471b..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IFramePreparedObserver_t__Tag obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t.java deleted file mode 100644 index bd54a3052e..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag.java deleted file mode 100644 index 6c981c0a17..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__IStateChangeObserver_t__Tag obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t.java deleted file mode 100644 index 6faf58a04f..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__IMapRenderer__StateChangeObserver_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t.java deleted file mode 100644 index 1202e11788..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag.java deleted file mode 100644 index 3cc278961c..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__ILocalResourcesChanged_t__Tag obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t.java deleted file mode 100644 index c6c9b6479a..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag.java deleted file mode 100644 index 209bd1f7f4..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__IRepositoryUpdated_t__Tag obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t.java deleted file mode 100644 index a6f1a56a1b..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__LocalResourcesChanged_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t.java deleted file mode 100644 index d8575743bd..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ObservableAsT_OsmAnd__ResourcesManager__RepositoryUpdated_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__PointT_long_long_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__PointT_long_long_t.java deleted file mode 100644 index c5dd056248..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__PointT_long_long_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__PointT_long_long_t { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__PointT_long_long_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__PointT_long_long_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__PointT_long_long_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged.java deleted file mode 100644 index b45660f9a5..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ResourcesManager__LocalResourcesChanged obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated.java deleted file mode 100644 index 5059ab69c5..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated { - private long swigCPtr; - - protected SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_OsmAnd__ResourcesManager__RepositoryUpdated obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise.java deleted file mode 100644 index ed3fd0a0c1..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise { - private long swigCPtr; - - protected SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_Primitiviser_Metrics__Metric_primitivise obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QByteArray.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QByteArray.java deleted file mode 100644 index 28d552c601..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QByteArray.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QByteArray { - private long swigCPtr; - - protected SWIGTYPE_p_QByteArray(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QByteArray() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QByteArray obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QDir.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QDir.java deleted file mode 100644 index 25cbcefb38..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QDir.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QDir { - private long swigCPtr; - - protected SWIGTYPE_p_QDir(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QDir() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QDir obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QFileInfo.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QFileInfo.java deleted file mode 100644 index 3968af23d5..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QFileInfo.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QFileInfo { - private long swigCPtr; - - protected SWIGTYPE_p_QFileInfo(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QFileInfo() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QFileInfo obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QFileInfoList.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QFileInfoList.java deleted file mode 100644 index 8f8d655d35..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QFileInfoList.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QFileInfoList { - private long swigCPtr; - - protected SWIGTYPE_p_QFileInfoList(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QFileInfoList() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QFileInfoList obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t.java deleted file mode 100644 index 940ff65657..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_OsmAnd__TagValueId_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Rule_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_QString_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_QString_t.java deleted file mode 100644 index 61d749d4f8..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_QString_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_QString_QString_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_QString_QString_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_QString_QString_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_QString_QString_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t.java deleted file mode 100644 index fc0e4cb11d..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__IOnlineTileSources__Source_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t.java deleted file mode 100644 index 8d2079eb01..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__BuiltinResource_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t.java deleted file mode 100644 index e21ebe6670..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__LocalResource_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t.java deleted file mode 100644 index 925179207b..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_QString_std__shared_ptrT_OsmAnd__ResourcesManager__ResourceInRepository_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t.java deleted file mode 100644 index e549e6a382..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_int_OsmAnd__MapStyleConstantValue_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t.java deleted file mode 100644 index 88831b7e25..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_int_OsmAnd__ResolvedMapStyle__ResolvedValue_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t.java deleted file mode 100644 index b2f5d5c1dc..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__MapSymbol_t_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalSymbolInstanceParameters_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t.java deleted file mode 100644 index 08ae03dd21..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QHashT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_std__shared_ptrT_OsmAnd__Primitiviser__SymbolsGroup_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QIODevice.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QIODevice.java deleted file mode 100644 index f3e1e7250e..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QIODevice.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QIODevice { - private long swigCPtr; - - protected SWIGTYPE_p_QIODevice(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QIODevice() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QIODevice obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t.java deleted file mode 100644 index 8192943559..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_OsmAnd__MapStyleConstantValue_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t.java deleted file mode 100644 index d3aa18bf2e..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_ObfFile_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t.java deleted file mode 100644 index 76fc8490ac..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_ObfMapSectionReader__DataBlock_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t.java deleted file mode 100644 index a43f7e7aa9..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_ObfRoutingSectionReader__DataBlock_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t.java deleted file mode 100644 index 5dfed2bd6d..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapStylePreset_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t.java deleted file mode 100644 index 0e2d70d7ac..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t.java deleted file mode 100644 index 306846daaa..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbol_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t.java deleted file mode 100644 index bc3ae30df3..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup__AdditionalInstance_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t.java deleted file mode 100644 index 0fc8dd64e0..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.java deleted file mode 100644 index b60f39dc53..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.java deleted file mode 100644 index 294e7ef0e7..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Model__Road_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t.java deleted file mode 100644 index 16b87a7688..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfAddressSectionInfo_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t.java deleted file mode 100644 index 43c705693d..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfFile_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t.java deleted file mode 100644 index f8733e7e01..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t.java deleted file mode 100644 index a52cfa5461..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfPoiSectionInfo_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t.java deleted file mode 100644 index 20aa237386..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfReader_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t.java deleted file mode 100644 index 28b0eeb3fb..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfRoutingSectionInfo_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t.java deleted file mode 100644 index 6b051d0a63..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ObfTransportSectionInfo_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.java deleted file mode 100644 index 93093decc9..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Primitive_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t.java deleted file mode 100644 index db64ce7205..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t.java deleted file mode 100644 index 2c94c81f95..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__Primitiviser__Symbol_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t.java deleted file mode 100644 index 70d4ea0a96..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t.java deleted file mode 100644 index 3540b2d2b6..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_void_const_p_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_void_const_p_t.java deleted file mode 100644 index 9b6ac4edb6..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QListT_void_const_p_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QListT_void_const_p_t { - private long swigCPtr; - - protected SWIGTYPE_p_QListT_void_const_p_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QListT_void_const_p_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QListT_void_const_p_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t.java deleted file mode 100644 index 8922fc707e..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t { - private long swigCPtr; - - protected SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_QString_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_QString_t.java deleted file mode 100644 index bb01087b32..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_QString_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QSetT_QString_t { - private long swigCPtr; - - protected SWIGTYPE_p_QSetT_QString_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QSetT_QString_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QSetT_QString_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_int_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_int_t.java deleted file mode 100644 index fcc04c314d..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_int_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QSetT_int_t { - private long swigCPtr; - - protected SWIGTYPE_p_QSetT_int_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QSetT_int_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QSetT_int_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t.java deleted file mode 100644 index 7d4b80c475..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__ILogSink_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t.java deleted file mode 100644 index 23caeb7185..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QSetT_std__shared_ptrT_OsmAnd__IMapDataProvider_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QStringList.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QStringList.java deleted file mode 100644 index 8c3ea4236c..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QStringList.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QStringList { - private long swigCPtr; - - protected SWIGTYPE_p_QStringList(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QStringList() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QStringList obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QUrl.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QUrl.java deleted file mode 100644 index 63dfb708b0..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QUrl.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QUrl { - private long swigCPtr; - - protected SWIGTYPE_p_QUrl(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QUrl() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QUrl obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t.java deleted file mode 100644 index c684ad9ed9..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t { - private long swigCPtr; - - protected SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_RoutingDataLevel.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_RoutingDataLevel.java deleted file mode 100644 index 1815140f7d..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_RoutingDataLevel.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_RoutingDataLevel { - private long swigCPtr; - - protected SWIGTYPE_p_RoutingDataLevel(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_RoutingDataLevel() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_RoutingDataLevel obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t.java deleted file mode 100644 index dd6a313ebe..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t { - private long swigCPtr; - - protected SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__PrimitivesGroup_const_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t.java deleted file mode 100644 index 3f8559022e..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t { - private long swigCPtr; - - protected SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_SharedResourcesContainerT_unsigned_long_long_OsmAnd__Primitiviser__SymbolsGroup_const_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_WebClient__RequestProgressCallbackSignature.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_WebClient__RequestProgressCallbackSignature.java deleted file mode 100644 index 8a3cb02d60..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_WebClient__RequestProgressCallbackSignature.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_WebClient__RequestProgressCallbackSignature { - private long swigCPtr; - - protected SWIGTYPE_p_WebClient__RequestProgressCallbackSignature(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_WebClient__RequestProgressCallbackSignature() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_WebClient__RequestProgressCallbackSignature obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_bool.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_bool.java deleted file mode 100644 index 2827affb3b..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_bool.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_bool { - private long swigCPtr; - - protected SWIGTYPE_p_bool(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_bool() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_bool obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_double.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_double.java deleted file mode 100644 index 68a9877e20..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_double.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_double { - private long swigCPtr; - - protected SWIGTYPE_p_double(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_double() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_double obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_float.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_float.java deleted file mode 100644 index 7a74938abd..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_float.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_float { - private long swigCPtr; - - protected SWIGTYPE_p_float(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_float() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_float obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_int.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_int.java deleted file mode 100644 index 603738eca8..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_int.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_int { - private long swigCPtr; - - protected SWIGTYPE_p_int(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_int() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_int obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t.java deleted file mode 100644 index c4265dcc2e..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__arrayT_float_OsmAnd__RasterMapLayersCount_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t.java deleted file mode 100644 index 708d1ac238..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__arrayT_std__shared_ptrT_OsmAnd__IMapRasterBitmapTileProvider_t_OsmAnd__RasterMapLayersCount_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t.java deleted file mode 100644 index 15b13aba75..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t.java deleted file mode 100644 index 51f7b1d0ee..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_OsmAnd__Model__BinaryMapObject_const_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t.java deleted file mode 100644 index 91528cf59b..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_OsmAnd__ObfMapSectionInfo_const_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t.java deleted file mode 100644 index 86735a89e8..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Attribute_const_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t.java deleted file mode 100644 index d5d7d68b49..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__Parameter_const_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t.java deleted file mode 100644 index dcb6bac59e..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_OsmAnd__ResolvedMapStyle__RuleNode_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t.java deleted file mode 100644 index bdbec5dbb8..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_const_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t.java deleted file mode 100644 index 95f48466e4..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_OsmAnd__UnresolvedMapStyle_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_QIODevice_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_QIODevice_t.java deleted file mode 100644 index fa26b2d748..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_QIODevice_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_QIODevice_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_QIODevice_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_QIODevice_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_QIODevice_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.java deleted file mode 100644 index 3ca55a1c7b..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_SkBitmap_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_SkBitmap_t.java deleted file mode 100644 index a686625c32..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__shared_ptrT_SkBitmap_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__shared_ptrT_SkBitmap_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__shared_ptrT_SkBitmap_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__shared_ptrT_SkBitmap_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__shared_ptrT_SkBitmap_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t.java deleted file mode 100644 index 1b201b4e2b..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__weak_ptrT_ObfMapSectionReader__DataBlocksCache_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t.java deleted file mode 100644 index 38d55a3831..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__weak_ptrT_OsmAnd__MapSymbolsGroup_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t.java deleted file mode 100644 index 6ec585d6a2..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t { - private long swigCPtr; - - protected SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_std__weak_ptrT_OsmAnd__Primitiviser__PrimitivesGroup_const_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_unsigned_char.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_unsigned_char.java deleted file mode 100644 index 93706ed18f..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_unsigned_char.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_unsigned_char { - private long swigCPtr; - - protected SWIGTYPE_p_unsigned_char(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_unsigned_char() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_unsigned_char obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_unsigned_int.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_unsigned_int.java deleted file mode 100644 index 41fe28c648..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_unsigned_int.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_unsigned_int { - private long swigCPtr; - - protected SWIGTYPE_p_unsigned_int(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_unsigned_int() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_unsigned_int obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_void.java b/JNI/src/net/osmand/core/jni/SWIGTYPE_p_void.java deleted file mode 100644 index 8b05759df8..0000000000 --- a/JNI/src/net/osmand/core/jni/SWIGTYPE_p_void.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SWIGTYPE_p_void { - private long swigCPtr; - - protected SWIGTYPE_p_void(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_void() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_void obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - diff --git a/JNI/src/net/osmand/core/jni/SwigUtilities.java b/JNI/src/net/osmand/core/jni/SwigUtilities.java deleted file mode 100644 index c733b1908c..0000000000 --- a/JNI/src/net/osmand/core/jni/SwigUtilities.java +++ /dev/null @@ -1,54 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class SwigUtilities { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected SwigUtilities(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(SwigUtilities obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - throw new UnsupportedOperationException("C++ destructor does not have public access"); - } - swigCPtr = 0; - } - } - - public static SWIGTYPE_p_QByteArray readEntireFile(String filename) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.SwigUtilities_readEntireFile(filename), true); - } - - public static SWIGTYPE_p_QByteArray readPartOfFile(String filename, long offset, long length) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.SwigUtilities_readPartOfFile(filename, offset, length), true); - } - - public static SWIGTYPE_p_QByteArray emptyQByteArray() { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.SwigUtilities_emptyQByteArray(), true); - } - - public static SWIGTYPE_p_QByteArray qDecompress(SWIGTYPE_p_QByteArray compressedData) { - return new SWIGTYPE_p_QByteArray(OsmAndCoreJNI.SwigUtilities_qDecompress(SWIGTYPE_p_QByteArray.getCPtr(compressedData)), true); - } - - public static SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t createSkBitmapARGB888With(long width, long height, SWIGTYPE_p_unsigned_char pBuffer, long bufferSize) { - return new SWIGTYPE_p_std__shared_ptrT_SkBitmap_const_t(OsmAndCoreJNI.SwigUtilities_createSkBitmapARGB888With(width, height, SWIGTYPE_p_unsigned_char.getCPtr(pBuffer), bufferSize), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/TagValueId.java b/JNI/src/net/osmand/core/jni/TagValueId.java deleted file mode 100644 index 06ecd96021..0000000000 --- a/JNI/src/net/osmand/core/jni/TagValueId.java +++ /dev/null @@ -1,70 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class TagValueId { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected TagValueId(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(TagValueId obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_TagValueId(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setId(java.math.BigInteger value) { - OsmAndCoreJNI.TagValueId_id_set(swigCPtr, this, value); - } - - public java.math.BigInteger getId() { - return OsmAndCoreJNI.TagValueId_id_get(swigCPtr, this); - } - - public void setTagId(int value) { - OsmAndCoreJNI.TagValueId_tagId_set(swigCPtr, this, value); - } - - public int getTagId() { - return OsmAndCoreJNI.TagValueId_tagId_get(swigCPtr, this); - } - - public void setValueId(int value) { - OsmAndCoreJNI.TagValueId_valueId_set(swigCPtr, this, value); - } - - public int getValueId() { - return OsmAndCoreJNI.TagValueId_valueId_get(swigCPtr, this); - } - - public static TagValueId compose(int tagId, int valueId) { - return new TagValueId(OsmAndCoreJNI.TagValueId_compose(tagId, valueId), true); - } - - public TagValueId() { - this(OsmAndCoreJNI.new_TagValueId(), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/TextureFilteringQuality.java b/JNI/src/net/osmand/core/jni/TextureFilteringQuality.java deleted file mode 100644 index b46eec4a2d..0000000000 --- a/JNI/src/net/osmand/core/jni/TextureFilteringQuality.java +++ /dev/null @@ -1,53 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum TextureFilteringQuality { - Normal, - Good, - Best; - - public final int swigValue() { - return swigValue; - } - - public static TextureFilteringQuality swigToEnum(int swigValue) { - TextureFilteringQuality[] swigValues = TextureFilteringQuality.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (TextureFilteringQuality swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + TextureFilteringQuality.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private TextureFilteringQuality() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private TextureFilteringQuality(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private TextureFilteringQuality(TextureFilteringQuality swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/JNI/src/net/osmand/core/jni/TileId.java b/JNI/src/net/osmand/core/jni/TileId.java deleted file mode 100644 index 8cea3abf36..0000000000 --- a/JNI/src/net/osmand/core/jni/TileId.java +++ /dev/null @@ -1,66 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class TileId { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected TileId(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(TileId obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_TileId(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setId(java.math.BigInteger value) { - OsmAndCoreJNI.TileId_id_set(swigCPtr, this, value); - } - - public java.math.BigInteger getId() { - return OsmAndCoreJNI.TileId_id_get(swigCPtr, this); - } - - public void setX(int value) { - OsmAndCoreJNI.TileId_x_set(swigCPtr, this, value); - } - - public int getX() { - return OsmAndCoreJNI.TileId_x_get(swigCPtr, this); - } - - public void setY(int value) { - OsmAndCoreJNI.TileId_y_set(swigCPtr, this, value); - } - - public int getY() { - return OsmAndCoreJNI.TileId_y_get(swigCPtr, this); - } - - public TileId() { - this(OsmAndCoreJNI.new_TileId(), true); - } - -} diff --git a/JNI/src/net/osmand/core/jni/TiledMapSymbolsData.java b/JNI/src/net/osmand/core/jni/TiledMapSymbolsData.java deleted file mode 100644 index 5d94ba832a..0000000000 --- a/JNI/src/net/osmand/core/jni/TiledMapSymbolsData.java +++ /dev/null @@ -1,57 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class TiledMapSymbolsData extends MapTiledData { - private long swigCPtr; - private boolean swigCMemOwnDerived; - - protected TiledMapSymbolsData(long cPtr, boolean cMemoryOwn) { - super(OsmAndCoreJNI.TiledMapSymbolsData_SWIGSmartPtrUpcast(cPtr), true); - swigCMemOwnDerived = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(TiledMapSymbolsData obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwnDerived) { - swigCMemOwnDerived = false; - OsmAndCoreJNI.delete_TiledMapSymbolsData(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public TiledMapSymbolsData(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t symbolsGroups, TileId tileId, ZoomLevel zoom) { - this(OsmAndCoreJNI.new_TiledMapSymbolsData(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t.getCPtr(symbolsGroups), TileId.getCPtr(tileId), tileId, zoom.swigValue()), true); - } - - public void setSymbolsGroups(SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t value) { - OsmAndCoreJNI.TiledMapSymbolsData_symbolsGroups_set(swigCPtr, this, SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t.getCPtr(value)); - } - - public SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t getSymbolsGroups() { - long cPtr = OsmAndCoreJNI.TiledMapSymbolsData_symbolsGroups_get(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_QListT_std__shared_ptrT_OsmAnd__MapSymbolsGroup_t_t(cPtr, false); - } - - public void releaseConsumableContent() { - OsmAndCoreJNI.TiledMapSymbolsData_releaseConsumableContent(swigCPtr, this); - } - -} diff --git a/JNI/src/net/osmand/core/jni/UIntPtr.java b/JNI/src/net/osmand/core/jni/UIntPtr.java deleted file mode 100644 index 0764daa95f..0000000000 --- a/JNI/src/net/osmand/core/jni/UIntPtr.java +++ /dev/null @@ -1,60 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class UIntPtr { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected UIntPtr(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(UIntPtr obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsmAndCoreJNI.delete_UIntPtr(swigCPtr); - } - swigCPtr = 0; - } - } - - public UIntPtr() { - this(OsmAndCoreJNI.new_UIntPtr(), true); - } - - public void assign(long value) { - OsmAndCoreJNI.UIntPtr_assign(swigCPtr, this, value); - } - - public long value() { - return OsmAndCoreJNI.UIntPtr_value(swigCPtr, this); - } - - public SWIGTYPE_p_unsigned_int cast() { - long cPtr = OsmAndCoreJNI.UIntPtr_cast(swigCPtr, this); - return (cPtr == 0) ? null : new SWIGTYPE_p_unsigned_int(cPtr, false); - } - - public static UIntPtr frompointer(SWIGTYPE_p_unsigned_int t) { - long cPtr = OsmAndCoreJNI.UIntPtr_frompointer(SWIGTYPE_p_unsigned_int.getCPtr(t)); - return (cPtr == 0) ? null : new UIntPtr(cPtr, false); - } - -} diff --git a/JNI/src/net/osmand/core/jni/Utilities.java b/JNI/src/net/osmand/core/jni/Utilities.java deleted file mode 100644 index 1a0317afd6..0000000000 --- a/JNI/src/net/osmand/core/jni/Utilities.java +++ /dev/null @@ -1,358 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public class Utilities { - private long swigCPtr; - protected boolean swigCMemOwn; - - protected Utilities(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - protected static long getCPtr(Utilities obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - throw new UnsupportedOperationException("C++ destructor does not have public access"); - } - swigCPtr = 0; - } - } - - public static double toRadians(double angle) { - return OsmAndCoreJNI.Utilities_toRadians(angle); - } - - public static int get31TileNumberX(double longitude) { - return OsmAndCoreJNI.Utilities_get31TileNumberX(longitude); - } - - public static int get31TileNumberY(double latitude) { - return OsmAndCoreJNI.Utilities_get31TileNumberY(latitude); - } - - public static PointI convertLatLonTo31(LatLon latLon) { - return new PointI(OsmAndCoreJNI.Utilities_convertLatLonTo31(LatLon.getCPtr(latLon), latLon), true); - } - - public static double get31LongitudeX(double x) { - return OsmAndCoreJNI.Utilities_get31LongitudeX(x); - } - - public static double get31LatitudeY(double y) { - return OsmAndCoreJNI.Utilities_get31LatitudeY(y); - } - - public static LatLon convert31ToLatLon(PointI point31) { - return new LatLon(OsmAndCoreJNI.Utilities_convert31ToLatLon(PointI.getCPtr(point31), point31), true); - } - - public static double getTileNumberX(float zoom, double longitude) { - return OsmAndCoreJNI.Utilities_getTileNumberX(zoom, longitude); - } - - public static double getTileNumberY(float zoom, double latitude) { - return OsmAndCoreJNI.Utilities_getTileNumberY(zoom, latitude); - } - - public static float convert31toFloat(int value, ZoomLevel zoom) { - return OsmAndCoreJNI.Utilities_convert31toFloat__SWIG_0(value, zoom.swigValue()); - } - - public static PointF convert31toFloat(PointI p, ZoomLevel zoom) { - return new PointF(OsmAndCoreJNI.Utilities_convert31toFloat__SWIG_1(PointI.getCPtr(p), p, zoom.swigValue()), true); - } - - public static double normalizeLatitude(double latitude) { - return OsmAndCoreJNI.Utilities_normalizeLatitude(latitude); - } - - public static double normalizeLongitude(double longitude) { - return OsmAndCoreJNI.Utilities_normalizeLongitude(longitude); - } - - public static double getPowZoom(float zoom) { - return OsmAndCoreJNI.Utilities_getPowZoom(zoom); - } - - public static double getLongitudeFromTile(float zoom, double x) { - return OsmAndCoreJNI.Utilities_getLongitudeFromTile(zoom, x); - } - - public static double getLatitudeFromTile(float zoom, double y) { - return OsmAndCoreJNI.Utilities_getLatitudeFromTile(zoom, y); - } - - public static double x31toMeters(int x31) { - return OsmAndCoreJNI.Utilities_x31toMeters(x31); - } - - public static double y31toMeters(int y31) { - return OsmAndCoreJNI.Utilities_y31toMeters(y31); - } - - public static long metersToX31(double meters) { - return OsmAndCoreJNI.Utilities_metersToX31(meters); - } - - public static long metersToY31(double meters) { - return OsmAndCoreJNI.Utilities_metersToY31(meters); - } - - public static double squareDistance31(int x31a, int y31a, int x31b, int y31b) { - return OsmAndCoreJNI.Utilities_squareDistance31__SWIG_0(x31a, y31a, x31b, y31b); - } - - public static double distance31(int x31a, int y31a, int x31b, int y31b) { - return OsmAndCoreJNI.Utilities_distance31__SWIG_0(x31a, y31a, x31b, y31b); - } - - public static double squareDistance31(PointI a, PointI b) { - return OsmAndCoreJNI.Utilities_squareDistance31__SWIG_1(PointI.getCPtr(a), a, PointI.getCPtr(b), b); - } - - public static double distance31(PointI a, PointI b) { - return OsmAndCoreJNI.Utilities_distance31__SWIG_1(PointI.getCPtr(a), a, PointI.getCPtr(b), b); - } - - public static double distance(double xLonA, double yLatA, double xLonB, double yLatB) { - return OsmAndCoreJNI.Utilities_distance(xLonA, yLatA, xLonB, yLatB); - } - - public static double projection31(int x31a, int y31a, int x31b, int y31b, int x31c, int y31c) { - return OsmAndCoreJNI.Utilities_projection31(x31a, y31a, x31b, y31b, x31c, y31c); - } - - public static double normalizedAngleRadians(double angle) { - return OsmAndCoreJNI.Utilities_normalizedAngleRadians(angle); - } - - public static double normalizedAngleDegrees(double angle) { - return OsmAndCoreJNI.Utilities_normalizedAngleDegrees(angle); - } - - public static double polygonArea(SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t points) { - return OsmAndCoreJNI.Utilities_polygonArea(SWIGTYPE_p_QVectorT_OsmAnd__PointT_int32_t_t_t.getCPtr(points)); - } - - public static boolean rayIntersectX(PointF v0_, PointF v1_, float mY, SWIGTYPE_p_float mX) { - return OsmAndCoreJNI.Utilities_rayIntersectX__SWIG_0(PointF.getCPtr(v0_), v0_, PointF.getCPtr(v1_), v1_, mY, SWIGTYPE_p_float.getCPtr(mX)); - } - - public static boolean rayIntersect(PointF v0, PointF v1, PointF v) { - return OsmAndCoreJNI.Utilities_rayIntersect__SWIG_0(PointF.getCPtr(v0), v0, PointF.getCPtr(v1), v1, PointF.getCPtr(v), v); - } - - public static boolean rayIntersectX(PointI v0_, PointI v1_, int mY, SWIGTYPE_p_int mX) { - return OsmAndCoreJNI.Utilities_rayIntersectX__SWIG_1(PointI.getCPtr(v0_), v0_, PointI.getCPtr(v1_), v1_, mY, SWIGTYPE_p_int.getCPtr(mX)); - } - - public static boolean rayIntersect(PointI v0, PointI v1, PointI v) { - return OsmAndCoreJNI.Utilities_rayIntersect__SWIG_1(PointI.getCPtr(v0), v0, PointI.getCPtr(v1), v1, PointI.getCPtr(v), v); - } - - public static double degreesDiff(double a1, double a2) { - return OsmAndCoreJNI.Utilities_degreesDiff(a1, a2); - } - - public static AreaI tileBoundingBox31(TileId tileId, ZoomLevel zoom) { - return new AreaI(OsmAndCoreJNI.Utilities_tileBoundingBox31(TileId.getCPtr(tileId), tileId, zoom.swigValue()), true); - } - - public static AreaI areaRightShift(AreaI input, long shift) { - return new AreaI(OsmAndCoreJNI.Utilities_areaRightShift(AreaI.getCPtr(input), input, shift), true); - } - - public static AreaI areaLeftShift(AreaI input, long shift) { - return new AreaI(OsmAndCoreJNI.Utilities_areaLeftShift(AreaI.getCPtr(input), input, shift), true); - } - - public static long getNextPowerOfTwo(long value) { - return OsmAndCoreJNI.Utilities_getNextPowerOfTwo(value); - } - - public static double getMetersPerTileUnit(float zoom, double yTile, double unitsPerTile) { - return OsmAndCoreJNI.Utilities_getMetersPerTileUnit(zoom, yTile, unitsPerTile); - } - - public static TileId normalizeTileId(TileId input, ZoomLevel zoom) { - return new TileId(OsmAndCoreJNI.Utilities_normalizeTileId(TileId.getCPtr(input), input, zoom.swigValue()), true); - } - - public static PointI normalizeCoordinates(PointI input, ZoomLevel zoom) { - return new PointI(OsmAndCoreJNI.Utilities_normalizeCoordinates(PointI.getCPtr(input), input, zoom.swigValue()), true); - } - - public static boolean extractFirstNumberPosition(String value, SWIGTYPE_p_int first, SWIGTYPE_p_int last, boolean allowSigned, boolean allowDot) { - return OsmAndCoreJNI.Utilities_extractFirstNumberPosition(value, SWIGTYPE_p_int.getCPtr(first), SWIGTYPE_p_int.getCPtr(last), allowSigned, allowDot); - } - - public static double parseSpeed(String value, double defValue, SWIGTYPE_p_bool wasParsed) { - return OsmAndCoreJNI.Utilities_parseSpeed__SWIG_0(value, defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)); - } - - public static double parseSpeed(String value, double defValue) { - return OsmAndCoreJNI.Utilities_parseSpeed__SWIG_1(value, defValue); - } - - public static double parseLength(String value, double defValue, SWIGTYPE_p_bool wasParsed) { - return OsmAndCoreJNI.Utilities_parseLength__SWIG_0(value, defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)); - } - - public static double parseLength(String value, double defValue) { - return OsmAndCoreJNI.Utilities_parseLength__SWIG_1(value, defValue); - } - - public static double parseWeight(String value, double defValue, SWIGTYPE_p_bool wasParsed) { - return OsmAndCoreJNI.Utilities_parseWeight__SWIG_0(value, defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)); - } - - public static double parseWeight(String value, double defValue) { - return OsmAndCoreJNI.Utilities_parseWeight__SWIG_1(value, defValue); - } - - public static ColorARGB parseColor(String value, ColorARGB defValue, SWIGTYPE_p_bool wasParsed) { - return new ColorARGB(OsmAndCoreJNI.Utilities_parseColor__SWIG_0(value, ColorARGB.getCPtr(defValue), defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)), true); - } - - public static ColorARGB parseColor(String value, ColorARGB defValue) { - return new ColorARGB(OsmAndCoreJNI.Utilities_parseColor__SWIG_1(value, ColorARGB.getCPtr(defValue), defValue), true); - } - - public static int parseArbitraryInt(String value, int defValue, SWIGTYPE_p_bool wasParsed) { - return OsmAndCoreJNI.Utilities_parseArbitraryInt__SWIG_0(value, defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)); - } - - public static int parseArbitraryInt(String value, int defValue) { - return OsmAndCoreJNI.Utilities_parseArbitraryInt__SWIG_1(value, defValue); - } - - public static int parseArbitraryLong(String value, int defValue, SWIGTYPE_p_bool wasParsed) { - return OsmAndCoreJNI.Utilities_parseArbitraryLong__SWIG_0(value, defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)); - } - - public static int parseArbitraryLong(String value, int defValue) { - return OsmAndCoreJNI.Utilities_parseArbitraryLong__SWIG_1(value, defValue); - } - - public static long parseArbitraryUInt(String value, long defValue, SWIGTYPE_p_bool wasParsed) { - return OsmAndCoreJNI.Utilities_parseArbitraryUInt__SWIG_0(value, defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)); - } - - public static long parseArbitraryUInt(String value, long defValue) { - return OsmAndCoreJNI.Utilities_parseArbitraryUInt__SWIG_1(value, defValue); - } - - public static long parseArbitraryULong(String value, long defValue, SWIGTYPE_p_bool wasParsed) { - return OsmAndCoreJNI.Utilities_parseArbitraryULong__SWIG_0(value, defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)); - } - - public static long parseArbitraryULong(String value, long defValue) { - return OsmAndCoreJNI.Utilities_parseArbitraryULong__SWIG_1(value, defValue); - } - - public static float parseArbitraryFloat(String value, float defValue, SWIGTYPE_p_bool wasParsed) { - return OsmAndCoreJNI.Utilities_parseArbitraryFloat__SWIG_0(value, defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)); - } - - public static float parseArbitraryFloat(String value, float defValue) { - return OsmAndCoreJNI.Utilities_parseArbitraryFloat__SWIG_1(value, defValue); - } - - public static boolean parseArbitraryBool(String value, boolean defValue, SWIGTYPE_p_bool wasParsed) { - return OsmAndCoreJNI.Utilities_parseArbitraryBool__SWIG_0(value, defValue, SWIGTYPE_p_bool.getCPtr(wasParsed)); - } - - public static boolean parseArbitraryBool(String value, boolean defValue) { - return OsmAndCoreJNI.Utilities_parseArbitraryBool__SWIG_1(value, defValue); - } - - public static int javaDoubleCompare(double l, double r) { - return OsmAndCoreJNI.Utilities_javaDoubleCompare(l, r); - } - - public static void findFiles(SWIGTYPE_p_QDir origin, SWIGTYPE_p_QStringList masks, SWIGTYPE_p_QFileInfoList files, boolean recursively) { - OsmAndCoreJNI.Utilities_findFiles__SWIG_0(SWIGTYPE_p_QDir.getCPtr(origin), SWIGTYPE_p_QStringList.getCPtr(masks), SWIGTYPE_p_QFileInfoList.getCPtr(files), recursively); - } - - public static void findFiles(SWIGTYPE_p_QDir origin, SWIGTYPE_p_QStringList masks, SWIGTYPE_p_QFileInfoList files) { - OsmAndCoreJNI.Utilities_findFiles__SWIG_1(SWIGTYPE_p_QDir.getCPtr(origin), SWIGTYPE_p_QStringList.getCPtr(masks), SWIGTYPE_p_QFileInfoList.getCPtr(files)); - } - - public static void findDirectories(SWIGTYPE_p_QDir origin, SWIGTYPE_p_QStringList masks, SWIGTYPE_p_QFileInfoList directories, boolean recursively) { - OsmAndCoreJNI.Utilities_findDirectories__SWIG_0(SWIGTYPE_p_QDir.getCPtr(origin), SWIGTYPE_p_QStringList.getCPtr(masks), SWIGTYPE_p_QFileInfoList.getCPtr(directories), recursively); - } - - public static void findDirectories(SWIGTYPE_p_QDir origin, SWIGTYPE_p_QStringList masks, SWIGTYPE_p_QFileInfoList directories) { - OsmAndCoreJNI.Utilities_findDirectories__SWIG_1(SWIGTYPE_p_QDir.getCPtr(origin), SWIGTYPE_p_QStringList.getCPtr(masks), SWIGTYPE_p_QFileInfoList.getCPtr(directories)); - } - - public static void scanlineFillPolygon(long verticesCount, PointF vertices, SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t fillPoint) { - OsmAndCoreJNI.Utilities_scanlineFillPolygon(verticesCount, PointF.getCPtr(vertices), vertices, SWIGTYPE_p_std__functionT_void_fOsmAnd__PointT_int_t_const_RF_t.getCPtr(fillPoint)); - } - - public static SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t enumerateZoomLevels(ZoomLevel from, ZoomLevel to) { - return new SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t(OsmAndCoreJNI.Utilities_enumerateZoomLevels(from.swigValue(), to.swigValue()), true); - } - - public static String stringifyZoomLevels(SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t zoomLevels) { - return OsmAndCoreJNI.Utilities_stringifyZoomLevels(SWIGTYPE_p_QSetT_OsmAnd__ZoomLevel_t.getCPtr(zoomLevels)); - } - - public enum CHCode { - Left(OsmAndCoreJNI.Utilities_CHCode_Left_get()), - Right, - Bottom, - Top; - - public final int swigValue() { - return swigValue; - } - - public static CHCode swigToEnum(int swigValue) { - CHCode[] swigValues = CHCode.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (CHCode swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + CHCode.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private CHCode() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private CHCode(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private CHCode(CHCode swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } - } - -} diff --git a/JNI/src/net/osmand/core/jni/ZoomLevel.java b/JNI/src/net/osmand/core/jni/ZoomLevel.java deleted file mode 100644 index 43171ce4b7..0000000000 --- a/JNI/src/net/osmand/core/jni/ZoomLevel.java +++ /dev/null @@ -1,85 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.3 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package net.osmand.core.jni; - -public enum ZoomLevel { - ZoomLevel0(OsmAndCoreJNI.ZoomLevel0_get()), - ZoomLevel1, - ZoomLevel2, - ZoomLevel3, - ZoomLevel4, - ZoomLevel5, - ZoomLevel6, - ZoomLevel7, - ZoomLevel8, - ZoomLevel9, - ZoomLevel10, - ZoomLevel11, - ZoomLevel12, - ZoomLevel13, - ZoomLevel14, - ZoomLevel15, - ZoomLevel16, - ZoomLevel17, - ZoomLevel18, - ZoomLevel19, - ZoomLevel20, - ZoomLevel21, - ZoomLevel22, - ZoomLevel23, - ZoomLevel24, - ZoomLevel25, - ZoomLevel26, - ZoomLevel27, - ZoomLevel28, - ZoomLevel29, - ZoomLevel30, - ZoomLevel31(OsmAndCoreJNI.ZoomLevel31_get()), - InvalidZoom(OsmAndCoreJNI.InvalidZoom_get()), - MinZoomLevel(OsmAndCoreJNI.MinZoomLevel_get()), - MaxZoomLevel(OsmAndCoreJNI.MaxZoomLevel_get()); - - public final int swigValue() { - return swigValue; - } - - public static ZoomLevel swigToEnum(int swigValue) { - ZoomLevel[] swigValues = ZoomLevel.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (ZoomLevel swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + ZoomLevel.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private ZoomLevel() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private ZoomLevel(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private ZoomLevel(ZoomLevel swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - diff --git a/OsmAnd/.gitignore b/OsmAnd/.gitignore index 06f9b7af09..ccb25d27a7 100644 --- a/OsmAnd/.gitignore +++ b/OsmAnd/.gitignore @@ -16,3 +16,4 @@ assets/help/*.html assets/help/images assets/help/screens assets/OsmAndCore_ResourcesBundle.index +assets/OsmAndCore_ResourcesBundle/ diff --git a/OsmAnd/AndroidManifest.xml b/OsmAnd/AndroidManifest.xml index e0f509d584..10d4ed90bd 100644 --- a/OsmAnd/AndroidManifest.xml +++ b/OsmAnd/AndroidManifest.xml @@ -234,6 +234,5 @@ - diff --git a/OsmAnd/build.xml b/OsmAnd/build.xml index 01905eba35..7667fda885 100644 --- a/OsmAnd/build.xml +++ b/OsmAnd/build.xml @@ -16,6 +16,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -60,13 +104,33 @@ + + + + - - - + + - + @@ -138,15 +202,11 @@ - - - - - - - - + + + + @@ -242,52 +302,61 @@ - - - - + + + + + + + - To customize existing targets, there are two options: - - Customize only one target: - - copy/paste the target into this file, *before* the - task. - - customize it to your needs. - - Customize the whole content of build.xml - - copy/paste the content of the rules files (minus the top node) - into this file, replacing the task. - - customize to your needs. + + Handling aidl files... + + + - *********************** - ****** IMPORTANT ****** - *********************** - In all cases you must update the value of version-tag below to read 'custom' instead of an integer, - in order to avoid having your file be overridden by tools such as "android update project" - --> - - + ---------- + Handling Resources... + + + + + - - - - - - - - - - - - - - - - - - - - - + ---------- + Handling BuildConfig class... + + + + diff --git a/OsmAnd/project.properties b/OsmAnd/project.properties index a1d13baa11..fa5a5c7730 100644 --- a/OsmAnd/project.properties +++ b/OsmAnd/project.properties @@ -13,4 +13,3 @@ split.density=false target=android-19 dex.force.jumbo=true android.library.reference.1=../SherlockBar -android.library.reference.2=../JNI diff --git a/OsmAnd/res/values-be/strings.xml b/OsmAnd/res/values-be/strings.xml index c11751de6f..2cf20b3ec4 100644 --- a/OsmAnd/res/values-be/strings.xml +++ b/OsmAnd/res/values-be/strings.xml @@ -1,4 +1,4 @@ - + Без аўтаматычнага масштабіраваньня Зачыніць Для сярэдняга масштаба diff --git a/OsmAnd/res/values-bg/strings.xml b/OsmAnd/res/values-bg/strings.xml index 4f50534f4a..8bd3c52d2a 100644 --- a/OsmAnd/res/values-bg/strings.xml +++ b/OsmAnd/res/values-bg/strings.xml @@ -1,4 +1,4 @@ - + Промени в 1.5: \n\t* Гласови предупреждения за пътни ограничения и камери \n\t* Гласово обявяване имената на улиците diff --git a/OsmAnd/res/values-ca/strings.xml b/OsmAnd/res/values-ca/strings.xml index 12ae46ccd3..80eb244fe8 100644 --- a/OsmAnd/res/values-ca/strings.xml +++ b/OsmAnd/res/values-ca/strings.xml @@ -1,4 +1,4 @@ - + Mostra els missatges d\'avís… Rutes amb fluorescència Mostra el regle diff --git a/OsmAnd/res/values-cs/strings.xml b/OsmAnd/res/values-cs/strings.xml index 9828354b2b..32d0523aea 100644 --- a/OsmAnd/res/values-cs/strings.xml +++ b/OsmAnd/res/values-cs/strings.xml @@ -1,4 +1,4 @@ - + Vektorové mapy toto místo neobsahují. Mapová data můžete stáhnout v Nastaveních (Spravovat mapové soubory), nebo se přepněte na online mapy. "Změny ve verzi 0.7.2 : \n\t- Native rendering pro všechna zařízení diff --git a/OsmAnd/res/values-da/strings.xml b/OsmAnd/res/values-da/strings.xml index 8f8b18ebe6..96c7e9ca51 100644 --- a/OsmAnd/res/values-da/strings.xml +++ b/OsmAnd/res/values-da/strings.xml @@ -1,4 +1,4 @@ - + Overvej at købe Højdekurve udvidelsen (\'Contour lines\') på Google Play for at støtte den videre udvikling. Optag video Optag audio diff --git a/OsmAnd/res/values-de/strings.xml b/OsmAnd/res/values-de/strings.xml index d1ad6184ed..6f6f75d082 100644 --- a/OsmAnd/res/values-de/strings.xml +++ b/OsmAnd/res/values-de/strings.xml @@ -1,4 +1,4 @@ - + Geschwindigkeitsbegrenzung Grenzkontrolle diff --git a/OsmAnd/res/values-el/strings.xml b/OsmAnd/res/values-el/strings.xml index d976baee00..652a0e7a62 100644 --- a/OsmAnd/res/values-el/strings.xml +++ b/OsmAnd/res/values-el/strings.xml @@ -1,4 +1,4 @@ - + Προσθήκη Ετικέτας Λειτουργία για προχωρημένους… Στάθμευση diff --git a/OsmAnd/res/values-es/strings.xml b/OsmAnd/res/values-es/strings.xml index f387274961..5b2ad6605d 100644 --- a/OsmAnd/res/values-es/strings.xml +++ b/OsmAnd/res/values-es/strings.xml @@ -1,4 +1,4 @@ - + Configura pantalla diff --git a/OsmAnd/res/values-eu/strings.xml b/OsmAnd/res/values-eu/strings.xml index 0e4f920791..e5c18a4b1c 100644 --- a/OsmAnd/res/values-eu/strings.xml +++ b/OsmAnd/res/values-eu/strings.xml @@ -1,4 +1,4 @@ - + 1.6 bertsioan aldaketak:⏎\n⇥⏎\n⇥* Sareko tesela iturburuak definitu/editatu (iraungitze data zehaztu)⏎ Deskargatutako zoomak: %1$s Iraungitze epea (minutuak): %1$s diff --git a/OsmAnd/res/values-fa/strings.xml b/OsmAnd/res/values-fa/strings.xml index e996f11ed6..45ff995a41 100644 --- a/OsmAnd/res/values-fa/strings.xml +++ b/OsmAnd/res/values-fa/strings.xml @@ -1,4 +1,4 @@ - + پشتیبان‌گیری از تغییرات OsmAnd ناموفق بود زمان دقت diff --git a/OsmAnd/res/values-fr/strings.xml b/OsmAnd/res/values-fr/strings.xml index 68f73b54a1..79cd80e21a 100644 --- a/OsmAnd/res/values-fr/strings.xml +++ b/OsmAnd/res/values-fr/strings.xml @@ -1,4 +1,4 @@ - + Modifications hors-ligne Toujours utiliser l\'édition hors-ligne "Changements en 0.7.1 : diff --git a/OsmAnd/res/values-hr/strings.xml b/OsmAnd/res/values-hr/strings.xml index 0c18d179a1..b63d801e4b 100644 --- a/OsmAnd/res/values-hr/strings.xml +++ b/OsmAnd/res/values-hr/strings.xml @@ -1,4 +1,4 @@ - + GPS informacije Vrijeme dolaska provjereno diff --git a/OsmAnd/res/values-hu/strings.xml b/OsmAnd/res/values-hu/strings.xml index e543fd4579..e7972d3bc7 100644 --- a/OsmAnd/res/values-hu/strings.xml +++ b/OsmAnd/res/values-hu/strings.xml @@ -1,4 +1,4 @@ - + "A 0.7.2 kiadás változásai: \n\t- Natív renderelő minden eszközre \n\t- Offline POI szerkesztés diff --git a/OsmAnd/res/values-it/strings.xml b/OsmAnd/res/values-it/strings.xml index 15f7113b9d..ffae5c6752 100644 --- a/OsmAnd/res/values-it/strings.xml +++ b/OsmAnd/res/values-it/strings.xml @@ -1,4 +1,4 @@ - + Sovrapposizioni fluorescenti Usa colori fluorescenti per visualizzare tracce e percorsi Modifiche offline diff --git a/OsmAnd/res/values-ja/strings.xml b/OsmAnd/res/values-ja/strings.xml index e9b540a02f..bf7ad8c8c5 100644 --- a/OsmAnd/res/values-ja/strings.xml +++ b/OsmAnd/res/values-ja/strings.xml @@ -1,4 +1,4 @@ - + 新しいデータを展開中… オンライン経路案内を使用しようとしていますが インターネット接続されていません。 diff --git a/OsmAnd/res/values-ko/strings.xml b/OsmAnd/res/values-ko/strings.xml index 74a4321825..0d841be0fa 100644 --- a/OsmAnd/res/values-ko/strings.xml +++ b/OsmAnd/res/values-ko/strings.xml @@ -1,4 +1,4 @@ - + 벡터 맵이 더욱 빠르게 표시됩니다. 하지만, 어떤 기기에서는 잘 작동하지 않을 수 있습니다. 현재 선택된 음성 명령을 재생합니다 diff --git a/OsmAnd/res/values-lt/strings.xml b/OsmAnd/res/values-lt/strings.xml index b36dcd584c..61342c73dc 100644 --- a/OsmAnd/res/values-lt/strings.xml +++ b/OsmAnd/res/values-lt/strings.xml @@ -1,4 +1,4 @@ - + Pradžios taškas yra per toli nuo artimiausio kelio. Bendrinta vieta Dėmesio diff --git a/OsmAnd/res/values-lv/strings.xml b/OsmAnd/res/values-lv/strings.xml index 0407dbc22e..084a1c7d85 100644 --- a/OsmAnd/res/values-lv/strings.xml +++ b/OsmAnd/res/values-lv/strings.xml @@ -1,4 +1,4 @@ - + Spraudņu pārvaldnieks Atzīmējiet spraudni, lai to aktivizētu (varētu būt nepieciešams OsmAnd restarts) Spraudņi iespējo aplikācijas papildus funkcijas un uzstādījumus kā piemēram sekošana, enerģijas taupīšana, pieejamība un daudzas citas diff --git a/OsmAnd/res/values-nl/strings.xml b/OsmAnd/res/values-nl/strings.xml index 9f0bf7db14..baa7374a83 100644 --- a/OsmAnd/res/values-nl/strings.xml +++ b/OsmAnd/res/values-nl/strings.xml @@ -1,4 +1,4 @@ - + Configureer scherm diff --git a/OsmAnd/res/values-nn/strings.xml b/OsmAnd/res/values-nn/strings.xml index c416934318..0d6eebced8 100644 --- a/OsmAnd/res/values-nn/strings.xml +++ b/OsmAnd/res/values-nn/strings.xml @@ -1,4 +1,4 @@ - + Farga bygningar Inviter … Ønskjer du å forlata gruppa %1$s? diff --git a/OsmAnd/res/values-pl/strings.xml b/OsmAnd/res/values-pl/strings.xml index f03dda7d49..dcc1dbc509 100644 --- a/OsmAnd/res/values-pl/strings.xml +++ b/OsmAnd/res/values-pl/strings.xml @@ -1,4 +1,4 @@ - + "Zmiany w 0.6.9: \n\t- poprawiono renderowanie map offline \n\t- szybkie renderowanie natywne (wersja eksperymentalna - może nie działać na niektórych urządzeniach) \n\t- poprawki w interfejsie \n\t- dodano wyświetlanie informacji o wysokości (altitude) \n\t- nowe tłumaczenia (polskie, wietnamskie) \n\t- inne, mniejsze poprawki " Przezroczysty styl diff --git a/OsmAnd/res/values-pt/strings.xml b/OsmAnd/res/values-pt/strings.xml index 30dab50e44..ee62841051 100644 --- a/OsmAnd/res/values-pt/strings.xml +++ b/OsmAnd/res/values-pt/strings.xml @@ -1,4 +1,4 @@ - + Administrativo Barreira Educação diff --git a/OsmAnd/res/values-ro/strings.xml b/OsmAnd/res/values-ro/strings.xml index 2aaa0751c5..2886e7b62b 100644 --- a/OsmAnd/res/values-ro/strings.xml +++ b/OsmAnd/res/values-ro/strings.xml @@ -1,4 +1,4 @@ - + Serviciul sleep încă rulează în background. Doriți să-l opriți? Modificări în versiunea 1.0.0 : \n\t* Rutare îmbunătățită, mai rapidă și mai exactă (până la 250 km) diff --git a/OsmAnd/res/values-ru/strings.xml b/OsmAnd/res/values-ru/strings.xml index ae35f53598..c5fea43a1a 100644 --- a/OsmAnd/res/values-ru/strings.xml +++ b/OsmAnd/res/values-ru/strings.xml @@ -1,4 +1,4 @@ - + Плагин позволяет загружать контурные линии и затемнение высот для использования оффлайн (\"Настройки\" → \"Управление файлами карт\" → \"Загрузить\"). Рассмотрите, пожалуйста, покупку плагина \"Линии высот\" в Google Play, чтобы поддержать последующую разработку. Линии высот diff --git a/OsmAnd/res/values-sc/strings.xml b/OsmAnd/res/values-sc/strings.xml index 3491727d3a..d7fff6b187 100644 --- a/OsmAnd/res/values-sc/strings.xml +++ b/OsmAnd/res/values-sc/strings.xml @@ -1,4 +1,4 @@ - + Ammustra sa positzione semper a su tzentru Boghe Mistura diff --git a/OsmAnd/res/values-sk/strings.xml b/OsmAnd/res/values-sk/strings.xml index f766c1c6f4..36b690f90a 100644 --- a/OsmAnd/res/values-sk/strings.xml +++ b/OsmAnd/res/values-sk/strings.xml @@ -1,4 +1,4 @@ - + Zobraziť Fotografia %1$s zachytená dňa %2$s Zachytiť fotografiu diff --git a/OsmAnd/res/values-sl/strings.xml b/OsmAnd/res/values-sl/strings.xml index 04a5624d1a..5ed678ff85 100644 --- a/OsmAnd/res/values-sl/strings.xml +++ b/OsmAnd/res/values-sl/strings.xml @@ -1,4 +1,4 @@ - + Iskanje Iskanje Nastavitve diff --git a/OsmAnd/res/values-sv/strings.xml b/OsmAnd/res/values-sv/strings.xml index 3cae79d3be..07c6baf822 100644 --- a/OsmAnd/res/values-sv/strings.xml +++ b/OsmAnd/res/values-sv/strings.xml @@ -1,4 +1,4 @@ - + För att låsa upp skärmen tryck på låsikonen Välj land Välj stad diff --git a/OsmAnd/res/values-zh-rTW/strings.xml b/OsmAnd/res/values-zh-rTW/strings.xml index bfab73d7f8..4e0ee88198 100644 --- a/OsmAnd/res/values-zh-rTW/strings.xml +++ b/OsmAnd/res/values-zh-rTW/strings.xml @@ -1,4 +1,4 @@ - + 選擇道路的色彩調配: 道路的色彩調配 顯示目的地方向 diff --git a/OsmAnd/src/com/bidforfix/andorid/BidForFixActivity.java b/OsmAnd/src/com/bidforfix/andorid/BidForFixActivity.java deleted file mode 100644 index 9acc1601fd..0000000000 --- a/OsmAnd/src/com/bidforfix/andorid/BidForFixActivity.java +++ /dev/null @@ -1,197 +0,0 @@ -package com.bidforfix.andorid; - -import java.util.ArrayList; -import java.util.List; -import java.util.Random; - -import net.osmand.plus.R; -import android.app.Activity; -import android.app.Dialog; -import android.app.ListActivity; -import android.app.ProgressDialog; -import android.content.ActivityNotFoundException; -import android.content.Intent; -import android.graphics.Bitmap; -import android.graphics.Canvas; -import android.net.Uri; -import android.os.AsyncTask; -import android.os.Bundle; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -import android.view.ViewGroup.LayoutParams; -import android.widget.ArrayAdapter; -import android.widget.ImageView; -import android.widget.ListView; -import android.widget.TextView; -import android.widget.Toast; - -import com.bidforfix.andorid.BidForFixHelper.BFFIssue; -import com.gafmedia.Graph.PieItem; -import com.gafmedia.Graph.View_PieChart; - -public abstract class BidForFixActivity extends ListActivity { - - private static final int LOAD_ITEMS = 0; - - LoadItemsTask loadItemTask; - - private BidForFixHelper helper; - - public abstract BidForFixHelper getBidForFixHelper(); - - private BidForFixHelper getHelper() { - if (helper == null) { - helper = getBidForFixHelper(); - } - return helper; - } - - @Override - protected void onCreate(Bundle savedInstanceState) { - setTheme(android.R.style.Theme_Light); - super.onCreate(savedInstanceState); - // throws null pointer exception on some devices if lv is not set - ListView lv = new ListView(this); - lv.setId(android.R.id.list); - setContentView(lv); - if (getHelper().isReloadNeeded()) { - showDialog(LOAD_ITEMS); - } else { - setListAdapter(new BFFIssueArrayAdapter(this, getHelper().getList())); - } - } - - - @Override - protected Dialog onCreateDialog(int id) { - switch (id) { - case LOAD_ITEMS: - return new ProgressDialog(this); - } - return super.onCreateDialog(id); - } - - @Override - protected void onPrepareDialog(int id, Dialog dialog) { - switch (id) { - case LOAD_ITEMS: - dialog.setTitle(R.string.bidforfix_loading); - loadItemTask = new LoadItemsTask((ProgressDialog)dialog); - loadItemTask.execute(); - return; - } - super.onPrepareDialog(id, dialog); - } - - @Override - protected void onListItemClick(ListView l, View v, int position, long id) { - BFFIssue issue = (BFFIssue) getListAdapter().getItem(position); - String url = issue.getLink(); - try { - Intent i = new Intent(Intent.ACTION_VIEW); - i.setData(Uri.parse(url)); - startActivity(i); - } catch (ActivityNotFoundException ex) { - Toast.makeText(this, ex.getMessage() + " for " + url, Toast.LENGTH_LONG).show(); - } - super.onListItemClick(l, v, position, id); - } - - public class LoadItemsTask extends AsyncTask { - - private final ProgressDialog dialog; - - public LoadItemsTask(ProgressDialog dialog) { - this.dialog = dialog; - this.dialog.setIndeterminate(true); - } - - @Override - protected Integer doInBackground(Object... params) { - getHelper().loadList(); - return null; - } - - @Override - protected void onPostExecute(Integer result) { - super.onPostExecute(result); - //set the adapter (clear,set) - setListAdapter(new BFFIssueArrayAdapter(BidForFixActivity.this, getHelper().getList())); - dialog.dismiss(); - } - } - - public static class BFFIssueArrayAdapter extends ArrayAdapter { - private final Activity context; - private final List values; - - Random random = new Random(); - - static class ViewHolder { - public TextView text; - public ImageView image; - public TextView support; - public TextView funded; - } - - public BFFIssueArrayAdapter(Activity context, List values) { - super(context, R.layout.list_item_bidforfix, values); - this.context = context; - this.values = values; - } - - @Override - public View getView(int position, View convertView, ViewGroup parent) { - View rowView = convertView; - if (rowView == null) { - LayoutInflater inflater = context.getLayoutInflater(); - rowView = inflater.inflate(R.layout.list_item_bidforfix, null); - ViewHolder viewHolder = new ViewHolder(); - viewHolder.text = (TextView) rowView.findViewById(R.id.bffiText); - viewHolder.support = (TextView) rowView.findViewById(R.id.bffiSupport); - viewHolder.funded = (TextView) rowView.findViewById(R.id.bffiFunded); - viewHolder.image = (ImageView) rowView.findViewById(R.id.bffiGraph); - rowView.setTag(viewHolder); - } - - ViewHolder holder = (ViewHolder) rowView.getTag(); - BFFIssue s = values.get(position); - holder.text.setText(s.getName()); - holder.support.setText(context.getString(R.string.bidforfix_supporters, s.getBids_count())); - int funded = s.getPercent(); - holder.funded.setText(context.getString(R.string.bidforfix_funded, funded)); - - List PieData = new ArrayList(); - PieItem item = new PieItem(); - item.Count = funded; - item.Color = 0xFF72B123; - PieItem item2 = new PieItem(); - item2.Count = Math.max(100,funded)-funded; - item2.Color = 0xFFDDDDDD; - - PieData.add(item); - PieData.add(item2); - - int Size = Math.max(holder.image.getHeight(),40); - - Bitmap mBackgroundImage = Bitmap.createBitmap(Size, Size, Bitmap.Config.RGB_565); - //------------------------------------------------------------------------------------------ - // Generating Pie view - //------------------------------------------------------------------------------------------ - View_PieChart pieChartView = new View_PieChart(context); - pieChartView.setLayoutParams(new LayoutParams(Size, Size)); - pieChartView.setGeometry(Size, Size, 2, 2, 2, 2, -1); //OverlayId); - pieChartView.setSkinParams(0xffffffff); - pieChartView.setData(PieData, 100); - pieChartView.invalidate(); - //------------------------------------------------------------------------------------------ - // Draw Pie Vien on Bitmap canvas - //------------------------------------------------------------------------------------------ - pieChartView.draw(new Canvas(mBackgroundImage)); - - holder.image.setImageBitmap(mBackgroundImage); - return rowView; - } - } -} diff --git a/OsmAnd/src/com/bidforfix/andorid/BidForFixHelper.java b/OsmAnd/src/com/bidforfix/andorid/BidForFixHelper.java deleted file mode 100644 index 41dc3347a1..0000000000 --- a/OsmAnd/src/com/bidforfix/andorid/BidForFixHelper.java +++ /dev/null @@ -1,251 +0,0 @@ -package com.bidforfix.andorid; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStreamReader; -import java.net.MalformedURLException; -import java.net.URL; -import java.net.URLConnection; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; -import org.json.JSONTokener; - -import android.app.Activity; -import android.app.AlertDialog; -import android.app.AlertDialog.Builder; -import android.content.ActivityNotFoundException; -import android.content.DialogInterface; -import android.content.DialogInterface.OnClickListener; -import android.content.Intent; -import android.net.Uri; -import android.preference.Preference; -import android.preference.Preference.OnPreferenceClickListener; -import android.preference.PreferenceCategory; -import android.preference.PreferenceScreen; -import android.util.Log; -import android.widget.Toast; - -public class BidForFixHelper { - - private static final long DAY = 1000*60*60*24; //A DAY in millis - - private List bffIssues = new ArrayList(); - private final String project; - private Thread t; - private Date initialized; - - private final String supportButton; - - private final String cancelButton; - - public static class BFFIssue implements Comparable { - private final String link; - private final String name; - private final String shortname; - private final String descripton; - private final int percent; - private final int bids_count; - private final int position; - - public BFFIssue(JSONObject jsonObject) { - this.link = getValue(jsonObject, "link"); - this.name = getValue(jsonObject, "name"); - this.shortname = getValue(jsonObject, "short_name"); - this.descripton = getValue(jsonObject, "description"); - this.percent = getInt(jsonObject, "percent"); - this.bids_count = getInt(jsonObject, "bids_count"); - this.position = getInt(jsonObject, "position"); - } - - - private int getInt(JSONObject jsonObject, String key) { - try { - return jsonObject.getInt(key); - } catch (JSONException e) { - // ignore - } - return 0; - } - - private String getValue(JSONObject jsonObject, String key) { - try { - return jsonObject.getString(key); - } catch (JSONException e) { - // ignore - } - return null; - } - - public String getDescripton() { - return descripton; - } - - public String getLink() { - if (link.startsWith("http://")) { - return link; - } else { - return "http://www.bidforfix.com"+link; - } - } - - public String getName() { - return name; - } - - public String getShortname() { - return shortname; - } - - public int getBids_count() { - return bids_count; - } - - public int getPercent() { - return percent; - } - - @Override - public int compareTo(BFFIssue another) { - return another != null ? this.position - another.position : 1; - } - } - - public BidForFixHelper(String project, String supportButton, String cancelButton) { - this.project = project; - this.supportButton = supportButton; - this.cancelButton = cancelButton; - } - - public boolean isReloadNeeded() { - return initialized == null || initialized.before(new Date(System.currentTimeMillis()-DAY)); - } - - public List getList() { - return bffIssues; - } - - public void loadList() { - if (isReloadNeeded()) { - BufferedReader in = null; - String url = "http://www.bidforfix.com/p/" + project + "/issues/"; - try { - URL twitter = new URL(url); - URLConnection tc = twitter.openConnection(); - in = new BufferedReader(new InputStreamReader( - tc.getInputStream())); - - StringBuilder sb = new StringBuilder(); - String line; - while ((line = in.readLine()) != null) { - sb.append(line); - } - JSONTokener json = new JSONTokener(sb.toString()); - Object o = json.nextValue(); - if (o instanceof JSONObject) { - JSONObject root = (JSONObject) o; - JSONArray issues = root.getJSONArray("issues"); - for (int i = 0; i < issues.length(); i++) { - JSONObject jo = (JSONObject) issues.get(i); - bffIssues.add(new BFFIssue(jo)); - } - } - initialized = new Date(); - } catch (MalformedURLException e) { - initialized = new Date(Long.MAX_VALUE); //bad url, don't try anymore - Log.w("Bad URL:" + url, e); - } catch (IOException e) { - //we can try some more times... - } catch (JSONException e) { - //bad json, try in two day again - initialized = new Date(System.currentTimeMillis()+DAY*2); - Log.w("Bad JSON while parsing bidforfix output", e); - } finally { - if (in != null) { - try { - in.close(); - } catch (IOException ex) { - // ignore - } - } - } - } - } - - public void generatePreferenceList(final PreferenceScreen screen, - final String categoryName, final Activity context) { - t = new Thread("BidForFixThread") { - @Override - public void run() { - loadList(); - // after loading, fill the screen - if (!bffIssues.isEmpty()) { - context.runOnUiThread(new Runnable() { - @Override - public void run() { - PreferenceCategory cat = new PreferenceCategory( - context); - cat.setTitle(categoryName); - screen.addPreference(cat); - for (int i = 0; i < bffIssues.size(); i++) { - final BFFIssue issue = bffIssues.get(i); - Preference preference = new Preference(context); - preference.setTitle(issue.getName()); - preference.setSummary(issue.getDescripton()); - preference - .setOnPreferenceClickListener(new OnPreferenceClickListener() { - @Override - public boolean onPreferenceClick( - Preference preference) { - Builder builder = new AlertDialog.Builder(context); - builder.setTitle(issue.name); - builder.setMessage(issue.descripton); - builder.setPositiveButton(supportButton, new OnClickListener() { - @Override - public void onClick(DialogInterface dialog, int which) { - //edit the preference - String url = issue.getLink(); - try { - Intent i = new Intent(Intent.ACTION_VIEW); - i.setData(Uri.parse(url)); - context.startActivity(i); - } catch (ActivityNotFoundException ex) { - Toast.makeText(context, ex.getMessage() + " for " + url, Toast.LENGTH_LONG).show(); - } - } - }); - builder.setNegativeButton(cancelButton, null); - builder.show(); - - return false; - } - }); - cat.addPreference(preference); - } - } - }); - } - t = null; - } - }; - t.setDaemon(true); - t.start(); - } - - public void onDestroy() { - // close the thread, release resources... - if (t != null) { - try { - t.join(); // wait for the thread - // TODO we should wait for the runOnUIThread??? is that possible - // if we are in UI thread now? - } catch (InterruptedException e) { - // ignore - } - } - } -} diff --git a/OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroidAssets.java b/OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroidAssetsCustom.java similarity index 96% rename from OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroidAssets.java rename to OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroidAssetsCustom.java index 74a5676001..d1bb155ff4 100644 --- a/OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroidAssets.java +++ b/OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroidAssetsCustom.java @@ -26,10 +26,10 @@ import android.content.res.AssetManager; import android.util.Log; // This class provides reverse mapping from 'embed-resources.list' to files&folders scheme used by OsmAndCore_android.aar package -public class CoreResourcesFromAndroidAssets extends ICoreResourcesProvider { +public class CoreResourcesFromAndroidAssetsCustom extends ICoreResourcesProvider { private static final String TAG = "CoreResourcesFromAndroidAssets"; - private CoreResourcesFromAndroidAssets(final Context context) { + private CoreResourcesFromAndroidAssetsCustom(final Context context) { _context = context; } @@ -233,8 +233,8 @@ public class CoreResourcesFromAndroidAssets extends ICoreResourcesProvider { return true; } - public static CoreResourcesFromAndroidAssets loadFromCurrentApplication(final Context context) { - final CoreResourcesFromAndroidAssets bundle = new CoreResourcesFromAndroidAssets(context); + public static CoreResourcesFromAndroidAssetsCustom loadFromCurrentApplication(final Context context) { + final CoreResourcesFromAndroidAssetsCustom bundle = new CoreResourcesFromAndroidAssetsCustom(context); if (!bundle.load()) return null; diff --git a/OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroid_LegacyOsmAndCompatible.java b/OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroid_LegacyOsmAndCompatible.java deleted file mode 100644 index 3ad8986ee5..0000000000 --- a/OsmAnd/src/net/osmand/core/android/CoreResourcesFromAndroid_LegacyOsmAndCompatible.java +++ /dev/null @@ -1,37 +0,0 @@ -package net.osmand.core.android; - -import android.content.Context; - -import net.osmand.core.jni.ICoreResourcesProvider; -import net.osmand.core.jni.SWIGTYPE_p_QByteArray; -import net.osmand.core.jni.SWIGTYPE_p_bool; -import net.osmand.core.jni.SwigUtilities; - -// This class provides reverse mapping from 'embed-resources.list' to scheme used by current (legacy in future) OsmAnd for Android -public class CoreResourcesFromAndroid_LegacyOsmAndCompatible extends ICoreResourcesProvider { - public CoreResourcesFromAndroid_LegacyOsmAndCompatible(final Context context) { - _context = context; - } - - private final Context _context; - - @Override - public SWIGTYPE_p_QByteArray getResource(String name, float displayDensityFactor, SWIGTYPE_p_bool ok) { - return SwigUtilities.emptyQByteArray(); - } - - @Override - public SWIGTYPE_p_QByteArray getResource(String name, SWIGTYPE_p_bool ok) { - return SwigUtilities.emptyQByteArray(); - } - - @Override - public boolean containsResource(String name, float displayDensityFactor) { - return false; - } - - @Override - public boolean containsResource(String name) { - return false; - } -} \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/core/android/GLActivity.java b/OsmAnd/src/net/osmand/core/android/GLActivity.java index e58b7c8dd5..a6d627d426 100644 --- a/OsmAnd/src/net/osmand/core/android/GLActivity.java +++ b/OsmAnd/src/net/osmand/core/android/GLActivity.java @@ -45,7 +45,7 @@ public class GLActivity extends Activity { } private static final String TAG = "OsmAndCoreSample"; - private CoreResourcesFromAndroidAssets _coreResources; + private CoreResourcesFromAndroidAssetsCustom _coreResources; private float _displayDensityFactor; private int _referenceTileSize; @@ -166,7 +166,7 @@ public class GLActivity extends Activity { Log.i(TAG, "rasterTileSize = " + _rasterTileSize); Log.i(TAG, "Initializing core..."); - _coreResources = CoreResourcesFromAndroidAssets.loadFromCurrentApplication(this); + _coreResources = CoreResourcesFromAndroidAssetsCustom.loadFromCurrentApplication(this); OsmAndCore.InitializeCore(_coreResources); File directory =getApp().getAppPath(""); diff --git a/OsmAnd/src/net/osmand/plus/activities/OsmandBidForFixActivity.java b/OsmAnd/src/net/osmand/plus/activities/OsmandBidForFixActivity.java deleted file mode 100644 index 2328d77fce..0000000000 --- a/OsmAnd/src/net/osmand/plus/activities/OsmandBidForFixActivity.java +++ /dev/null @@ -1,15 +0,0 @@ -package net.osmand.plus.activities; - -import net.osmand.plus.R; - -import com.bidforfix.andorid.BidForFixActivity; -import com.bidforfix.andorid.BidForFixHelper; - -public class OsmandBidForFixActivity extends BidForFixActivity { - - @Override - public BidForFixHelper getBidForFixHelper() { - return new BidForFixHelper("osmand.net", getString(R.string.default_buttons_support), - getString(R.string.default_buttons_cancel)); - } -} diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java index 2ed6c0aef4..dbb79589d3 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java @@ -37,7 +37,6 @@ public class SettingsActivity extends SettingsBaseActivity { private static final String CONTRIBUTION_VERSION_FLAG = "CONTRIBUTION_VERSION_FLAG"; - private Preference bidforfix; private Preference plugins; private Preference localIndexes; private Preference general; @@ -104,8 +103,6 @@ public class SettingsActivity extends SettingsBaseActivity { startActivity(new Intent(this, getMyApplication().getAppCustomization().getDownloadActivity())); } return true; - } else if (preference == bidforfix) { - startActivity(new Intent(this, OsmandBidForFixActivity.class)); } else if (preference == general) { startActivity(new Intent(this, SettingsGeneralActivity.class)); return true; diff --git a/OsmAnd/src/net/osmand/plus/views/controllers/NativeViewController.java b/OsmAnd/src/net/osmand/plus/views/controllers/NativeViewController.java index d08026427e..e42bdb9b0e 100644 --- a/OsmAnd/src/net/osmand/plus/views/controllers/NativeViewController.java +++ b/OsmAnd/src/net/osmand/plus/views/controllers/NativeViewController.java @@ -12,7 +12,7 @@ import android.view.ViewParent; import android.view.WindowManager; import android.widget.FrameLayout; import net.osmand.access.MapAccessibilityActions; -import net.osmand.core.android.CoreResourcesFromAndroidAssets; +import net.osmand.core.android.CoreResourcesFromAndroidAssetsCustom; import net.osmand.core.jni.*; import net.osmand.data.LatLon; import net.osmand.data.QuadPoint; @@ -72,7 +72,7 @@ public class NativeViewController extends MapViewBaseController { private GestureDetector gestureDetector; public static final String NATIVE_TAG = "NativeRender"; - private CoreResourcesFromAndroidAssets coreResources; + private CoreResourcesFromAndroidAssetsCustom coreResources; SimpleTwoFingerTapDetector twoFingerTapDetector = new SimpleTwoFingerTapDetector() { @Override @@ -166,7 +166,7 @@ public class NativeViewController extends MapViewBaseController { Log.i(NATIVE_TAG, "rasterTileSize = " + rasterTileSize); Log.i(NATIVE_TAG, "Initializing core..."); - coreResources = CoreResourcesFromAndroidAssets.loadFromCurrentApplication(mapActivity.getMyApplication()); + coreResources = CoreResourcesFromAndroidAssetsCustom.loadFromCurrentApplication(mapActivity.getMyApplication()); OsmAndCore.InitializeCore(coreResources); File directory =mapActivity.getMyApplication().getAppPath(""); diff --git a/diff_turn_lanes b/diff_turn_lanes new file mode 100644 index 0000000000..562bc9c82b --- /dev/null +++ b/diff_turn_lanes @@ -0,0 +1,693 @@ + +diff --git a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java +index 1fa0b3a..0ba0981 100644 +--- a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java ++++ b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java +@@ -7,6 +7,7 @@ import java.util.Arrays; + import java.util.Collections; + import java.util.Iterator; + import java.util.List; ++import java.util.HashSet; + + import org.apache.commons.logging.Log; + +@@ -388,6 +389,77 @@ public class RouteResultPreparation { + dist += result.get(i).getDistance(); + } + } ++ ++ for (int i = result.size() - 2; i >= 0; i--) { ++ RouteSegmentResult currentSegment = result.get(i); ++ RouteSegmentResult nextSegment = result.get(i + 1); ++ ++ if (currentSegment.getTurnType() == null || currentSegment.getTurnType().getLanes() == null || nextSegment.getTurnType() == null || nextSegment.getTurnType().getLanes() == null) { ++ continue; ++ } ++ ++ // Only allow slight turns to be merged. ++ if (currentSegment.getDistance() < 60 && nextSegment.getTurnType().getLanes().length <= currentSegment.getTurnType().getLanes().length ++ && (currentSegment.getTurnType().getValue() == TurnType.C ++ || currentSegment.getTurnType().getValue() == TurnType.TSLL ++ || currentSegment.getTurnType().getValue() == TurnType.TSLR ++ || currentSegment.getTurnType().getValue() == TurnType.KL ++ || currentSegment.getTurnType().getValue() == TurnType.KR)) { ++ mergeTurnLanes(leftside, currentSegment, nextSegment); ++ } ++ } ++ } ++ + + + private static final int MAX_SPEAK_PRIORITY = 5; +@@ -439,6 +511,7 @@ public class RouteResultPreparation { + } else { + t = TurnType.valueOf(TurnType.TU, leftSide); + } ++ getLanesInfo(prev, t, leftSide); + } else if (mpi < -TURN_DEGREE_MIN) { + if (mpi > -60) { + t = TurnType.valueOf(TurnType.TSLR, leftSide); +@@ -449,6 +522,7 @@ public class RouteResultPreparation { + } else { + t = TurnType.valueOf(TurnType.TU, leftSide); + } ++ getLanesInfo(prev, t, leftSide); + } else { + t = attachKeepLeftInfoAndLanes(leftSide, prev, rr, t); + } +@@ -459,6 +533,82 @@ public class RouteResultPreparation { + return t; + } + private TurnType processRoundaboutTurn(List result, int i, boolean leftSide, RouteSegmentResult prev, + RouteSegmentResult rr) { +@@ -491,21 +641,52 @@ public class RouteResultPreparation { + return t; + } + + + + private TurnType attachKeepLeftInfoAndLanes(boolean leftSide, RouteSegmentResult prevSegm, RouteSegmentResult currentSegm, TurnType t) { + // keep left/right + int[] lanes = null; + boolean kl = false; + boolean kr = false; ++ List outboundRoads = new ArrayList(); + List attachedRoutes = currentSegm.getAttachedRoutes(currentSegm.getStartPointIndex()); +- int ls = prevSegm.getObject().getLanes(); +- if(ls >= 0 && prevSegm.getObject().getOneway() == 0) { +- ls = (ls + 1) / 2; +- } +- int left = 0; +- int right = 0; + boolean speak = false; + int speakPriority = Math.max(highwaySpeakPriority(prevSegm.getObject().getHighway()), highwaySpeakPriority(currentSegm.getObject().getHighway())); ++ boolean otherRoutesExist = false; ++ boolean rightTurnPossible = false; ++ boolean leftTurnPossible = false; + if (attachedRoutes != null) { + for (RouteSegmentResult attached : attachedRoutes) { + double ex = MapUtils.degreesDiff(attached.getBearingBegin(), currentSegm.getBearingBegin()); +@@ -513,73 +694,439 @@ public class RouteResultPreparation { + int rsSpeakPriority = highwaySpeakPriority(attached.getObject().getHighway()); + if (rsSpeakPriority != MAX_SPEAK_PRIORITY || speakPriority == MAX_SPEAK_PRIORITY) { + if ((ex < TURN_DEGREE_MIN || mpi < TURN_DEGREE_MIN) && ex >= 0) { ++ // It's ex >= 0 so that turns remaining on the current road are counted as well + kl = true; + int lns = attached.getObject().getLanes(); + } +- if (lns > 0) { +- right += lns; ++ if (lns <= 0) { ++ lns = 1; + } +- speak = speak || rsSpeakPriority <= speakPriority; ++ outboundRoads.add(new OutboundRoad(ex, lns, attached)); ++ speak |= rsSpeakPriority <= speakPriority; + } else if ((ex > -TURN_DEGREE_MIN || mpi < TURN_DEGREE_MIN) && ex <= 0) { + } +- if (lns > 0) { +- left += lns; ++ if (lns <= 0) { ++ lns = 1; + } +- speak = speak || rsSpeakPriority <= speakPriority; ++ outboundRoads.add(new OutboundRoad(ex, lns, attached)); ++ speak |= rsSpeakPriority <= speakPriority; ++ } ++ } ++ if (mpi > TURN_DEGREE_MIN) { ++ otherRoutesExist = true; ++ if (ex > TURN_DEGREE_MIN) { ++ // A right turn is allowed at this intersection. ++ rightTurnPossible = true; ++ } else if (ex < TURN_DEGREE_MIN) { ++ // A left turn is allowed at this intersection. ++ leftTurnPossible = true; + } + } + } + } +- if(kr && left == 0) { +- left = 1; +- } else if(kl && right == 0) { +- right = 1; +- } ++ ++ // attachedRoutes covers all allowed outbound routes at that point except currentSegm. + + if (current <= 0) { + current = 1; + } +-// if(ls >= 0 /*&& current + left + right >= ls*/){ +- lanes = new int[current + left + right]; +- ls = current + left + right; +- for(int it=0; it< ls; it++) { +- if(it < left || it >= left + current) { +- lanes[it] = 0; +- } else { +- lanes[it] = 1; ++ outboundRoads.add(new OutboundRoad(0, current, currentSegm)); ++ ++ Collections.sort(outboundRoads); ++ ++ int totalOutboundLanes = 0; ++ for (OutboundRoad road : outboundRoads) { ++ totalOutboundLanes += road.getLanes(); ++ } ++ ++ lanes = new int[totalOutboundLanes]; ++ int i = 0; ++ int left = 0; ++ int right = 0; ++ for (OutboundRoad road : outboundRoads) { ++ for (int j = 0; i < lanes.length && j < road.getLanes(); i++, j++) { ++ lanes[i] = road.getAngle() == 0 ? TurnType.BIT_LANE_ALLOWED : 0; ++ if (road.getAngle() < 0) { ++ left++; ++ } else if (road.getAngle() > 0) { ++ right++; + } + } +- // sometimes links are +- if ((current <= left + right) && (left > 1 || right > 1)) { +- speak = true; +- } +-// } ++ } ++ // sometimes links are ++ if ((current <= left + right) && (left > 1 || right > 1)) { ++ speak = true; ++ } ++ ++ double deviation = Math.abs(MapUtils.degreesDiff(prevSegm.getBearingEnd(), currentSegm.getBearingBegin())); ++ boolean makeSlightTurn = deviation > 5 && (!isMotorway(prevSegm) || !isMotorway(currentSegm)); ++ if (kl && kr) { ++ t = TurnType.valueOf(TurnType.C, leftSide); + +- double devation = Math.abs(MapUtils.degreesDiff(prevSegm.getBearingEnd(), currentSegm.getBearingBegin())); +- boolean makeSlightTurn = devation > 5 && (!isMotorway(prevSegm) || !isMotorway(currentSegm)); +- if (kl) { ++ t.setSkipToSpeak(!speak); ++ } else if (kl) { + t = TurnType.valueOf(makeSlightTurn ? TurnType.TSLL : TurnType.KL, leftSide); + t.setSkipToSpeak(!speak); +- } +- if (kr) { ++ } else if (kr) { + t = TurnType.valueOf(makeSlightTurn ? TurnType.TSLR : TurnType.KR, leftSide); + t.setSkipToSpeak(!speak); ++ } else { ++ if (!otherRoutesExist) { ++ return null; ++ } ++ // Most likely, we're going straight at a 90-degree intersection with another road ++ t = TurnType.valueOf(TurnType.C, leftSide); ++ t.setSkipToSpeak(true); // Always skip the talking when going straight ++ ++ int prevLanes = prevSegm.getObject().getLanes(); ++ if(prevSegm.getObject().getOneway() == 0) { ++ if (prevSegm.isForwardDirection() ++ && prevSegm.getObject().getValue("lanes:forward") != null) { ++ prevLanes = Integer.parseInt(prevSegm.getObject().getValue("lanes:forward")); ++ } else if (!prevSegm.isForwardDirection() ++ && prevSegm.getObject().getValue("lanes:backward") != null) { ++ prevLanes = Integer.parseInt(prevSegm.getObject().getValue("lanes:backward")); ++ } else { ++ prevLanes = (prevLanes + 1) / 2; ++ } ++ } ++ if (prevLanes <= 0) { ++ return null; ++ } ++ lanes = new int[prevLanes]; ++ ++ String turnLanes; ++ if (prevSegm.getObject().getOneway() == 0) { ++ if (prevSegm.isForwardDirection()) { ++ turnLanes = prevSegm.getObject().getValue("turn:lanes:forward"); ++ } else { ++ turnLanes = prevSegm.getObject().getValue("turn:lanes:backward"); ++ } ++ } else { ++ turnLanes = prevSegm.getObject().getValue("turn:lanes"); ++ } ++ ++ if (turnLanes == null) { ++ return null; ++ } ++ ++ String[] splitLaneOptions = turnLanes.split("\\|", -1); ++ if (splitLaneOptions.length != lanes.length) { ++ // Error in data or missing data ++ return null; ++ } ++ ++ t.setLanes(lanes); ++ ++ assignTurns(splitLaneOptions, t); ++ ++ // In some cases (at least in the US), the rightmost lane might not have a right turn indicator, but is allowed. This section adds in that indicator. The same applies for where leftSide is true. ++ if (leftSide) { ++ if (leftTurnPossible ++ && !t.isTurnAllowed(0, TurnType.Turn.LEFT) ++ && !t.isTurnAllowed(0, TurnType.Turn.SLIGHT_LEFT) ++ && !t.isTurnAllowed(0, TurnType.Turn.SHARP_LEFT)) { ++ if (t.getPrimaryTurn(0) != TurnType.Turn.UNKNOWN && t.getSecondaryTurn(0) == TurnType.Turn.UNKNOWN) { ++ // This was just to make sure that there's no bad data and that there's an empty slot. ++ t.setSecondaryTurn(0, TurnType.Turn.LEFT); ++ } ++ } ++ } else { ++ if (rightTurnPossible ++ && !t.isTurnAllowed(lanes.length - 1, TurnType.Turn.RIGHT) ++ && !t.isTurnAllowed(lanes.length - 1, TurnType.Turn.SLIGHT_RIGHT) ++ && !t.isTurnAllowed(lanes.length - 1, TurnType.Turn.SHARP_RIGHT)) { ++ if (t.getPrimaryTurn(lanes.length - 1) != TurnType.Turn.UNKNOWN && t.getSecondaryTurn(lanes.length - 1) == TurnType.Turn.UNKNOWN) { ++ // This was just to make sure that there's no bad data and that there's an empty slot. ++ t.setSecondaryTurn(lanes.length - 1, TurnType.Turn.RIGHT); ++ } ++ } ++ } ++ ++ // Manually set the allowed lanes, in case the turn gets merged. ++ for (int j = 0; j < lanes.length; j++) { ++ if (t.isTurnAllowed(j, TurnType.Turn.STRAIGHT)) { ++ t.getLanes()[j] |= TurnType.BIT_LANE_ALLOWED; ++ } ++ } ++ ++ return t; + } ++ + if (t != null && lanes != null) { + t.setLanes(lanes); ++ ++ // This code block, in the cases where turn:lanes is not available, replaces the straight arrows with slight-left or slight-right arrows. It compares the number of lanes going straight to the number of lanes turning to determine which symbol to display where. ++ boolean crossedLeftSide = false; ++ for (int j = 0; j < t.getLanes().length; j++) { ++ if (!crossedLeftSide && (t.getLanes()[j] & TurnType.BIT_LANE_ALLOWED) == 0) { ++ if (current > left + right || right != 0) { ++ t.setPrimaryTurn(j, TurnType.Turn.SLIGHT_LEFT); ++ } else { ++ t.setPrimaryTurn(j, TurnType.Turn.STRAIGHT); ++ } ++ } else { ++ crossedLeftSide = true; ++ if ((t.getLanes()[j] & TurnType.BIT_LANE_ALLOWED) == TurnType.BIT_LANE_ALLOWED) { ++ if (current > left + right || (left != 0 && right != 0)) { ++ t.setPrimaryTurn(j, TurnType.Turn.STRAIGHT); ++ } else if (left != 0) { ++ t.setPrimaryTurn(j, TurnType.Turn.SLIGHT_RIGHT); ++ } else if (right != 0) { ++ t.setPrimaryTurn(j, TurnType.Turn.SLIGHT_LEFT); ++ } ++ } else { ++ if (current > left + right || left != 0) { ++ t.setPrimaryTurn(j, TurnType.Turn.SLIGHT_RIGHT); ++ } else { ++ t.setPrimaryTurn(j, TurnType.Turn.STRAIGHT); ++ } ++ } ++ } ++ } ++ ++ t = attachTurnLanesData(leftSide, prevSegm, t); + } ++ + return t; + } +- +=============================================================================== + ++ private void mergeTurnLanes(boolean leftSide, RouteSegmentResult currentSegment, RouteSegmentResult nextSegment) { ++ if (currentSegment.getTurnType().isTurnLanesRendering() && nextSegment.getTurnType().isTurnLanesRendering()) { ++ int[] lanes = new int[currentSegment.getTurnType().getLanes().length]; ++ for (int i = 0; i < lanes.length; i++) { ++ lanes[i] = currentSegment.getTurnType().getLanes()[i] & ~TurnType.BIT_LANE_ALLOWED; ++ } ++ int matchingIndex = 0; ++ int maxMatchedLanes = 0; ++ for (int i = 0; i < lanes.length; i++) { ++ int matchedLanes = 0; ++ for (int j = 0; j < nextSegment.getTurnType().getLanes().length - i; j++) { ++ if (nextSegment.getTurnType().getPrimaryTurn(j) == currentSegment.getTurnType().getPrimaryTurn(i + j)) { ++ matchedLanes++; ++ } else { ++ break; ++ } ++ } ++ if (matchedLanes > maxMatchedLanes) { ++ matchingIndex = i; ++ maxMatchedLanes = matchedLanes; ++ } ++ } ++ if (maxMatchedLanes <= 1) { ++ return; ++ } ++ for (int i = matchingIndex; i - matchingIndex < nextSegment.getTurnType().getLanes().length; i++) { ++ lanes[i] |= nextSegment.getTurnType().getLanes()[i - matchingIndex] & TurnType.BIT_LANE_ALLOWED; ++ } ++ currentSegment.getTurnType().setLanes(lanes); ++ currentSegment.setTurnType(inferTurnFromLanes(currentSegment.getTurnType(), leftSide)); ++ } else if (!currentSegment.getTurnType().isTurnLanesRendering() && !nextSegment.getTurnType().isTurnLanesRendering()) { ++ int[] lanes = new int[currentSegment.getTurnType().getLanes().length]; ++ int matchingIndex = 0; ++ int expectedLanes = 0; ++ for (int i = 0; i < lanes.length; i++) { ++ lanes[i] = currentSegment.getTurnType().getLanes()[i] & ~TurnType.BIT_LANE_ALLOWED; ++ if (currentSegment.getTurnType().getPrimaryTurn(i) == TurnType.Turn.SLIGHT_LEFT) { ++ matchingIndex++; ++ } else if (currentSegment.getTurnType().getPrimaryTurn(i) == TurnType.Turn.STRAIGHT) { ++ expectedLanes++; ++ } ++ } ++ if (nextSegment.getTurnType().getLanes().length != expectedLanes) { ++ return; ++ } ++ for (int i = matchingIndex; i - matchingIndex < nextSegment.getTurnType().getLanes().length; i++) { ++ lanes[i] = nextSegment.getTurnType().getLanes()[i - matchingIndex]; ++ } ++ currentSegment.getTurnType().setLanes(lanes); ++ } + } + ++ private class OutboundRoad implements Comparable{ ++ private final double angle; ++ private final int lanes; ++ private final RouteSegmentResult road; ++ ++ public OutboundRoad(double angle, int lanes, RouteSegmentResult road) { ++ this.angle = angle; ++ this.lanes = lanes; ++ this.road = road; ++ } ++ ++ public double getAngle() { ++ return angle; ++ } ++ ++ public int getLanes() { ++ return lanes; ++ } ++ ++ public RouteSegmentResult getRoad() { ++ return road; ++ } ++ ++ public int compareTo(OutboundRoad other) { ++ if (other.angle - this.angle < 0) { ++ return 1; ++ } else if (other.angle - this.angle > 0) { ++ return -1; ++ } else { ++ return 0; ++ } ++ } ++ } + ++ private void getLanesInfo(RouteSegmentResult prevSegm, TurnType t, boolean leftSide) { ++ int lanes = prevSegm.getObject().getLanes(); ++ if(prevSegm.getObject().getOneway() == 0) { ++ if (prevSegm.isForwardDirection() ++ && prevSegm.getObject().getValue("lanes:forward") != null) { ++ lanes = Integer.parseInt(prevSegm.getObject().getValue("lanes:forward")); ++ } else if (!prevSegm.isForwardDirection() ++ && prevSegm.getObject().getValue("lanes:backward") != null) { ++ lanes = Integer.parseInt(prevSegm.getObject().getValue("lanes:backward")); ++ } else { ++ lanes = (lanes + 1) / 2; ++ } ++ } ++ if (lanes <= 0) { ++ return; ++ } ++ ++ String turnLanes; ++ if (prevSegm.getObject().getOneway() == 0) { ++ if (prevSegm.isForwardDirection()) { ++ turnLanes = prevSegm.getObject().getValue("turn:lanes:forward"); ++ } else { ++ turnLanes = prevSegm.getObject().getValue("turn:lanes:backward"); ++ } ++ } else { ++ turnLanes = prevSegm.getObject().getValue("turn:lanes"); ++ } ++ ++ if (turnLanes == null) { ++ return; ++ } ++ ++ String[] splitLaneOptions = turnLanes.split("\\|", -1); ++ if (splitLaneOptions.length != lanes) { ++ // Error in data or missing data, go to old behavior ++ return; ++ } ++ ++ int[] lanesArray = new int[lanes]; ++ ++ t.setLanes(lanesArray); ++ ++ assignTurns(splitLaneOptions, t); ++ ++ // In some cases (at least in the US), the rightmost lane might not have a right turn indicator, but is allowed. This section adds in that indicator. The same applies for where leftSide is true. ++ if (leftSide) { ++ if (t.getValue() == TurnType.TL ++ && !t.isTurnAllowed(0, TurnType.Turn.LEFT) ++ && !t.isTurnAllowed(0, TurnType.Turn.SLIGHT_LEFT) ++ && !t.isTurnAllowed(0, TurnType.Turn.SHARP_LEFT)) { ++ if (t.getPrimaryTurn(0) != TurnType.Turn.UNKNOWN && t.getSecondaryTurn(0) == TurnType.Turn.UNKNOWN) { ++ // This was just to make sure that there's no bad data and that there's an empty slot. ++ t.setSecondaryTurn(0, TurnType.Turn.LEFT); ++ lanesArray[0] |= TurnType.BIT_LANE_ALLOWED; ++ } ++ } ++ } else { ++ if (t.getValue() == TurnType.TR ++ && !t.isTurnAllowed(lanesArray.length - 1, TurnType.Turn.RIGHT) ++ && !t.isTurnAllowed(lanesArray.length - 1, TurnType.Turn.SLIGHT_RIGHT) ++ && !t.isTurnAllowed(lanesArray.length - 1, TurnType.Turn.SHARP_RIGHT)) { ++ if (t.getPrimaryTurn(lanesArray.length - 1) != TurnType.Turn.UNKNOWN && t.getSecondaryTurn(lanesArray.length - 1) == TurnType.Turn.UNKNOWN) { ++ // This was just to make sure that there's no bad data and that there's an empty slot. ++ t.setSecondaryTurn(lanesArray.length - 1, TurnType.Turn.RIGHT); ++ lanesArray[lanesArray.length - 1] |= TurnType.BIT_LANE_ALLOWED; ++ } ++ } ++ } ++ ++ // Manually set the allowed lanes. ++ for (int i = 0; i < lanesArray.length; i++) { ++ if (t.getPrimaryTurn(i).getValue() == t.getValue() || t.getSecondaryTurn(i).getValue() == t.getValue()) { ++ lanesArray[i] |= TurnType.BIT_LANE_ALLOWED; ++ } ++ } ++ } ++ ++ private TurnType attachTurnLanesData(boolean leftSide, RouteSegmentResult prevSegm, TurnType t) { ++ int lanes = prevSegm.getObject().getLanes(); ++ String turnLanes; ++ if (prevSegm.getObject().getOneway() == 0) { ++ if (prevSegm.isForwardDirection()) { ++ turnLanes = prevSegm.getObject().getValue("turn:lanes:forward"); ++ } else { ++ turnLanes = prevSegm.getObject().getValue("turn:lanes:backward"); ++ } ++ } else { ++ turnLanes = prevSegm.getObject().getValue("turn:lanes"); ++ } ++ ++ if (turnLanes == null) { ++ return t; ++ } ++ ++ String[] splitLaneOptions = turnLanes.split("\\|", -1); ++ if (splitLaneOptions.length != lanes) { ++ // Error in data or missing data, go to old behavior ++ return t; ++ } ++ ++ if (t.getLanes().length != lanes) { ++ // The turn:lanes don't easily match up to the target road. ++ ++ List sourceLanes = new ArrayList(); ++ ++ int outgoingLanesIndex = 0; ++ int sourceLanesIndex = 0; ++ ++ while (outgoingLanesIndex < t.getLanes().length && sourceLanesIndex < lanes) { ++ if (splitLaneOptions[sourceLanesIndex].contains(";")) { ++ int options = countOccurrences(splitLaneOptions[sourceLanesIndex], ';'); ++ if (options == 1) { ++ if (outgoingLanesIndex + 1 >= t.getLanes().length) { ++ // Likely an error in data ++ return t; ++ } ++ int usability = t.getLanes()[outgoingLanesIndex] | t.getLanes()[outgoingLanesIndex + 1]; ++ sourceLanes.add(usability); ++ outgoingLanesIndex += 2; ++ sourceLanesIndex++; ++ } else { ++ // Not supported ++ return t; ++ } ++ } else { ++ sourceLanes.add(t.getLanes()[outgoingLanesIndex]); ++ outgoingLanesIndex++; ++ sourceLanesIndex++; ++ } ++ } ++ ++ int[] newLanes = new int[sourceLanes.size()]; ++ ++ for (int i = 0; i < sourceLanes.size(); i++) { ++ newLanes[i] = sourceLanes.get(i); ++ } ++ ++ t.setLanes(newLanes); ++ } ++ ++ assignTurns(splitLaneOptions, t); ++ ++ t = inferTurnFromLanes(t, leftSide); ++ ++ return t; ++ } ++ ++ private void assignTurns(String[] splitLaneOptions, TurnType t) { ++ for (int i = 0; i < splitLaneOptions.length; i++) { ++ String[] laneOptions = splitLaneOptions[i].split(";"); ++ ++ boolean primaryTurnSet = false; ++ ++ for (int j = 0; j < laneOptions.length; j++) { ++ if (laneOptions[j].equals("none") || laneOptions[j].equals("through")) { ++ TurnType.Turn turn = TurnType.Turn.STRAIGHT; ++ if (!primaryTurnSet) { ++ t.setPrimaryTurn(i, turn); ++ primaryTurnSet = true; ++ } else { ++ t.setSecondaryTurn(i, turn); ++ continue; ++ } ++ } else if (laneOptions[j].equals("slight_right")) { ++ TurnType.Turn turn = TurnType.Turn.SLIGHT_RIGHT; ++ if (!primaryTurnSet) { ++ t.setPrimaryTurn(i, turn); ++ primaryTurnSet = true; ++ } else { ++ t.setSecondaryTurn(i, turn); ++ continue; ++ } ++ } else if (laneOptions[j].equals("slight_left")) { ++ TurnType.Turn turn = TurnType.Turn.SLIGHT_LEFT; ++ if (!primaryTurnSet) { ++ t.setPrimaryTurn(i, turn); ++ primaryTurnSet = true; ++ } else { ++ t.setSecondaryTurn(i, turn); ++ continue; ++ } ++ } else if (laneOptions[j].equals("right")) { ++ TurnType.Turn turn = TurnType.Turn.RIGHT; ++ if (!primaryTurnSet) { ++ t.setPrimaryTurn(i, turn); ++ primaryTurnSet = true; ++ } else { ++ t.setSecondaryTurn(i, turn); ++ continue; ++ } ++ } else if (laneOptions[j].equals("left")) { ++ TurnType.Turn turn = TurnType.Turn.LEFT; ++ if (!primaryTurnSet) { ++ t.setPrimaryTurn(i, turn); ++ primaryTurnSet = true; ++ } else { ++ t.setSecondaryTurn(i, turn); ++ continue; ++ } ++ } else if (laneOptions[j].equals("sharp_right")) { ++ TurnType.Turn turn = TurnType.Turn.SHARP_RIGHT; ++ if (!primaryTurnSet) { ++ t.setPrimaryTurn(i, turn); ++ primaryTurnSet = true; ++ } else { ++ t.setSecondaryTurn(i, turn); ++ continue; ++ } ++ } else if (laneOptions[j].equals("sharp_left")) { ++ TurnType.Turn turn = TurnType.Turn.SHARP_LEFT; ++ if (!primaryTurnSet) { ++ t.setPrimaryTurn(i, turn); ++ primaryTurnSet = true; ++ } else { ++ t.setSecondaryTurn(i, turn); ++ continue; ++ } ++ } else if (laneOptions[j].equals("reverse")) { ++ TurnType.Turn turn = TurnType.Turn.UTURN; ++ if (!primaryTurnSet) { ++ t.setPrimaryTurn(i, turn); ++ primaryTurnSet = true; ++ } else { ++ t.setSecondaryTurn(i, turn); ++ continue; ++ } ++ } ++ } ++ } ++ ++ t.setTurnLanesRendering(true); ++ } ++ ++ private TurnType inferTurnFromLanes(TurnType t, boolean leftSide) { ++ List possibleTurns = new ArrayList(); ++ boolean filled = false; ++ for (int i = 0; i < t.getLanes().length; i++) { ++ if ((t.getLanes()[i] & TurnType.BIT_LANE_ALLOWED) == TurnType.BIT_LANE_ALLOWED) { ++ if (!filled) { ++ filled = true; ++ possibleTurns.add(t.getPrimaryTurn(i)); ++ if (t.getSecondaryTurn(i) != TurnType.Turn.UNKNOWN) { ++ possibleTurns.add(t.getSecondaryTurn(i)); ++ } ++ } else { ++ List laneTurns = new ArrayList(); ++ laneTurns.add(t.getPrimaryTurn(i)); ++ laneTurns.add(t.getSecondaryTurn(i)); ++ possibleTurns.retainAll(laneTurns); ++ } ++ } ++ } ++ ++ if (possibleTurns.size() > 1) { ++ for (int i = 0; i < t.getLanes().length; i++) { ++ if ((t.getLanes()[i] & TurnType.BIT_LANE_ALLOWED) == 0 && !possibleTurns.isEmpty()) { ++ List notLaneTurns = new ArrayList(); ++ notLaneTurns.add(t.getPrimaryTurn(i)); ++ notLaneTurns.add(t.getSecondaryTurn(i)); ++ possibleTurns.removeAll(notLaneTurns); ++ } ++ } ++ } ++ ++ // removing duplicates ++ if (new HashSet(possibleTurns).size() == 1) { ++ TurnType derivedTurnType = TurnType.valueOf(possibleTurns.get(0).getValue(), false); ++ derivedTurnType.setLanes(t.getLanes()); ++ derivedTurnType.setSkipToSpeak(t.isSkipToSpeak()); ++ derivedTurnType.setTurnLanesRendering(t.isTurnLanesRendering()); ++ t = derivedTurnType; ++ } ++ ++ return t; ++ } ++ ++ private int countOccurrences(String haystack, char needle) { ++ int count = 0; ++ for (int i = 0; i < haystack.length(); i++) { ++ if (haystack.charAt(i) == needle) { ++ count++; ++ } ++ } ++ return count; ++ } ++ \ No newline at end of file