Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
28
Src/Plugins/Input/in_cdda/PlayStatus.h
Normal file
28
Src/Plugins/Input/in_cdda/PlayStatus.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue