mirror of https://github.com/AxioDL/metaforce.git
35 lines
614 B
C++
35 lines
614 B
C++
|
#ifndef __RETRO_CDVDREQUEST_HPP__
|
||
|
#define __RETRO_CDVDREQUEST_HPP__
|
||
|
|
||
|
namespace Retro
|
||
|
{
|
||
|
|
||
|
class CDvdRequest
|
||
|
{
|
||
|
public:
|
||
|
virtual void WaitUntilComplete()=0;
|
||
|
virtual bool IsComplete()=0;
|
||
|
virtual void PostCancelRequest()=0;
|
||
|
|
||
|
enum EMediaType
|
||
|
{
|
||
|
MediaARAM = 0,
|
||
|
MediaReal = 1,
|
||
|
MediaNOD = 2
|
||
|
};
|
||
|
virtual EMediaType GetMediaType() const=0;
|
||
|
};
|
||
|
|
||
|
class CNODDvdRequest : public CDvdRequest
|
||
|
{
|
||
|
public:
|
||
|
void WaitUntilComplete();
|
||
|
bool IsComplete();
|
||
|
void PostCancelRequest();
|
||
|
EMediaType GetMediaType() const {return MediaNOD;}
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif // __RETRO_CDVDREQUEST_HPP__
|