ADC Home > Reference Library > Reference > Audio > Carbon > Disc Recording UI Framework Reference
|
NSObject(DRSetupPanelDelegate) |
Extends Class: | |
Declared In: |
This category defines a set of methods that delegates of the setup panels can implement to control the behavior of the panel.
setupPanel:deviceContainsSuitableMedia:promptString: |
This delegate method allows the delegate to determine if the media inserted in the device is suitable for whatever operation is to be performed.
- (BOOL) setupPanel:(DRSetupPanel*)aPanel deviceContainsSuitableMedia:(DRDevice*)device promptString:(NSString**)prompt;
aPanel
device
prompt
Return NO to disable the default button.
setupPanel:deviceCouldBeTarget: |
Allows the delegate to determine if device can be used as a target.
- (BOOL) setupPanel:(DRSetupPanel*)aPanel deviceCouldBeTarget:(DRDevice*)device;
aPanel
device
YES if the device is acceptable, NO if not.
This method is used to limit the menu to only those devices that you want to appear. For example, a DVD burning application might use this to limit the menu to only devices that are capable of writing DVD-Rs.
setupPanelDeviceSelectionChanged: |
Sent by the default notification center when the device selection in the panel has changed.
- (void) setupPanelDeviceSelectionChanged:(NSNotification*)aNotification;
aNotification
setupPanelShouldHandleMediaReservations: |
This delegate method allows the delegate to control how media reservations are handled.
- (BOOL) setupPanelShouldHandleMediaReservations:(DRSetupPanel*)aPanel;
aPanel
Return NO to indicate the delegate will handle media reservations. Return YES to indicate the setupPanel should handle media reservations itself.
|