home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
c
/
actlib11
/
tvtools
/
menu.h
< prev
next >
Wrap
Text File
|
1993-01-14
|
1KB
|
64 lines
/* Copyright (C) 1993 Marc Stern (internet: stern@mble.philips.be) */
/*-------------------------------------------------------*/
/* */
/* menu.h: Header file for menu.cpp */
/*-------------------------------------------------------*/
#if ! defined( __MENU_H )
#define __MENU_H
#if defined(Uses_TMenuItem)
TMenuItem& operator + ( TMenuItem& i1, TMenuItem& i2 );
inline void operator += ( TMenuItem& i1, TMenuItem& i2 )
{ i1 = i1 + i2; }
#endif
#if defined(Uses_TSItem)
TSItem& operator + ( TSItem& i1, TSItem& i2 );
inline void operator += ( TSItem& i1, TSItem& i2 )
{ i1 = i1 + i2; }
#endif
#if defined(Uses_TSubMenu)
inline void operator += ( TSubMenu& s1, TSubMenu& s2 )
{ s1 = s1 + s2; }
#endif
#if defined(Uses_TMenuItem) && defined(Uses_TSubMenu)
inline void operator += ( TSubMenu& i1, TMenuItem& i2 )
{ i1 = i1 + i2; }
#endif
#if defined(Uses_TStatusDef)
inline void operator += ( TStatusDef& s1, TStatusDef& s2 )
{ s1 = s1 + s2; }
#endif
#if defined(Uses_TStatusDef) && defined(Uses_TStatusItem)
inline void operator += ( TStatusDef& s1, TStatusItem& s2 )
{ s1 = s1 + s2; }
#endif
#endif