Mercurial > hg > octave-lojdl
changeset 1425:c194fa377970
[project @ 1995-09-19 03:32:33 by jwe]
author | jwe |
---|---|
date | Tue, 19 Sep 1995 03:32:33 +0000 |
parents | 8b1837bc1eac |
children | 29f274b42cb1 |
files | src/file-io.h |
diffstat | 1 files changed, 2 insertions(+), 33 deletions(-) [+] |
line wrap: on
line diff
--- a/src/file-io.h +++ b/src/file-io.h @@ -23,44 +23,13 @@ // Written by John C. Campbell <jcc@che.utexas.edu>. -#if !defined (octave_files_h) -#define octave_files_h 1 - -#include <Pix.h> - -#include "oct-obj.h" +#if !defined (octave_file_io_h) +#define octave_file_io_h 1 extern void initialize_file_io (void); extern void close_files (void); -class -file_info -{ -public: - file_info (void); - file_info (int num, const char *nm, FILE *t, const char *md); - file_info (const file_info& f); - - file_info& operator = (const file_info& f); - - ~file_info (void); - - int number (void) const; - const char *name (void) const; - FILE *fptr (void) const; - const char *mode (void) const; - - int eof (void) const; - int error (void) const; - -private: - int file_number; - char *file_name; - FILE *file_fptr; - char *file_mode; -}; - #endif /*