diff options
author | Sven Gothel <[email protected]> | 2012-03-26 20:49:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-03-26 20:49:04 +0200 |
commit | 03fef79a232af65a586cbd5f837d6a602e31be66 (patch) | |
tree | 5ef328d63b0e372a1cabcfb99ff42eba3f8a8014 | |
parent | e54146c48bf46f41f973cdc2b5496567e921d5d7 (diff) |
Adapt to gluegen commit 1c03dfd6d1939a46018583419956e350e531f4fe
-rw-r--r-- | src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java | 15 |
1 files changed, 14 insertions, 1 deletions
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<String> getGlueLibNames() { return glueLibNames; } + @Override public List<List<String>> getToolLibNames() { List<List<String>> libNamesList = new ArrayList<List<String>>(); @@ -92,20 +98,27 @@ public class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInfo { return libNamesList; } + @Override public final List<String> getToolGetProcAddressFuncNameList() { List<String> res = new ArrayList<String>(); 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(); + } } |