From 03fef79a232af65a586cbd5f837d6a602e31be66 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 26 Mar 2012 20:49:04 +0200 Subject: Adapt to gluegen commit 1c03dfd6d1939a46018583419956e350e531f4fe --- src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java b/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java index e7791ba..c060047 100644 --- a/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java +++ b/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java @@ -29,8 +29,10 @@ package jogamp.openal; import com.jogamp.common.jvm.JNILibLoaderBase; +import com.jogamp.common.os.DynamicLibraryBundle; import com.jogamp.common.os.DynamicLibraryBundleInfo; import com.jogamp.common.os.Platform; +import com.jogamp.common.util.RunnableExecutor; import com.jogamp.common.util.cache.TempJarCache; import java.security.AccessController; @@ -59,15 +61,19 @@ public class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInfo { } /** FIXME: not default, maybe local ? **/ + @Override public boolean shallLinkGlobal() { return true; } /** default **/ + @Override public boolean shallLookupGlobal() { return false; } - + + @Override public final List getGlueLibNames() { return glueLibNames; } + @Override public List> getToolLibNames() { List> libNamesList = new ArrayList>(); @@ -92,20 +98,27 @@ public class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInfo { return libNamesList; } + @Override public final List getToolGetProcAddressFuncNameList() { List res = new ArrayList(); res.add("alGetProcAddress"); return res; } + @Override public final long toolGetProcAddress(long toolGetProcAddressHandle, String funcName) { return ALImpl.alGetProcAddress(toolGetProcAddressHandle, funcName); } + @Override public boolean useToolGetProcAdressFirst(String funcName) { return true; } + @Override + public RunnableExecutor getLibLoaderExecutor() { + return DynamicLibraryBundle.getDefaultRunnableExecutor(); + } } -- cgit v1.2.3