00001 //------------------------------------------------------------------------- 00002 // 00003 // File: FileIO.h 00004 // Desc: FileIO namespace header. 00005 // Author: memon <memon@inside.org> 00006 // 00007 //------------------------------------------------------------------------- 00008 // Copyright (c) 2000 Moppi Productions. All Rights Reserved. 00009 // This file is part of Moppi Demopaja SDK. For conditions of 00010 // distribution and use, see the accompanying license.txt file. 00011 // http://moppi.inside.org/demopaja/ 00012 //------------------------------------------------------------------------- 00013 00014 00015 #ifndef __DEMOPAJA_FILEIO_H__ 00016 #define __DEMOPAJA_FILEIO_H__ 00017 00019 namespace FileIO { 00020 00022 00024 enum FileIOErrorsE { 00025 IO_OK = 0, 00026 IO_END, 00027 IO_EOF, 00028 IO_ERROR_OPEN, 00029 IO_ERROR_WRITE, 00030 IO_ERROR_READ, 00031 IO_ERROR_FORMAT, 00032 }; 00033 00034 }; 00035 00036 #ifndef FILEIO_DONT_INCLUDE_STREAMS 00037 #include "LoadC.h" 00038 #include "SaveC.h" 00039 #endif 00040 00041 #endif