aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx/jawt_md.h
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/macosx/jawt_md.h')
-rw-r--r--make/stub_includes/macosx/jawt_md.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/make/stub_includes/macosx/jawt_md.h b/make/stub_includes/macosx/jawt_md.h
new file mode 100644
index 000000000..a9e960b1c
--- /dev/null
+++ b/make/stub_includes/macosx/jawt_md.h
@@ -0,0 +1,37 @@
+//
+// jawt_md.m
+//
+// Copyright (c) 2002 Apple computer Inc. All rights reserved.
+//
+
+#ifndef _JAVASOFT_JAWT_MD_H_
+#define _JAVASOFT_JAWT_MD_H_
+
+#include "jawt.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct JAWT_MacOSXDrawingSurfaceInfo
+{
+ int cgWindowID; // CGSConnectionID
+ int cgConnectionID; // CGSWindowID
+ int cgContextRef; // CGContextRef
+
+ int cocoaWindowRef; // NSWindow*
+
+ int carbonWindowRef; // WindowRef (HIToolbox/MacWindows.h)
+
+ int windowX; // int
+ int windowY; // int
+ int windowWidth; // int
+ int windowHeight; // int
+}
+JAWT_MacOSXDrawingSurfaceInfo;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* !_JAVASOFT_JAWT_MD_H_ */ \ No newline at end of file