The DataDiscCallback interface lets you receive notifications about the burning progress.
More...
#include <pb_api.h>
Inherits Reference.
◆ onContinueWrite()
virtual bool_t onContinueWrite |
( |
| ) |
|
|
virtual |
Called by DataDisc to check if burning should continue.
- Returns
- 1 The burning should continue.
-
0 The burning should be canceled.
◆ onFileStatus()
virtual void onFileStatus |
( |
int32_t |
fileNumber, |
|
|
const char_t * |
filename, |
|
|
int32_t |
percentWritten |
|
) |
| |
|
virtual |
Called by DataDisc to report the file that is currently being recorded.
- Parameters
-
fileNumber | The sequential file number (starts from 0). |
filename | [in] The name of the file that is being processed. |
percentWritten | The percentage of the file data that has already been written to the disc. |
◆ onProgress()
virtual void onProgress |
( |
int64_t |
bytesWritten, |
|
|
int64_t |
all |
|
) |
| |
|
virtual |
Called by DataDisc to report the number of bytes that have been written to the disc.
- Parameters
-
bytesWritten | The current number of bytes from the image which have been written to the disc |
all | Total number of bytes that will be written to the disc. |
◆ onStatus()
◆ release()
int32_t release |
( |
| ) |
const |
|
virtual |
◆ retain()
◆ retainCount()
int32_t retainCount |
( |
| ) |
const |
|
virtual |