changeset 8:26c08ff926a3

added warning about auto-generated files
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Oct 2023 11:21:20 +0200
parents b14ed1ea3a23
children 88c1614fb3dc
files CodeGeneration/CppNativeSDK.mustache CodeGeneration/JavaClass.mustache CodeGeneration/JavaEnumeration.mustache CodeGeneration/JavaFunctions.mustache CodeGeneration/JavaNativeSDK.mustache JavaSDK/be/uclouvain/orthanc/ChangeType.java JavaSDK/be/uclouvain/orthanc/CompressionType.java JavaSDK/be/uclouvain/orthanc/ConstraintType.java JavaSDK/be/uclouvain/orthanc/ContentType.java JavaSDK/be/uclouvain/orthanc/CreateDicomFlags.java JavaSDK/be/uclouvain/orthanc/DicomInstance.java JavaSDK/be/uclouvain/orthanc/DicomToJsonFlags.java JavaSDK/be/uclouvain/orthanc/DicomToJsonFormat.java JavaSDK/be/uclouvain/orthanc/DicomWebBinaryMode.java JavaSDK/be/uclouvain/orthanc/DicomWebNode.java JavaSDK/be/uclouvain/orthanc/ErrorCode.java JavaSDK/be/uclouvain/orthanc/FindAnswers.java JavaSDK/be/uclouvain/orthanc/FindMatcher.java JavaSDK/be/uclouvain/orthanc/FindQuery.java JavaSDK/be/uclouvain/orthanc/Functions.java JavaSDK/be/uclouvain/orthanc/HttpMethod.java JavaSDK/be/uclouvain/orthanc/IdentifierConstraint.java JavaSDK/be/uclouvain/orthanc/Image.java JavaSDK/be/uclouvain/orthanc/ImageFormat.java JavaSDK/be/uclouvain/orthanc/InstanceOrigin.java JavaSDK/be/uclouvain/orthanc/Job.java JavaSDK/be/uclouvain/orthanc/JobStepStatus.java JavaSDK/be/uclouvain/orthanc/JobStopReason.java JavaSDK/be/uclouvain/orthanc/MetricsType.java JavaSDK/be/uclouvain/orthanc/NativeSDK.java JavaSDK/be/uclouvain/orthanc/Peers.java JavaSDK/be/uclouvain/orthanc/PixelFormat.java JavaSDK/be/uclouvain/orthanc/ReceivedInstanceAction.java JavaSDK/be/uclouvain/orthanc/ResourceType.java JavaSDK/be/uclouvain/orthanc/RestOutput.java JavaSDK/be/uclouvain/orthanc/ServerChunkedRequestReader.java JavaSDK/be/uclouvain/orthanc/StorageArea.java JavaSDK/be/uclouvain/orthanc/StorageCommitmentFailureReason.java JavaSDK/be/uclouvain/orthanc/ValueRepresentation.java JavaSDK/be/uclouvain/orthanc/WorklistAnswers.java JavaSDK/be/uclouvain/orthanc/WorklistQuery.java Plugin/CMakeLists.txt Plugin/NativeSDK.cpp Plugin/Plugin.cpp
diffstat 44 files changed, 113 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/CodeGeneration/CppNativeSDK.mustache	Thu Oct 19 11:14:45 2023 +0200
+++ b/CodeGeneration/CppNativeSDK.mustache	Thu Oct 19 11:21:20 2023 +0200
@@ -22,6 +22,20 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
+#include "JavaBytes.h"
+#include "JavaEnvironment.h"
+#include "JavaString.h"
+#include "OrthancBytes.h"
+#include "OrthancString.h"
+
+#include <orthanc/OrthancCPlugin.h>
+
+#include <stdexcept>
+
+extern OrthancPluginContext* context_;
+
 {{#functions}}
 
 JNIEXPORT {{return.c_type}} JNI_{{c_function}}(JNIEnv* env, jobject sdkObject{{#class_name}}, jlong self{{/class_name}}{{#args}}, {{c_type}} {{name}}{{/args}})
@@ -159,7 +173,7 @@
 
 {{/functions}}
 
-static void JNI_LoadNatives(std::vector<JNINativeMethod>& methods)
+void JNI_LoadNatives(std::vector<JNINativeMethod>& methods)
 {
   methods.clear();
 {{#functions}}
--- a/CodeGeneration/JavaClass.mustache	Thu Oct 19 11:14:45 2023 +0200
+++ b/CodeGeneration/JavaClass.mustache	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 {{#has_documentation}}
 /**
  * {{documentation}}
--- a/CodeGeneration/JavaEnumeration.mustache	Thu Oct 19 11:14:45 2023 +0200
+++ b/CodeGeneration/JavaEnumeration.mustache	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 {{#has_documentation}}
 /**
 {{#documentation}}
--- a/CodeGeneration/JavaFunctions.mustache	Thu Oct 19 11:14:45 2023 +0200
+++ b/CodeGeneration/JavaFunctions.mustache	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Wrapper around the global functions provided by the Orthanc SDK.
  **/
--- a/CodeGeneration/JavaNativeSDK.mustache	Thu Oct 19 11:14:45 2023 +0200
+++ b/CodeGeneration/JavaNativeSDK.mustache	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 class NativeSDK {
     {{#functions}}
     public static native {{return.java_type}} {{c_function}}({{#class_name}}long self{{#has_args}},{{/has_args}} {{/class_name}}{{#args}}{{java_type}} {{name}}{{^last}}, {{/last}}{{/args}});
--- a/JavaSDK/be/uclouvain/orthanc/ChangeType.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/ChangeType.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The supported types of changes that can be signaled to the change callback.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/CompressionType.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/CompressionType.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The compression algorithms that are supported by the Orthanc core.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/ConstraintType.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/ConstraintType.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The constraints on the tags (main DICOM tags and identifier tags) that must be
  * supported by the database plugins.
--- a/JavaSDK/be/uclouvain/orthanc/ContentType.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/ContentType.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The content types that are supported by Orthanc plugins.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/CreateDicomFlags.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/CreateDicomFlags.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Flags to the creation of a DICOM file.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/DicomInstance.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/DicomInstance.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * DICOM instance managed by the Orthanc core
  **/
--- a/JavaSDK/be/uclouvain/orthanc/DicomToJsonFlags.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/DicomToJsonFlags.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Flags to customize a DICOM-to-JSON conversion. By default, binary tags are
  * formatted using Data URI scheme.
--- a/JavaSDK/be/uclouvain/orthanc/DicomToJsonFormat.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/DicomToJsonFormat.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The possible output formats for a DICOM-to-JSON conversion.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/DicomWebBinaryMode.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/DicomWebBinaryMode.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The available modes to export a binary DICOM tag into a DICOMweb JSON or XML
  * document.
--- a/JavaSDK/be/uclouvain/orthanc/DicomWebNode.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/DicomWebNode.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Node visited by DICOMweb conversion
  **/
--- a/JavaSDK/be/uclouvain/orthanc/ErrorCode.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/ErrorCode.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The various error codes that can be returned by the Orthanc core.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/FindAnswers.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/FindAnswers.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Answers to a DICOM C-FIND query
  **/
--- a/JavaSDK/be/uclouvain/orthanc/FindMatcher.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/FindMatcher.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Matcher for DICOM C-FIND query
  **/
--- a/JavaSDK/be/uclouvain/orthanc/FindQuery.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/FindQuery.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * DICOM C-FIND query
  **/
--- a/JavaSDK/be/uclouvain/orthanc/Functions.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/Functions.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Wrapper around the global functions provided by the Orthanc SDK.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/HttpMethod.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/HttpMethod.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The various HTTP methods for a REST call.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/IdentifierConstraint.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/IdentifierConstraint.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The constraints on the DICOM identifiers that must be supported by the database
  * plugins.
--- a/JavaSDK/be/uclouvain/orthanc/Image.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/Image.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * 2D image managed by the Orthanc core
  **/
--- a/JavaSDK/be/uclouvain/orthanc/ImageFormat.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/ImageFormat.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The image formats that are supported by the Orthanc core.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/InstanceOrigin.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/InstanceOrigin.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The origin of a DICOM instance that has been received by Orthanc.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/Job.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/Job.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Orthanc job
  **/
--- a/JavaSDK/be/uclouvain/orthanc/JobStepStatus.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/JobStepStatus.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The possible status for one single step of a job.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/JobStopReason.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/JobStopReason.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Explains why the job should stop and release the resources it has allocated.
  * This is especially important to disambiguate between the "paused" condition and
--- a/JavaSDK/be/uclouvain/orthanc/MetricsType.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/MetricsType.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The available types of metrics.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/NativeSDK.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/NativeSDK.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 class NativeSDK {
     public static native int OrthancPluginCheckVersionAdvanced(int arg0, int arg1, int arg2);
     public static native int OrthancPluginCheckVersion();
--- a/JavaSDK/be/uclouvain/orthanc/Peers.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/Peers.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Orthanc peer
  **/
--- a/JavaSDK/be/uclouvain/orthanc/PixelFormat.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/PixelFormat.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The memory layout of the pixels of an image.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/ReceivedInstanceAction.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/ReceivedInstanceAction.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The action to be taken after ReceivedInstanceCallback is triggered
  **/
--- a/JavaSDK/be/uclouvain/orthanc/ResourceType.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/ResourceType.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The supported types of DICOM resources.
  **/
--- a/JavaSDK/be/uclouvain/orthanc/RestOutput.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/RestOutput.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Output for a call to the REST API of Orthanc
  **/
--- a/JavaSDK/be/uclouvain/orthanc/ServerChunkedRequestReader.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/ServerChunkedRequestReader.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Read for a chunked HTTP request
  **/
--- a/JavaSDK/be/uclouvain/orthanc/StorageArea.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/StorageArea.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Storage area plugin
  **/
--- a/JavaSDK/be/uclouvain/orthanc/StorageCommitmentFailureReason.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/StorageCommitmentFailureReason.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The available values for the Failure Reason (0008,1197) during storage
  * commitment.
--- a/JavaSDK/be/uclouvain/orthanc/ValueRepresentation.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/ValueRepresentation.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * The value representations present in the DICOM standard (version 2013).
  **/
--- a/JavaSDK/be/uclouvain/orthanc/WorklistAnswers.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/WorklistAnswers.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * Answers to a DICOM C-FIND worklist query
  **/
--- a/JavaSDK/be/uclouvain/orthanc/WorklistQuery.java	Thu Oct 19 11:14:45 2023 +0200
+++ b/JavaSDK/be/uclouvain/orthanc/WorklistQuery.java	Thu Oct 19 11:21:20 2023 +0200
@@ -24,6 +24,8 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
 /**
  * DICOM C-FIND worklist query
  **/
--- a/Plugin/CMakeLists.txt	Thu Oct 19 11:14:45 2023 +0200
+++ b/Plugin/CMakeLists.txt	Thu Oct 19 11:21:20 2023 +0200
@@ -116,6 +116,7 @@
   JavaString.cpp
   JavaVirtualMachine.cpp
   Mutex.cpp
+  NativeSDK.cpp
   OrthancBytes.cpp
   OrthancString.cpp
   Plugin.cpp
--- a/Plugin/NativeSDK.cpp	Thu Oct 19 11:14:45 2023 +0200
+++ b/Plugin/NativeSDK.cpp	Thu Oct 19 11:21:20 2023 +0200
@@ -22,6 +22,20 @@
  **/
 
 
+// WARNING: Auto-generated file. Do not modify it by hand.
+
+#include "JavaBytes.h"
+#include "JavaEnvironment.h"
+#include "JavaString.h"
+#include "OrthancBytes.h"
+#include "OrthancString.h"
+
+#include <orthanc/OrthancCPlugin.h>
+
+#include <stdexcept>
+
+extern OrthancPluginContext* context_;
+
 
 JNIEXPORT jint JNI_OrthancPluginCheckVersionAdvanced(JNIEnv* env, jobject sdkObject, jint arg0, jint arg1, jint arg2)
 {
@@ -3607,7 +3621,7 @@
 }
 
 
-static void JNI_LoadNatives(std::vector<JNINativeMethod>& methods)
+void JNI_LoadNatives(std::vector<JNINativeMethod>& methods)
 {
   methods.clear();
 
--- a/Plugin/Plugin.cpp	Thu Oct 19 11:14:45 2023 +0200
+++ b/Plugin/Plugin.cpp	Thu Oct 19 11:21:20 2023 +0200
@@ -52,8 +52,8 @@
 static std::unique_ptr<JavaVirtualMachine> java_;
 
 
-#include "NativeSDK.cpp"
-
+// This function is implemented in the "NativeSDK.cpp" auto-generated file
+extern void JNI_LoadNatives(std::vector<JNINativeMethod>& methods);
 
 
 #define MAX_REST_CALLBACKS  10