Mercurial > hg > x
view tstream.h @ 5:5f3c32dc6e17
* Adjust comment syntax to permit Doxygen to generate HTML documentation; add Doxyfile
author | Chris Cannam |
---|---|
date | Wed, 06 Oct 2010 15:19:49 +0100 |
parents | fc19d45615d1 |
children | 9b1c0825cc77 |
line wrap: on
line source
#ifndef TSTREAM_H #define TSTREAM_H /** \file tstream.h - a stream I/O interface without implementation. This file is included to allow compiling relevent functions that uses Borland VCL's TStream class for abstract I/O purposes. */ enum TSeekOrigin {soFromBeginning, soFromCurrent, soFromEnd}; class TStream { public: TStream(); ~TStream(); int Read(void*, int){return 0;} int Write(void*, int){return 0;} int Seek(int, TSeekOrigin){return Position;} int Position; }; #endif // TSTREAM_H