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_wmvdrm/WaitLayer.h

26 lines
420 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#ifndef NULLSOFT_WAITLAYERH
#define NULLSOFT_WAITLAYERH
#include "WMHandler.h"
class WaitLayer : public WMHandler
{
public:
WaitLayer(IWMReader *_reader);
~WaitLayer();
void ResetForOpen();
bool WaitForOpen(int time_ms);
bool IsOpen();
protected:
/* inherited from WMCallback */
void OpenCalled();
void OpenFailed();
void Opened();
IWMReader *reader; // not ours
HANDLE stopEvent, openEvent;
};
#endif