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.
tdelibs/dcop/kdatastream.h

21 lines
312 B

#ifndef __kdatastream__h
#define __kdatastream__h
#include <tqdatastream.h>
inline TQDataStream & operator << (TQDataStream & str, bool b)
{
str << TQ_INT8(b);
return str;
}
inline TQDataStream & operator >> (TQDataStream & str, bool & b)
{
TQ_INT8 l;
str >> l;
b = bool(l);
return str;
}
#endif