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

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. * Turbo Vision - Version 2.0
  3. *
  4. * Copyright (c) 1994 by Borland International
  5. * All Rights Reserved.
  6. *
  7. Modified by Robert H�hne to be used for RHIDE.
  8. Modified to compile with gcc v3.x by Salvador E. Tropea, with the help of
  9. Andris Pavenis and Christoph Bauer.
  10. *
  11. *
  12. */
  13. /* ------------------------------------------------------------------------*/
  14. /* */
  15. /* class ifpstream */
  16. /* */
  17. /* Base class for reading streamable objects from file streams */
  18. /* */
  19. /* ------------------------------------------------------------------------*/
  20. #if defined( Uses_ifpstream ) && !defined( __ifpstream )
  21. #define __ifpstream
  22. class ifpstream : public fpbase, public ipstream
  23. {
  24. public:
  25. ifpstream();
  26. ifpstream( const char *,
  27. CLY_OpenModeT = CLY_IOSIn,
  28. int = CLY_FBOpenProtDef
  29. );
  30. ifpstream( int );
  31. ifpstream( int, char *, int );
  32. ~ifpstream();
  33. CLY_filebuf *rdbuf();
  34. void open( const char *,
  35. CLY_OpenModeT = CLY_IOSIn,
  36. int = CLY_FBOpenProtDef
  37. );
  38. };
  39. #endif // Uses_ifpstream