summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-24 02:41:27 +0200
committerSven Gothel <[email protected]>2013-10-24 02:41:27 +0200
commit8ee5992c0c03c702817c286f4a860f349d6c465a (patch)
tree636d60071d0c28a9c59cc440899eda821b0f0604
parentfec9712b151ad31b053fe700cb0f809b9715407c (diff)
PlatformPropsImpl: Add static class OSXVersion w/ selected OSX VersionNumbers
-rw-r--r--src/java/jogamp/common/os/PlatformPropsImpl.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/java/jogamp/common/os/PlatformPropsImpl.java b/src/java/jogamp/common/os/PlatformPropsImpl.java
index 503bed3..2f51b13 100644
--- a/src/java/jogamp/common/os/PlatformPropsImpl.java
+++ b/src/java/jogamp/common/os/PlatformPropsImpl.java
@@ -38,11 +38,21 @@ import com.jogamp.common.util.VersionNumber;
public abstract class PlatformPropsImpl {
static final boolean DEBUG = Debug.debug("Platform");
+ /** Selected {@link Platform.OSType#MACOS} {@link VersionNumber}s. */
+ public static class OSXVersion {
+ /** OSX Tiger, i.e. 10.4.0 */
+ public static final VersionNumber Tiger = new VersionNumber(10,4,0);
+ /** OSX Lion, i.e. 10.7.0 */
+ public static final VersionNumber Lion = new VersionNumber(10,7,0);
+ /** OSX Mavericks, i.e. 10.9.0 */
+ public static final VersionNumber Mavericks = new VersionNumber(10,9,0);
+ }
+
//
// static initialization order:
//
- /** Version 1.6. As a JVM version, it enables certain JVM 1. features. */
+ /** Version 1.6. As a JVM version, it enables certain JVM 1.6 features. */
public static final VersionNumber Version16;
/** Version 1.7. As a JVM version, it enables certain JVM 1.7 features. */
public static final VersionNumber Version17;