summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-06-19 08:58:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-06-19 08:58:14 +0200
commitb1737a8bcb3a259c9c57e76b818539191b96f045 (patch)
tree8a1274f7b89e37bf127a35af0bfbd0ec44afae5c /player.h
parent480afc6bc8636b10849a9e61b73151e81b794f93 (diff)
downloadvdr-b1737a8bcb3a259c9c57e76b818539191b96f045.tar.gz
vdr-b1737a8bcb3a259c9c57e76b818539191b96f045.tar.bz2
Added cDevice::Flush()
Diffstat (limited to 'player.h')
-rw-r--r--player.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/player.h b/player.h
index 85b7bd13..8c5392ae 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.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(); }