ADC Home > Reference Library > Reference > Apple Applications > Final Cut Pro/Final Cut Express > FxPlug Reference
|
FxProgressAPI |
Declared In: |
Defines the methods provided by the host application to let a plug-in report progress and to support user cancellation.
NOTE: Some host applications may not implement this protocol.
updateProgress: |
Indicates whether or not the user has cancelled.
- (BOOL)updateProgress:(float)percentDone;
percentDone
YES if the user has cancelled. NO otherwise.
A plug-in should call this method (or the -userHasCancelled method) periodically (say, once every tenth of a second) during a slow render. If the user cancels, the method returns YES, and the plug-in should then abort the rest of the render, and return NO from its render method.
userHasCancelled |
Indicates whether or not the user has cancelled.
- (BOOL)userHasCancelled;
YES if the user has cancelled. NO otherwise.
A plug-in should call this method (or the -updateProgress method) periodically (say, once every tenth of a second) during a slow render. If the user cancels, the method returns YES, and the plug-in should then abort the rest of the render and return NO from its render method.
|