summaryrefslogtreecommitdiff
path: root/dvbosd.h
diff options
context:
space:
mode:
Diffstat (limited to 'dvbosd.h')
-rw-r--r--dvbosd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/dvbosd.h b/dvbosd.h
index 0bc6079f..69838f6d 100644
--- a/dvbosd.h
+++ b/dvbosd.h
@@ -4,17 +4,19 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbosd.h 1.13 2002/05/18 13:38:09 kls Exp $
+ * $Id: dvbosd.h 1.14 2002/08/04 10:12:14 kls Exp $
*/
#ifndef __DVBOSD_H
#define __DVBOSD_H
#include <ost/osd.h>
+#include "dvbdevice.h"
#include "osdbase.h"
class cDvbOsd : public cOsdBase {
private:
+ static const cDvbDevice *dvbDevice;
int osdDev;
bool SetWindow(cWindow *Window);
void Cmd(OSD_Command cmd, int color = 0, int x0 = 0, int y0 = 0, int x1 = 0, int y1 = 0, const void *data = NULL);
@@ -26,8 +28,9 @@ protected:
virtual void MoveWindow(cWindow *Window, int x, int y);
virtual void CloseWindow(cWindow *Window);
public:
- cDvbOsd(int OsdDev, int x, int y);
+ cDvbOsd(int x, int y);
virtual ~cDvbOsd();
+ static void SetDvbDevice(const cDvbDevice *DvbDevice);
};
#endif //__DVBOSD_H