diff options
Diffstat (limited to 'src/game/file.h')
-rw-r--r-- | src/game/file.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/game/file.h b/src/game/file.h deleted file mode 100644 index ebdff9e..0000000 --- a/src/game/file.h +++ /dev/null @@ -1,30 +0,0 @@ -/* file.h - This file is part of the Osirion project and is distributed under - the terms of the GNU General Public License version 2 -*/ - -#ifndef __INCLUDED_FILE_H__ -#define __INCLUDED_FILE_H__ - -// C++ headers -#include <string> -#include <fstream> - -// project headers -#include "game.h" - - -namespace game { - -/// a class to open data files -class File : public std::ifstream -{ -public: - /// open the file for reading - void open(const char * filename, std::ios_base::openmode mode = std::ios_base::in ); - -}; // class File - -} // namesoace game - -#endif // __INCLUDED_GAME_H__ |