java: disable highgui wrapped code

pull/10495/head
Alexander Alekhin 7 years ago
parent a0d9d6db5b
commit 1237faef80
  1. 0
      modules/highgui/misc/java/filelist
  2. 31
      modules/highgui/misc/java/gen_dict.json
  3. 5
      modules/java/generator/gen_java.py

@ -1,31 +0,0 @@
{
"const_ignore_list": [
"EVENT_.*",
"WINDOW_AUTOSIZE",
"CV_WND_PROP_",
"CV_WINDOW_",
"CV_EVENT_",
"CV_GUI_",
"CV_PUSH_BUTTON",
"CV_CHECKBOX",
"CV_RADIOBOX",
"WINDOW_.+",
"WND_PROP_.+"
],
"ManualFuncs" : {
"Highgui" : {
"namedWindow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"destroyWindow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"destroyAllWindows" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"startWindowThread" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"setWindowProperty" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"getWindowProperty" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"getTrackbarPos" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"setTrackbarPos" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"imshow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"waitKey" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"moveWindow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
"resizeWindow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] }
}
}
}

@ -1151,7 +1151,10 @@ if __name__ == "__main__":
if os.path.exists(java_test_files_dir):
copy_java_files(java_test_files_dir, java_test_base_path)
generator.gen(srcfiles, module, dstdir, jni_path, java_path, common_headers)
if len(srcfiles) > 0:
generator.gen(srcfiles, module, dstdir, jni_path, java_path, common_headers)
else:
logging.info("No generated code for module: %s", module)
generator.finalize(jni_path)
print('Generated files: %d (updated %d)' % (total_files, updated_files))

Loading…
Cancel
Save