diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-19 15:50:11 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-19 15:50:11 +0200 |
commit | 9f9d6a8a9354960eb9c42f9c45ed507f05804ff4 (patch) | |
tree | 6e7de2a8ce6d3cedc78038e4d70ef2ff56f24528 /tools.c | |
parent | 82725f53b5c23d3436f3b71845a1b61447b9780f (diff) | |
download | vdr-9f9d6a8a9354960eb9c42f9c45ed507f05804ff4.tar.gz vdr-9f9d6a8a9354960eb9c42f9c45ed507f05804ff4.tar.bz2 |
Implemented cStatusMonitor to allow plugins to set up a status monitor
Diffstat (limited to 'tools.c')
-rw-r--r-- | tools.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.c 1.66 2002/05/13 17:56:17 kls Exp $ + * $Id: tools.c 1.67 2002/05/18 15:10:45 kls Exp $ */ #include "tools.h" @@ -793,14 +793,15 @@ void cListBase::Ins(cListObject *Object, cListObject *Before) } } -void cListBase::Del(cListObject *Object) +void cListBase::Del(cListObject *Object, bool DeleteObject) { if (Object == objects) objects = Object->Next(); if (Object == lastObject) lastObject = Object->Prev(); Object->Unlink(); - delete Object; + if (DeleteObject) + delete Object; } void cListBase::Move(int From, int To) |