From c75785dcc4758b3d865c5ccf6677389ab112d2fb Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 31 Aug 2011 03:25:48 +0200 Subject: DynamicLibraryBundle*: Use generics for better spec - following gluegen commit cfb9e118e020707842e6b5136b07f5ab149540c1 --- .../cgl/MacOSXCGLDynamicLibraryBundleInfo.java | 27 ++++++++-------------- 1 file changed, 9 insertions(+), 18 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/macosx') diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDynamicLibraryBundleInfo.java index e81a9f4c5..a5d3579bc 100644 --- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDynamicLibraryBundleInfo.java +++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDynamicLibraryBundleInfo.java @@ -29,32 +29,23 @@ package jogamp.opengl.macosx.cgl; import jogamp.opengl.*; -import com.jogamp.common.os.DynamicLookupHelper; -import com.jogamp.common.os.NativeLibrary; -import com.jogamp.common.os.Platform; import java.util.*; -import java.security.*; -import javax.media.opengl.GLException; public class MacOSXCGLDynamicLibraryBundleInfo extends DesktopGLDynamicLibraryBundleInfo { protected MacOSXCGLDynamicLibraryBundleInfo() { super(); } - public List getToolLibNames() { - List/**/ libNamesList = new ArrayList(); - - List/**/ glesLibNames = new ArrayList(); - - glesLibNames.add("/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"); - glesLibNames.add("GL"); - - libNamesList.add(glesLibNames); - - return libNamesList; + public List> getToolLibNames() { + final List> libsList = new ArrayList>(); + final List libsGL = new ArrayList(); + libsGL.add("/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"); + libsGL.add("GL"); + libsList.add(libsGL); + return libsList; } - - public final List getToolGetProcAddressFuncNameList() { + + public final List getToolGetProcAddressFuncNameList() { return null; /** OSX manual says: NSImage use is discouraged List res = new ArrayList(); -- cgit v1.2.3