Mac Developer Library

Developer

DREraseProgressPanel.h Reference

Options
Deployment Target:

On This Page
Language:

DREraseProgressPanel.h Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Swift

import DiscRecordingUI

Objective-C

@import DiscRecordingUI;

Panel to display progress while erasing media.

A DREraseProgressPanel object manages a panel that displays and updates erase progress. The erase panel is responsible for begining the erase.

The erase is begun and a progress panel is displayed on screen by calling beginProgressSheetForErase:modalForWindow: if a sheet interface is desired, or beginProgressPanelForErase: for a non-modal panel.

A DREraseProgressPanel sends a eraseProgressPanel:eraseDidFinish: message to it's delegate when the erase completes. This method allows the delegate to take over end-of-erase handling from the erase progress panel to customize error dialogs or user notification.

Included Headers

  • <Cocoa/Cocoa.h>

  • <DiscRecording/DiscRecording.h>

  • <AvailabilityMacros.h>

Constants

See the Overview section above for header-level documentation.

  • Declaration

    Swift

    let DREraseProgressPanelDidFinishNotification: String let DREraseProgressPanelWillBeginNotification: String

    Objective-C

    extern NSString* const DREraseProgressPanelDidFinishNotification ; extern NSString* const DREraseProgressPanelWillBeginNotification ;

    Constants

    • DREraseProgressPanelDidFinishNotification

      DREraseProgressPanelDidFinishNotification

      Posted when the DREraseProgressPanel has finished and is about to go away.

      This notification contains a notification object but no userInfo dictionary. The notification object is the DREraseProgressPanel that will be closed.

      Available in OS X v10.2 and later.

    • DREraseProgressPanelWillBeginNotification

      DREraseProgressPanelWillBeginNotification

      Posted when the DREraseProgressPanel is about to begin displaying progress.

      This notification contains a notification object but no userInfo dictionary. The notification object is the DREraseProgressPanel thatwill be displayed.

      Available in OS X v10.2 and later.