home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 Mobile
/
Chip_Mobile_2001.iso
/
palm
/
business
/
printcar
/
printcar.exe
/
src
/
Util
/
InputStream.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-06-07
|
561b
|
28 lines
//
// $Id: InputStream.h,v 1.2 2000/06/07 06:53:19 sergey Exp $
//
#ifndef _InputStream_h_
#define _InputStream_h_
namespace Util
{
//
// Input stream interface class
//
class InputStream
{
protected:
InputStream() {}
virtual ~InputStream() {}
public:
// Reads data from string. Returns amount of bytes read from the stream
virtual int readData(void* data, int size) const = 0;
virtual bool eof() const = 0;
};
}
// namespace Util
#endif // _InputStream_h_