DVDBuilder for C++  3.4
DVD Authoring Software Development Kit
DVDBuilderCallback Class Reference

The DVDBuilderCallback interface is implemented by the application to receive status information from the DVDBuilder object. More...

Inheritance diagram for DVDBuilderCallback:
Reference

Public Member Functions

virtual bool_t onContinue ()
 The onContinue method is called to query whether the current operation should continue. More...
 
virtual void onProgress (int32_t percentDone)
 Notifies registered objects and applications of the progress of the DVD creation operation. More...
 
virtual void onStatus (DVDBuilderStatus::Enum status)
 The onStatus method is called when status information must be communicated to the application. More...
 
int32_t release () const
 The default implementation keeps a constant reference count of 1. More...
 
int32_t retain () const
 The default implementation keeps a constant reference count of 1. More...
 
int32_t retainCount () const
 The default implementation keeps a constant reference count of 1. More...
 

Detailed Description

The DVDBuilderCallback interface is implemented by the application to receive status information from the DVDBuilder object.

To use the callback methods, you must implement a class in your application that inherits from the DVDBuilderCallback interface. Include code for your version of the interface methods in the class. Several examples of DVDBuilderCallback implementations can be found in the samples included with this SDK. For more information about the samples, see Sample Applications.

Version
1.0

Member Function Documentation

virtual bool_t onContinue ( )
virtual

The onContinue method is called to query whether the current operation should continue.

An DVDBuilder object that is performing some operation calls this method to determine whether it should continue.

Returns
1 The current operation should continue.
0 The current operation should not continue.
virtual void onProgress ( int32_t  percentDone)
virtual

Notifies registered objects and applications of the progress of the DVD creation operation.

Parameters
percentDonePercentage of the DVD file structure that is completed.
virtual void onStatus ( DVDBuilderStatus::Enum  status)
virtual

The onStatus method is called when status information must be communicated to the application.

Parameters
statusOne member of the DVDBuilderStatus::Enum enumeration type. For a description of possible values, see the DVDBuilderStatus::Enum.
int32_t release ( ) const
virtual

The default implementation keeps a constant reference count of 1.

Returns
1

Implements Reference.

int32_t retain ( ) const
virtual

The default implementation keeps a constant reference count of 1.

Returns
1

Implements Reference.

int32_t retainCount ( ) const
virtual

The default implementation keeps a constant reference count of 1.

Returns
1

Implements Reference.