ADC Home > Reference Library > Reference > Audio > Carbon > Disc Recording UI Framework Reference

 


NSObject(DREraseProgressPanelDelegateMethods)

Extends Class:
Declared In:

Overview

This category defines a set of methods that delegates of the burn progress panel can implement to control the behavior of the panel.



Methods

-eraseProgressPanel:eraseDidFinish:
Allows the delegate to handle the end-of-erase feedback.
-eraseProgressPanelDidFinish:
Notification sent by the panel after ordering out.
-eraseProgressPanelWillBegin:
Notification sent by the panel before display.

eraseProgressPanel:eraseDidFinish:


Allows the delegate to handle the end-of-erase feedback.

- (BOOL) eraseProgressPanel:(DREraseProgressPanel*)theErasePanel 
        eraseDidFinish:(DRErase*)erase; 
Parameters
theErasePanel
The progress panel
erase
The object that performed the erase.
Return Value

A BOOL indicating whether the normal end-of-erase feedback should occur.

Discussion

This method allows the delegate to handle or modify the end-of-erase feedback performed by the progress panel. Return YES to indicate the delegate handled the erase completion and the standard feedback should be supressed. If this method returns NO, the normal end-of-erase handling is performed (displaying an error if appropriate, playing an "I'm done" sound, etc). The delegate is messaged before the progress panel is ordered out so a sheet may be displayed on a progress panel displayed as a window.


eraseProgressPanelDidFinish:


Notification sent by the panel after ordering out.

- (void) eraseProgressPanelDidFinish:(NSNotification*)aNotification; 
Parameters
aNotification
Always DREraseProgressPanelDidFinishNotification . You can retrieve the DREraseProgressPanel object in question by sending object message to aNotification.
Discussion

If the delegate implements this method it will receive the message after the panel is removed from display.


eraseProgressPanelWillBegin:


Notification sent by the panel before display.

- (void) eraseProgressPanelWillBegin:(NSNotification*)aNotification; 
Parameters
aNotification
Always DREraseProgressPanelWillBeginNotification . You can retrieve the DREraseProgressPanel object in question by sending object message to aNotification.
Discussion

If the delegate implements this method it will receive the message immediately before the panel is displayed.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2008-03-11