Encapsulated LIBRARY_NAME

This commit is contained in:
Caspian Rychlik-Prince 2002-08-19 14:01:23 +00:00
parent c6c26e568d
commit 72fedde744
10 changed files with 15 additions and 16 deletions

View file

@ -79,7 +79,7 @@ public final class Sys {
}
/** The native library name */
public static String LIBRARY_NAME;
private static String LIBRARY_NAME;
static {
try {
@ -91,6 +91,13 @@ public final class Sys {
LIBRARY_NAME = "lwjgl_d";
}
}
/**
* @return the name of the native library to load
*/
public static String getLibraryName() {
return LIBRARY_NAME;
}
/**
* No constructor for Sys.