diff options
author | schmirl <schmirl> | 2008-10-22 11:59:35 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2008-10-22 11:59:35 +0000 |
commit | 84f994384a4273d71531001167822fce04e3bb7e (patch) | |
tree | 60c39a9d167be9d9a29d3b409cd4b84a408f471b /server/suspend.h | |
parent | 5c24a1307599c13f918a50284ebc89b92f597854 (diff) | |
download | vdr-plugin-streamdev-84f994384a4273d71531001167822fce04e3bb7e.tar.gz vdr-plugin-streamdev-84f994384a4273d71531001167822fce04e3bb7e.tar.bz2 |
- use cThread::Running()/Active() instead of private members
- replaced the last usleep by cCondWait
thanks to Rolf Ahrenberg (#383)
Modified Files:
Tag: v0_4
CONTRIBUTORS HISTORY server/server.c server/server.h
server/streamer.c server/streamer.h server/suspend.c
server/suspend.h
Diffstat (limited to 'server/suspend.h')
-rw-r--r-- | server/suspend.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/server/suspend.h b/server/suspend.h index f04ad42..ce8b172 100644 --- a/server/suspend.h +++ b/server/suspend.h @@ -1,5 +1,5 @@ /* - * $Id: suspend.h,v 1.1 2004/12/30 22:44:26 lordjaxom Exp $ + * $Id: suspend.h,v 1.1.1.1.2.1 2008/10/22 11:59:37 schmirl Exp $ */ #ifndef VDR_STREAMDEV_SUSPEND_H @@ -7,10 +7,7 @@ #include <vdr/player.h> -class cSuspendLive: public cPlayer, cThread { -private: - bool m_Active; - +class cSuspendLive: public cPlayer, public cThread { protected: virtual void Activate(bool On); virtual void Action(void); @@ -20,8 +17,6 @@ protected: public: cSuspendLive(void); virtual ~cSuspendLive(); - - bool IsActive(void) const { return m_Active; } }; class cSuspendCtl: public cControl { |