#include <DiscRecordingUI/DREraseSession.h>


/*DREraseSessionCreate


Creates a new erase session. 
extern DREraseSessionRef DREraseSessionCreate();  
Return Value

A reference to a new DREraseSession. 
Availability
Introduced in Mac OS X v10.3.*/
DREraseSessionRef DREraseSessionCreate(){};  



/*DREraseSessionSetupDialog


Presents the setup interface as a modal dialog. 
extern SInt8 DREraseSessionSetupDialog( 
    DREraseSessionRef eraseSession, 
    DREraseSessionSetupDialogOptions*options, 
    DREraseSessionSetupCallbacks*setupCallbacks);  
Parameters
eraseSession
The erase session object
options
A pointer to a structure of type DREraseSessionSetupDialogOptions . This pointer may be NULL if no custom configuration is required.
setupCallbacks
A pointer to a structure of type DREraseSessionSetupCallbacks . This pointer may be NULL if no custom behavior is desired.
Return Value

Returns one of the constants defined by Erase Session Dialog Result Codes . 
Discussion 

This function present the user with a modal dialog that allows them to configure an erase to their custom settings. These include: the device to use and the type of erase to perform. and others. The function does not return until the user dismissed the dialog. 
Availability
Introduced in Mac OS X v10.3.*/
 SInt8 DREraseSessionSetupDialog( 
    DREraseSessionRef eraseSession, 
    DREraseSessionSetupDialogOptions*options, 
    DREraseSessionSetupCallbacks*setupCallbacks){};  


/*DREraseSessionBeginProgressDialog


Presents the progress interface as a non-modal dialog. 
extern void DREraseSessionBeginProgressDialog( 
    DREraseSessionRef eraseSession, 
    DREraseSessionProgressDialogOptions*options, 
    DREraseSessionProgressCallbacks*progressCallbacks);  
Parameters
eraseSession
The erase session object
options
A pointer to a structure of type DREraseSessionSetupDialogOptions .
progressCallbacks
A pointer to a structure of type DREraseSessionProgressCallbacks . This pointer may be NULL if no custom behavior is desired.
Discussion 

This function present the user with a non-modal dialog that shows the erase progress. 
Availability
Introduced in Mac OS X v10.3.*/
extern void DREraseSessionBeginProgressDialog( 
    DREraseSessionRef eraseSession, 
    DREraseSessionProgressDialogOptions*options, 
    DREraseSessionProgressCallbacks*progressCallbacks){};  



