comparison Plugin/NativeSDK.cpp @ 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 c8f19e93ff99
children 15dc698243ac
comparison
equal deleted inserted replaced
7:b14ed1ea3a23 8:26c08ff926a3
20 * You should have received a copy of the GNU General Public License 20 * You should have received a copy of the GNU General Public License
21 * along with this program. If not, see <http://www.gnu.org/licenses/>. 21 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 **/ 22 **/
23 23
24 24
25 // WARNING: Auto-generated file. Do not modify it by hand.
26
27 #include "JavaBytes.h"
28 #include "JavaEnvironment.h"
29 #include "JavaString.h"
30 #include "OrthancBytes.h"
31 #include "OrthancString.h"
32
33 #include <orthanc/OrthancCPlugin.h>
34
35 #include <stdexcept>
36
37 extern OrthancPluginContext* context_;
38
25 39
26 JNIEXPORT jint JNI_OrthancPluginCheckVersionAdvanced(JNIEnv* env, jobject sdkObject, jint arg0, jint arg1, jint arg2) 40 JNIEXPORT jint JNI_OrthancPluginCheckVersionAdvanced(JNIEnv* env, jobject sdkObject, jint arg0, jint arg1, jint arg2)
27 { 41 {
28 try 42 try
29 { 43 {
3605 return NULL; 3619 return NULL;
3606 } 3620 }
3607 } 3621 }
3608 3622
3609 3623
3610 static void JNI_LoadNatives(std::vector<JNINativeMethod>& methods) 3624 void JNI_LoadNatives(std::vector<JNINativeMethod>& methods)
3611 { 3625 {
3612 methods.clear(); 3626 methods.clear();
3613 3627
3614 methods.push_back((JNINativeMethod) { 3628 methods.push_back((JNINativeMethod) {
3615 const_cast<char*>("OrthancPluginCheckVersionAdvanced"), 3629 const_cast<char*>("OrthancPluginCheckVersionAdvanced"),