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

 


DRFolder

Inherits from:
Declared In:

Overview

Represents a folder to be created on the burned disc.

Discussion

DRFolders can be either a “real” folder pointing to an existing folder (residing on a hard drive for example) or can be a “virtual” folder which exists only on the resulting burned disc. A DRFolder pointing to an existing folder cannot have it's contents changed - only those files/folders which are children of the actual folder on disk will be included on the resulting disc. Virtual folders are entirely created programatically and any virtual folder structure can exist and be burned to disc. It is possible to convert a real folder to a virtual folder using the makeVirtual method.



Methods

+folderWithPath:
Creates a real folder object
-initWithPath:
Initializes a real file object

folderWithPath:


Creates a real folder object

+ (DRFolder*) folderWithPath:(NSString*)path; 
Parameters
path
The path to an existing file.
Return Value

An autoreleased DRFolder object.

Discussion

Creates and initializes a DRFolder object that will use the folder contents of the folder located at path as a source.


initWithPath:


Initializes a real file object

- (id) initWithPath:(NSString*)path; 
Parameters
path
The path to an existing folder.
Return Value

A DRFolder object.

Discussion

Initializes a DRFolder object that will use the folder contents of the folder located at path as a source.


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-04-01