vdr-plugin-femon/femonosd.h

44 lines
881 B
C
Raw Normal View History

2004-02-15 03:20:00 +01:00
#ifndef __FEMONOSD_H
#define __FEMONOSD_H
#include <linux/dvb/frontend.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <vdr/osd.h>
#include <vdr/thread.h>
#include <vdr/status.h>
#include <vdr/channels.h>
#include <vdr/font.h>
2004-02-27 03:20:00 +01:00
#include <vdr/device.h> // only for TS_SIZE
2004-02-15 03:20:00 +01:00
class cFemonOsd : public cOsdObject, public cThread, public cStatus {
private:
bool m_Active;
cOsdBase *m_Osd;
tWindowHandle m_Window;
cFemonReceiver *m_Receiver;
2004-02-15 03:20:00 +01:00
int m_Frontend;
struct dvb_frontend_info m_FrontendInfo;
int m_Number;
int m_InputTime;
int m_InfoTime;
int m_Width;
int m_Height;
int m_Xpos;
int m_Ypos;
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