mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-18 18:21:38 +00:00
7b0104e9a1
git-svn-id: https://svn.eduke32.com/eduke32@452 1a8010ca-5511-0410-912e-c29ae57300e0
24 lines
504 B
C++
Executable file
24 lines
504 B
C++
Executable file
#ifndef __cda_hpp__
|
|
#define __cda_hpp__
|
|
|
|
class JFAudCDA {
|
|
private:
|
|
protected:
|
|
public:
|
|
typedef enum { NOT_READY, READY, PLAYING, PAUSED } State;
|
|
|
|
JFAudCDA() { }
|
|
virtual ~JFAudCDA() { }
|
|
virtual bool IsValid() const = 0;
|
|
|
|
virtual int GetNumTracks() const = 0;
|
|
virtual bool IsTrackPlayable(int n) const = 0;
|
|
virtual bool PlayTrack(int n) = 0;
|
|
virtual bool Pause() = 0;
|
|
virtual bool Resume() = 0;
|
|
|
|
virtual State CheckDisc() = 0;
|
|
virtual State GetPlayMode() = 0;
|
|
};
|
|
|
|
#endif
|