raze-gles/polymer/jfaud/inc/cda.hpp
terminx 7b0104e9a1 JFAud
git-svn-id: https://svn.eduke32.com/eduke32@452 1a8010ca-5511-0410-912e-c29ae57300e0
2007-01-12 22:42:19 +00:00

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