aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/nativewindow/jawt-common.cfg
blob: 55f3f368bd56649ad7df8cc651f575e6b8519ece (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
# 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 GetDrawingSurface sizeof(JAWT_DrawingSurface)
ReturnValueCapacity GetDrawingSurfaceInfo sizeof(JAWT_DrawingSurfaceInfo)

IgnoreField JAWT GetComponent
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

IncludeAs CustomJavaCode JAWT_DrawingSurfaceInfo jawt-DrawingSurfaceInfo-CustomJavaCode.java