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.
47 lines
1.4 KiB
47 lines
1.4 KiB
/*
|
|
* 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 to compile with gcc v3.x by Salvador E. Tropea, with the help of
|
|
Andris Pavenis and Christoph Bauer.
|
|
|
|
*
|
|
*
|
|
*/
|
|
|
|
/* ------------------------------------------------------------------------*/
|
|
/* */
|
|
/* class ifpstream */
|
|
/* */
|
|
/* Base class for reading streamable objects from file streams */
|
|
/* */
|
|
/* ------------------------------------------------------------------------*/
|
|
|
|
#if defined( Uses_ifpstream ) && !defined( __ifpstream )
|
|
#define __ifpstream
|
|
|
|
class ifpstream : public fpbase, public ipstream
|
|
{
|
|
public:
|
|
ifpstream();
|
|
ifpstream( const char *,
|
|
CLY_OpenModeT = CLY_IOSIn,
|
|
int = CLY_FBOpenProtDef
|
|
);
|
|
ifpstream( int );
|
|
ifpstream( int, char *, int );
|
|
~ifpstream();
|
|
|
|
CLY_filebuf *rdbuf();
|
|
void open( const char *,
|
|
CLY_OpenModeT = CLY_IOSIn,
|
|
int = CLY_FBOpenProtDef
|
|
);
|
|
};
|
|
|
|
#endif // Uses_ifpstream
|
|
|