modules/media/src/main/native/jfxmedia/platform/osx/OSXMediaPlayer.h

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 +1,7 @@
 /*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
+ * 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

@@ -22,14 +22,13 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 #import <Foundation/Foundation.h>
-#import <QTKit/QTKit.h>
 #import <Utils/MTObjectProxy.h>
 #import "OSXPlayerProtocol.h"
-#import <JavaVM/jni.h>
+#import <jni.h>
 
 #import "JavaPlayerEventDispatcher.h"
 
 // Wrapper for the actual media player implementation, meant to glue JNI code with ObjC code
 @interface OSXMediaPlayer : NSObject<OSXPlayerProtocol>

@@ -40,8 +39,11 @@
     JavaVM *javaPlayerVM;
     CJavaPlayerEventDispatcher *eventHandler;
     id<OSXPlayerProtocol> player; // actual player implementation
 }
 
+// Called from OSXPlatform.osxPlatformInit() (java)
++ (void) initPlayerPlatform;
+
 @property (readonly) id<OSXPlayerProtocol> player;
 
 @end