summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-05-12 14:46:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-05-12 14:46:46 +0200
commit2cc450a67cd8c5bef3f0b568735e5bb7efde660a (patch)
tree85a6a3629a5171903663f29606e747f90d609892 /tools.h
parent97a5ac7cba7eccbabc757fc46d62bbb3786b94fc (diff)
downloadvdr-2cc450a67cd8c5bef3f0b568735e5bb7efde660a.tar.gz
vdr-2cc450a67cd8c5bef3f0b568735e5bb7efde660a.tar.bz2
Added 'insert' capabilities to cList
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools.h b/tools.h
index bf064ce7..44b96abc 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 1.43 2002/05/11 08:35:47 kls Exp $
+ * $Id: tools.h 1.44 2002/05/12 11:14:18 kls Exp $
*/
#ifndef __TOOLS_H
@@ -120,6 +120,7 @@ public:
virtual ~cListObject();
virtual bool operator< (const cListObject &ListObject) { return false; }
void Append(cListObject *Object);
+ void Insert(cListObject *Object);
void Unlink(void);
int Index(void);
cListObject *Prev(void) const { return prev; }
@@ -132,7 +133,8 @@ protected:
cListBase(void);
public:
virtual ~cListBase();
- void Add(cListObject *Object);
+ void Add(cListObject *Object, cListObject *After = NULL);
+ void Ins(cListObject *Object, cListObject *Before = NULL);
void Del(cListObject *Object);
virtual void Move(int From, int To);
void Move(cListObject *From, cListObject *To);