modules/media/src/main/java/com/sun/media/jfxmediaimpl/platform/Platform.java

Print this page
rev 7591 : RT-38074: [macosx] Separate QTKit platform code from core media code so it can be removed for MAS
Reviewed-by:

*** 1,7 **** /* ! * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 39,57 **** */ public static Platform getPlatformInstance() { throw new UnsupportedOperationException("Invalid platform class."); } - /* - * Loading stages - * preloadPlatform gives the platform a chance to load or check dependencies - * before the main jfxmedia library is loaded. Then loadPlatform is called - * after jfxmedia library is loaded in case the platform has further - * dependencies. - */ - public void preloadPlatform() {} - /** * @return false if the platform cannot be loaded */ public boolean loadPlatform() { return false; --- 39,48 ----