Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/Input/in_cdda/PlayStatus.h

28 lines
547 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#ifndef NULLSOFT_PLAYSTATUSH
#define NULLSOFT_PLAYSTATUSH
#pragma warning(disable:4786)
//#include <map>
#include "../nu/AutoLock.h"
class DriveStatus
{
public:
DriveStatus();
void RippingStarted(), RippingStopped();
bool IsRipping() const;
private:
bool ripping;
};
class PlayStatus
{
public:
DriveStatus &operator [](int index) { return driveStatus[index-'A']; }
DriveStatus driveStatus[26];
};
extern PlayStatus playStatus;
//extern std::map<char, DriveStatus> playStatus;
extern Nullsoft::Utility::LockGuard *playStatusGuard;
#endif