diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-19 08:58:14 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-19 08:58:14 +0200 |
commit | b1737a8bcb3a259c9c57e76b818539191b96f045 (patch) | |
tree | 8a1274f7b89e37bf127a35af0bfbd0ec44afae5c /player.h | |
parent | 480afc6bc8636b10849a9e61b73151e81b794f93 (diff) | |
download | vdr-b1737a8bcb3a259c9c57e76b818539191b96f045.tar.gz vdr-b1737a8bcb3a259c9c57e76b818539191b96f045.tar.bz2 |
Added cDevice::Flush()
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 3 |
1 files changed, 2 insertions, 1 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.11 2004/04/30 13:45:59 kls Exp $ + * $Id: player.h 1.12 2004/06/19 08:53:07 kls Exp $ */ #ifndef __PLAYER_H @@ -20,6 +20,7 @@ private: ePlayMode playMode; protected: bool DevicePoll(cPoller &Poller, int TimeoutMs = 0) { return device ? device->Poll(Poller, TimeoutMs) : false; } + bool DeviceFlush(int TimeoutMs = 0) { return device ? device->Flush(TimeoutMs) : true; } void DeviceTrickSpeed(int Speed) { if (device) device->TrickSpeed(Speed); } void DeviceClear(void) { if (device) device->Clear(); } void DevicePlay(void) { if (device) device->Play(); } |