summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-15 10:13:03 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-15 10:13:03 +0200
commitd4ab35d1d92e14e9a4e7490058546642da728e02 (patch)
tree95cd2a77cfb8c83f189b509802d99c1567070a86 /player.h
parent2f684611d488fb3b05680b8d40e1a4d0b3e124fc (diff)
downloadvdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.gz
vdr-d4ab35d1d92e14e9a4e7490058546642da728e02.tar.bz2
Implemented cDevice::NeedsData()
Diffstat (limited to 'player.h')
-rw-r--r--player.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/player.h b/player.h
index 1bf6d371..1fd9fdda 100644
--- a/player.h
+++ b/player.h
@@ -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(); }