home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
c
/
actlib11
/
tvtools
/
menu.cpp
< prev
next >
Wrap
Text File
|
1993-01-14
|
470b
|
24 lines
/* Copyright (C) 1993 Marc Stern (internet: stern@mble.philips.be) */
#define Uses_TMenuItem
#define Uses_TSItem
#include "tvtools.h"
TMenuItem& operator + ( TMenuItem& i1, TMenuItem& i2 )
{
for ( TMenuItem *item = &i1; item->next; item = item->next );
item->next = &i2;
return i1;
}
TSItem& operator + ( TSItem& i1, TSItem& i2 )
{
for ( TSItem *item = &i1; item->next; item = item->next );
item->next = &i2;
return i1;
}