Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

status.h

Go to the documentation of this file.
00001 
00010 #ifndef __STATUS_H
00011 #define __STATUS_H
00012 
00013 #include "config.h"
00014 #include "device.h"
00015 #include "player.h"
00016 #include "tools.h"
00017 
00018 
00020 class cStatus : public cListObject {
00021 
00026 private:
00027   static cList<cStatus> statusMonitors;
00028 protected:
00029 
00036   virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber) {}
00037 
00043   virtual void Recording(const cDevice *Device, const char *Name) {}
00044 
00052   virtual void Replaying(const cControl *Control, const char *Name) {}
00053 
00058   virtual void SetVolume(int Volume, bool Absolute) {}
00059 
00063   virtual void OsdClear(void) {}
00064 
00068   virtual void OsdTitle(const char *Title) {}
00069 
00074   virtual void OsdStatusMessage(const char *Message) {}
00075 
00079   virtual void OsdHelpKeys(const char *Red, const char *Green, const char *Yellow, const char *Blue) {}
00080 
00084   virtual void OsdCurrentItem(const char *Text) {}
00085 
00093   virtual void OsdTextItem(const char *Text, bool Scroll) {}
00094 
00098   virtual void OsdChannel(const char *Text) {}
00099 
00103   virtual void OsdProgramme(time_t PresentTime, const char *PresentTitle, const char *PresentSubtitle, time_t FollowingTime, const char *FollowingTitle, const char *FollowingSubtitle) {}
00104 
00105 public:
00106   cStatus(void);
00107   virtual ~cStatus();
00116   static void MsgChannelSwitch(const cDevice *Device, int ChannelNumber);
00117   static void MsgRecording(const cDevice *Device, const char *Name);
00118   static void MsgReplaying(const cControl *Control, const char *Name);
00119   static void MsgSetVolume(int Volume, bool Absolute);
00120   static void MsgOsdClear(void);
00121   static void MsgOsdTitle(const char *Title);
00122   static void MsgOsdStatusMessage(const char *Message);
00123   static void MsgOsdHelpKeys(const char *Red, const char *Green, const char *Yellow, const char *Blue);
00124   static void MsgOsdCurrentItem(const char *Text);
00125   static void MsgOsdTextItem(const char *Text,  bool Scroll = false);
00126   static void MsgOsdChannel(const char *Text);
00127   static void MsgOsdProgramme(time_t PresentTime, const char *PresentTitle, const char *PresentSubtitle, time_t FollowingTime, const char *FollowingTitle, const char *FollowingSubtitle);
00128   };
00129 
00130 #endif //__STATUS_H
00131 

Generated on Wed Feb 5 23:30:12 2003 for VDR by doxygen1.3-rc2