Package quicktime.streaming

Source Code of quicktime.streaming.SettingsDialog

/*    */ package quicktime.streaming;
/*    */
/*    */ import com.apple.mrj.macos.carbon.CarbonAccess;
/*    */ import com.apple.mrj.macos.carbon.CarbonEventClient;
/*    */ import quicktime.QTException;
/*    */ import quicktime.QTObject;
/*    */ import quicktime.QTSession;
/*    */ import quicktime.jdirect.QTNative;
/*    */ import quicktime.std.StdQTException;
/*    */
/*    */ public class SettingsDialog
/*    */ {
/*    */   public SettingsDialog(Presentation paramPresentation)
/*    */     throws QTException
/*    */   {
/* 32 */     Presentation localPresentation = paramPresentation;
/* 33 */     if (QTSession.isCurrentOS(4)) {
/* 34 */       StdQTException.checkError(((Integer)CarbonAccess.invokeCarbonEventClient(new CarbonEventClient() { private final Presentation val$pres;
/*    */
/* 36 */         public Object invoke() { int i = SettingsDialog.QTSPresSettingsDialog(QTObject.ID(this.val$pres), 0, 0, 0, 0);
/* 37 */           return new Integer(i);
/*    */         }
/*    */       })).intValue());
/*    */     }
/*    */     else
/*    */     {
/* 41 */       synchronized (QTNative.globalsLock) {
/* 42 */         StdQTException.checkError(QTSPresSettingsDialog(QTObject.ID(paramPresentation), 0, 0, 0, 0));
/*    */       }
/*    */     }
/*    */   }
/*    */
/*    */   public SettingsDialog(Presentation paramPresentation, Stream paramStream)
/*    */     throws QTException
/*    */   {
/* 54 */     synchronized (QTNative.globalsLock) {
/* 55 */       QTException.checkError(QTSPresSettingsDialog(QTObject.ID(paramPresentation), QTObject.ID(paramStream), 0, 0, 0));
/*    */     }
/*    */   }
/*    */
/*    */   private static native short QTSPresSettingsDialog(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5);
/*    */ }

/* Location:           Z:\System\Library\Java\Extensions\QTJava.zip
* Qualified Name:     quicktime.streaming.SettingsDialog
* JD-Core Version:    0.6.2
*/
TOP

Related Classes of quicktime.streaming.SettingsDialog

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.