You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
828 B

/*
* Turbo Vision - Version 2.0
*
* Copyright (c) 1994 by Borland International
* All Rights Reserved.
*
Modified by Robert H”hne to be used for RHIDE.
Modified by Salvador E. Tropea: added operators and append.
*
*
*/
#if defined( Uses_TSItem ) && !defined( __TSItem )
#define __TSItem
class TSItem
{
public:
TSItem( const char *aValue, TSItem *aNext )
{ value = newStr(aValue); next = aNext; }
~TSItem() { DeleteArray((char *)value); }
void append( TSItem *aNext ); // SET: I put it in the same source as TCluster
const char *value;
TSItem *next;
};
// by SET
inline TSItem& operator + ( TSItem& s, TSItem& i )
{
s.append(&i);
return s;
}
// SET: From TVTools
inline void operator += ( TSItem& i1, TSItem& i2 )
{
i1 = i1 + i2;
}
#endif // Uses_TSItem