#ifndef __RETRO_CDVDREQUEST_HPP__ #define __RETRO_CDVDREQUEST_HPP__ namespace Retro { class IDvdRequest { public: virtual void WaitUntilComplete()=0; virtual bool IsComplete()=0; virtual void PostCancelRequest()=0; enum class EMediaType { ARAM = 0, Real = 1, NOD = 2 }; virtual EMediaType GetMediaType() const=0; }; class CNODDvdRequest : public IDvdRequest { public: void WaitUntilComplete(); bool IsComplete(); void PostCancelRequest(); EMediaType GetMediaType() const {return EMediaType::NOD;} }; class CDvdRequest : public IDvdRequest { void WaitUntilComplete(); bool IsComplete(); void PostCancelRequest(); EMediaType GetMediaType() const { return EMediaType::Real; } }; } #endif // __RETRO_CDVDREQUEST_HPP__