PrimoBurner(tm) for C++
4.6
CD, DVD and Blu-ray Software Development Kit
|
DiscArchive object provides a way for constructing large file trees and scheduling them for burning over multiple discs. More...
#include <PrimoBurnerAPI.h>
Inherits Reference.
Public Member Functions | |
virtual DiscArchiveCallback * | callback () const =0 |
Gets the current callback set in DiscArchive. More... | |
virtual bool_t | commitLayout (DiscLayout *layout)=0 |
If the recording of the selected layout is successful, call this method to inform DiscArchive that the layout content should not be selected again in when calling DiscArchive::prepareLayout(). More... | |
virtual DataFile * | content () const =0 |
Gets the layout defined for burning. More... | |
virtual const ErrorInfo * | error () const =0 |
Gets error information about the last operation. More... | |
virtual DataFile * | footer () const =0 |
Gets the footer content to be included on each disc being produced with the current archive. More... | |
virtual DiscArchiveFooterPolicy * | footerPolicy () const =0 |
Gets the policy object that manages footer size. More... | |
virtual bool_t | hasNextDisc () const =0 |
Check the value of this property to see if there are more files/folders that need to be recorded on a disc. More... | |
virtual bool_t | prepareArchive ()=0 |
Initializes the archiving process and prepares the content for burning. More... | |
virtual DiscLayout * | prepareLayout (Device *device, bool_t keepExistingContent)=0 |
Creates a layout for the next disc to be recorded. More... | |
virtual bool_t | rollbackLayout (DiscLayout *layout)=0 |
Call this method to return the layout content to the archive so that it can be selected again when a call to DiscArchive::prepareLayout method is made. More... | |
virtual void | setCallback (DiscArchiveCallback *callback)=0 |
Sets a callback object to receive notifications from DiscArchive. More... | |
virtual void | setContent (DataFile *src)=0 |
Sets the layout defined for burning. More... | |
virtual void | setFooter (DataFile *src)=0 |
Sets the footer content to be included on each disc being produced with the current archive. More... | |
virtual void | setFooterPolicy (DiscArchiveFooterPolicy *callback)=0 |
Sets a policy object for managing footer size. More... | |
Public Member Functions inherited from Reference | |
virtual int32_t | release () const =0 |
Releases the instance. More... | |
virtual int32_t | retain () const =0 |
Retains the instance. More... | |
virtual int32_t | retainCount () const =0 |
Returns the current reference count. More... | |
DiscArchive object provides a way for constructing large file trees and scheduling them for burning over multiple discs.
The following example is a simple demonstration of how DiscArchive and DiscLayout can be used:
|
pure virtual |
Gets the current callback set in DiscArchive.
|
pure virtual |
If the recording of the selected layout is successful, call this method to inform DiscArchive that the layout content should not be selected again in when calling DiscArchive::prepareLayout().
layout | [in] A DiscLayout object previously returned by a call to DiscArchive::prepareLayout(). |
|
pure virtual |
Gets the layout defined for burning.
|
pure virtual |
Gets error information about the last operation.
|
pure virtual |
|
pure virtual |
Gets the policy object that manages footer size.
|
pure virtual |
Check the value of this property to see if there are more files/folders that need to be recorded on a disc.
|
pure virtual |
Initializes the archiving process and prepares the content for burning.
Must be called before DiscArchive::prepareLayout()
|
pure virtual |
Creates a layout for the next disc to be recorded.
The files and the folders in the layout are selected from the remaining unrecorded content (including the footer).
device | A pointer to the device to use for recording the layout. The device should already contain a valid disc in it. |
keepExistingContent | If TRUE the created layout will contain the previously recorded data on the target disc (device parameter) in addition to the new content. |
|
pure virtual |
Call this method to return the layout content to the archive so that it can be selected again when a call to DiscArchive::prepareLayout method is made.
layout | A DiscLayout object previously returned by a call to DiscArchive::prepareLayout(). |
|
pure virtual |
Sets a callback object to receive notifications from DiscArchive.
callback | A pointer to an object that implements the DiscArchiveCallback interface. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Sets a policy object for managing footer size.
callback | A pointer to an object that implements the DiscArchiveFooterPolicy interface. |