home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-06-15 | 529 b | 30 lines | [TEXT/CWIE] |
- // FileReadingPath.h
-
- #ifndef FileReadingPath_h
- #define FileReadingPath_h
-
- #ifndef Integers_h
- #include "Integers.h"
- #endif
-
- class FileReadingPath
- {
- private:
- int16 refNum;
-
- // not implemented:
- FileReadingPath( const FileReadingPath& );
- void operator=( const FileReadingPath& );
-
- public:
- FileReadingPath() : refNum( 0 ) {}
- ~FileReadingPath();
-
- bool IsOpen() const { return refNum != 0; }
-
- int16 RefNum() const { return refNum; }
- void SetRefNum( int16 file ) { refNum = file; }
- };
-
- #endif
-