diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-15 10:13:03 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-15 10:13:03 +0200 |
commit | d4ab35d1d92e14e9a4e7490058546642da728e02 (patch) | |
tree | 95cd2a77cfb8c83f189b509802d99c1567070a86 /player.h | |
parent | 2f684611d488fb3b05680b8d40e1a4d0b3e124fc (diff) | |
download | vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.gz vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.bz2 |
Implemented cDevice::NeedsData()
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: player.h 1.5 2002/07/13 11:12:26 kls Exp $ + * $Id: player.h 1.6 2002/08/15 09:34:08 kls Exp $ */ #ifndef __PLAYER_H @@ -17,9 +17,8 @@ class cPlayer { friend class cDevice; private: cDevice *device; - int deviceFileHandle; protected: - int DeviceFileHandle(void) { return deviceFileHandle; } //XXX+ needed for polling + bool DeviceNeedsData(int Wait = 0) { return device ? device->NeedsData(Wait) : false; } void DeviceTrickSpeed(int Speed) { if (device) device->TrickSpeed(Speed); } void DeviceClear(void) { if (device) device->Clear(); } void DevicePlay(void) { if (device) device->Play(); } |