#include <psyqo/cdrom-pcdrv.hh>
◆ CDRomPCDrv()
| psyqo::CDRomPCDrv::CDRomPCDrv |
( |
const char * |
isoName | ) |
|
|
inline |
◆ ensureOpen()
| bool psyqo::CDRomPCDrv::ensureOpen |
( |
| ) |
|
|
inline |
◆ readSectors()
Read a sector from the CDRom.
The function will make reasonable attempts at reading the disk, but it is not guaranteed to succeed. Failures may be caused by the disk being faulty, the lid being opened, or no valid disk being present. Only one operation can be in progress at a time.
- Parameters
-
| sector | The sector to read. |
| buffer | The buffer to read into. |
| size | The size of the buffer. |
| callback | The callback to call when the read is done. It will be called from the main thread when possible. Its one argument is a boolean indicating whether the read was successful. |
Implements psyqo::CDRom.
The documentation for this class was generated from the following files: