#include <memory>
#include <string>
◆ DriveState
Represents the state of a disc (optical) drive. 
| Enumerator | 
|---|
| OPEN  | The drive is open  
 | 
| NOT_READY  | The drive is not ready (happens when opening or closing)  
 | 
| READY  | The drive is ready  
 | 
| CLOSED_NO_MEDIA  | The drive is closed but no media could be detected in the drive  
 | 
| CLOSED_MEDIA_PRESENT  | The drive is closed and there is media in the drive  
 | 
| NONE  | The system does not have an optical drive  
 | 
| CLOSED_MEDIA_UNDEFINED  | The drive is closed but we don't know yet if there's media there  
 | 
 
 
◆ TrayState
Represents the state of the drive tray. 
| Enumerator | 
|---|
| UNDEFINED  | The tray is in an undefined state, we don't know yet  
 | 
| OPEN  | The tray is open  
 | 
| CLOSED_NO_MEDIA  | The tray is closed and doesn't have any optical media  
 | 
| CLOSED_MEDIA_PRESENT  | The tray is closed and contains optical media  
 |