diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-06-16 13:26:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-06-16 13:26:00 +0200 |
commit | 3ab746babd6d879f05b4cbc76662c65cf4146397 (patch) | |
tree | 0312baea9a9cef76689a86d6e74ffed68320e1cc /PLUGINS.html | |
parent | a4bfddd2f995ad03409de005bc3015437c10aa06 (diff) | |
download | vdr-3ab746babd6d879f05b4cbc76662c65cf4146397.tar.gz vdr-3ab746babd6d879f05b4cbc76662c65cf4146397.tar.bz2 |
Changed 'cStatusMonitor' to 'cStatus'1.1.3
Diffstat (limited to 'PLUGINS.html')
-rw-r--r-- | PLUGINS.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/PLUGINS.html b/PLUGINS.html index a0f7ebc9..a3adc937 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -857,12 +857,12 @@ plugin's name, and <tt>0.0.1</tt> will be your plugin's current version number. <center><i><b>A piece of the action</b></i></center><p> If a plugin wants to get informed on various events in VDR, it can derive a class from -<tt>cStatusMonitor</tt>, as in +<tt>cStatus</tt>, as in <p><table><tr><td bgcolor=#F0F0F0><pre><br> #include <vdr/status.h> -class cMyStatusMonitor : public cStatusMonitor { +class cMyStatusMonitor : public cStatus { protected: virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber); }; @@ -914,15 +914,15 @@ Note that the actual object is created in the <tt>Start()</tt> function, not in constructor! It is also important to delete the object in the destructor, in order to avoid memory leaks. <p> -A Plugin can implement any number of <tt>cStatusMonitor</tt> derived objects, and once +A Plugin can implement any number of <tt>cStatus</tt> derived objects, and once the plugin has been started it may create and delete them as necessary. -No further action apart from creating an object derived from <tt>cStatusMonitor</tt> +No further action apart from creating an object derived from <tt>cStatus</tt> is necessary. VDR will automatically hook it into a list of status monitors, with their individual virtual member functions being called in the same sequence as the objects were created. <p> See the file <tt>status.h</tt> for detailed information on which status monitor -member functions are available in <tt>cStatusMonitor</tt>. You only need to implement +member functions are available in <tt>cStatus</tt>. You only need to implement the functions you actually want to use. <!--X1.1.3--></td></tr></table> |