/* * Frontend Status Monitor plugin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * * $Id$ */ #ifndef __FEMONOSD_H #define __FEMONOSD_H #include #include #include #include #include #include #include #include class cFemonOsd : public cOsdObject, public cThread, public cStatus { private: bool m_Active; cOsdBase *m_Osd; tWindowHandle m_InfoWindow; tWindowHandle m_StatusWindow; cFemonReceiver *m_Receiver; int m_Frontend; struct dvb_frontend_info m_FrontendInfo; int m_Number; int m_OldNumber; int m_InputTime; uint16_t m_SNR; uint16_t m_Signal; uint32_t m_BER; uint32_t m_UNC; fe_status_t m_FrontendStatus; int m_DisplayMode; eDvbFont m_Font; cMutex* m_Mutex; void DrawStatusWindow(void); void DrawInfoWindow(void); protected: virtual void Action(void); virtual void ChannelSwitch(const cDevice * device, int channelNumber); public: cFemonOsd(void); ~cFemonOsd(); virtual void Show(void); virtual eOSState ProcessKey(eKeys Key); }; #endif //__FEMONOSD_H