summaryrefslogtreecommitdiffstats
path: root/make/config/nativewindow/jawt-common.cfg
blob: adb6ce49b9ec146b32f89e0c3b8f695a5994afa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Common JAWT config file
Style AllStatic
Package jogamp.nativewindow.jawt
JavaClass JAWTFactory
JavaOutputDir gensrc/classes
#NativeOutputDir gensrc/native/<PLATFORM>

HierarchicalNativeOutput false

Opaque boolean jboolean
Opaque long struct jawt_DrawingSurface*

ReturnValueCapacity JAWT.GetDrawingSurface sizeof(JAWT_DrawingSurface)
ReturnValueCapacity JAWT_DrawingSurface.GetDrawingSurfaceInfo sizeof(JAWT_DrawingSurfaceInfo)

IgnoreField JAWT GetComponent
IgnoreField JAWT_DrawingSurface target
IgnoreField JAWT_DrawingSurfaceInfo platformInfo

IncludeAs CustomJavaCode JAWT jawt-CustomJavaCode.java

CustomCCode #include <jawt.h>

import java.security.*
import jogamp.nativewindow.jawt.*
import com.jogamp.common.os.Platform
import com.jogamp.common.util.VersionNumber
Import com.jogamp.common.util.SecurityUtil

IncludeAs CustomJavaCode JAWT_DrawingSurfaceInfo jawt-DrawingSurfaceInfo-CustomJavaCode.java