From 16f205d886407d087fbaa5d00ff31e371f97cb51 Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Wed, 13 Apr 2011 21:01:39 +0000 Subject: re-organization of openjpeg directories hierarchy : step 1 --- .../JavaOpenJPEG/java-jni/include/win32/jawt_md.h | 41 ++++++++++++++++++++++ .../JavaOpenJPEG/java-jni/include/win32/jni_md.h | 19 ++++++++++ 2 files changed, 60 insertions(+) create mode 100644 applications/JavaOpenJPEG/java-jni/include/win32/jawt_md.h create mode 100644 applications/JavaOpenJPEG/java-jni/include/win32/jni_md.h (limited to 'applications/JavaOpenJPEG/java-jni/include/win32') diff --git a/applications/JavaOpenJPEG/java-jni/include/win32/jawt_md.h b/applications/JavaOpenJPEG/java-jni/include/win32/jawt_md.h new file mode 100644 index 00000000..5df3e469 --- /dev/null +++ b/applications/JavaOpenJPEG/java-jni/include/win32/jawt_md.h @@ -0,0 +1,41 @@ +/* + * @(#)jawt_md.h 1.7 03/12/19 + * + * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + */ + +#ifndef _JAVASOFT_JAWT_MD_H_ +#define _JAVASOFT_JAWT_MD_H_ + +#include +#include "jawt.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Win32-specific declarations for AWT native interface. + * See notes in jawt.h for an example of use. + */ +typedef struct jawt_Win32DrawingSurfaceInfo { + /* Native window, DDB, or DIB handle */ + union { + HWND hwnd; + HBITMAP hbitmap; + void* pbits; + }; + /* + * This HDC should always be used instead of the HDC returned from + * BeginPaint() or any calls to GetDC(). + */ + HDC hdc; + HPALETTE hpalette; +} JAWT_Win32DrawingSurfaceInfo; + +#ifdef __cplusplus +} +#endif + +#endif /* !_JAVASOFT_JAWT_MD_H_ */ diff --git a/applications/JavaOpenJPEG/java-jni/include/win32/jni_md.h b/applications/JavaOpenJPEG/java-jni/include/win32/jni_md.h new file mode 100644 index 00000000..fdc79a07 --- /dev/null +++ b/applications/JavaOpenJPEG/java-jni/include/win32/jni_md.h @@ -0,0 +1,19 @@ +/* + * @(#)jni_md.h 1.14 03/12/19 + * + * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + */ + +#ifndef _JAVASOFT_JNI_MD_H_ +#define _JAVASOFT_JNI_MD_H_ + +#define JNIEXPORT __declspec(dllexport) +#define JNIIMPORT __declspec(dllimport) +#define JNICALL __stdcall + +typedef long jint; +typedef __int64 jlong; +typedef signed char jbyte; + +#endif /* !_JAVASOFT_JNI_MD_H_ */ -- cgit v1.2.3