From 7028cbe09c688437910a25623098762bf0fa592d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 28 Mar 2016 22:28:34 +1000 Subject: Move Irrlicht to src/others. --- .../doc/html/_i_read_file_8h_source.html | 163 +++++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 src/others/irrlicht-1.8.1/doc/html/_i_read_file_8h_source.html (limited to 'src/others/irrlicht-1.8.1/doc/html/_i_read_file_8h_source.html') diff --git a/src/others/irrlicht-1.8.1/doc/html/_i_read_file_8h_source.html b/src/others/irrlicht-1.8.1/doc/html/_i_read_file_8h_source.html new file mode 100644 index 0000000..bb6cf5b --- /dev/null +++ b/src/others/irrlicht-1.8.1/doc/html/_i_read_file_8h_source.html @@ -0,0 +1,163 @@ + + +
+ +00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt +00002 // This file is part of the "Irrlicht Engine". +00003 // For conditions of distribution and use, see copyright notice in irrlicht.h +00004 +00005 #ifndef __I_READ_FILE_H_INCLUDED__ +00006 #define __I_READ_FILE_H_INCLUDED__ +00007 +00008 #include "IReferenceCounted.h" +00009 #include "coreutil.h" +00010 +00011 namespace irr +00012 { +00013 namespace io +00014 { +00015 +00017 class IReadFile : public virtual IReferenceCounted +00018 { +00019 public: +00021 +00024 virtual s32 read(void* buffer, u32 sizeToRead) = 0; +00025 +00027 +00032 virtual bool seek(long finalPos, bool relativeMovement = false) = 0; +00033 +00035 +00036 virtual long getSize() const = 0; +00037 +00039 +00040 virtual long getPos() const = 0; +00041 +00043 +00044 virtual const io::path& getFileName() const = 0; +00045 }; +00046 +00048 IReadFile* createReadFile(const io::path& fileName); +00050 IReadFile* createLimitReadFile(const io::path& fileName, IReadFile* alreadyOpenedFile, long pos, long areaSize); +00052 IReadFile* createMemoryReadFile(void* memory, long size, const io::path& fileName, bool deleteMemoryWhenDropped); +00053 +00054 } // end namespace io +00055 } // end namespace irr +00056 +00057 #endif +00058 +