mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 05:55:45 -04:00
Initial community commit
This commit is contained in:
25
Src/Plugins/Input/in_wmvdrm/WaitLayer.h
Normal file
25
Src/Plugins/Input/in_wmvdrm/WaitLayer.h
Normal file
@ -0,0 +1,25 @@
|
||||
#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
|
Reference in New Issue
Block a user