added getVersion like lwjgl

This commit is contained in:
Brian Matzon 2006-12-12 21:29:08 +00:00
parent a211f088ac
commit dd5ac45a66
1 changed files with 8 additions and 1 deletions

View File

@ -193,7 +193,7 @@ public class FMOD {
private static String JNI_LIBRARY_NAME = "lwjgl-fmod3"; private static String JNI_LIBRARY_NAME = "lwjgl-fmod3";
/** Version of FMOD */ /** Version of FMOD */
public static final String VERSION = "1.0beta4"; private static final String VERSION = "1.0beta4";
/** Current version of the JNI library */ /** Current version of the JNI library */
static final int JNI_VERSION = 1; static final int JNI_VERSION = 1;
@ -242,6 +242,13 @@ public class FMOD {
}); });
} }
/**
* Return the version of the core LWJGL libraries as a String.
*/
public static String getVersion() {
return VERSION;
}
/** /**
* Return the version of the native library * Return the version of the native library
*/ */