mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-03 22:47:16 +01:00
28 lines
547 B
C
28 lines
547 B
C
|
#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
|