diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2008-01-11 09:33:45 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2008-01-11 09:33:45 +0000 |
| commit | ea6d8f5aaf9f48bcf2cf8c37a7b72f804c68889f (patch) | |
| tree | f4eb954f04efd531652fcf0892a1f1d4252bc0cc /JavaOpenJPEG/java-jni/include/win32 | |
| parent | 4051e87d06a22a1372c54f3a26a97d0d40222f6e (diff) | |
Added missing files to JavaOpenJPEG project (files from Patrick Piscaglia)
Diffstat (limited to 'JavaOpenJPEG/java-jni/include/win32')
| -rw-r--r-- | JavaOpenJPEG/java-jni/include/win32/jawt_md.h | 41 | ||||
| -rw-r--r-- | JavaOpenJPEG/java-jni/include/win32/jni_md.h | 19 |
2 files changed, 60 insertions, 0 deletions
diff --git a/JavaOpenJPEG/java-jni/include/win32/jawt_md.h b/JavaOpenJPEG/java-jni/include/win32/jawt_md.h new file mode 100644 index 00000000..5df3e469 --- /dev/null +++ b/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 <windows.h>
+#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/JavaOpenJPEG/java-jni/include/win32/jni_md.h b/JavaOpenJPEG/java-jni/include/win32/jni_md.h new file mode 100644 index 00000000..fdc79a07 --- /dev/null +++ b/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_ */
|
