Commit 24bbe96c authored by bitplane's avatar bitplane

A couple of cosmetic things I forgot to check in a while ago.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2514 dfc29bdd-3216-0410-991c-e03cc46cb475
parent c0170c7c
...@@ -64,8 +64,10 @@ struct IFileArchiveEntry ...@@ -64,8 +64,10 @@ struct IFileArchiveEntry
/** It manages where files are, so that modules which use the the IO do not /** It manages where files are, so that modules which use the the IO do not
need to know where every file is located. A file could be in a .zip-Archive or need to know where every file is located. A file could be in a .zip-Archive or
as file on disk, using the IFileSystem makes no difference to this. */ as file on disk, using the IFileSystem makes no difference to this. */
struct IFileArchive : public virtual IReferenceCounted class IFileArchive : public virtual IReferenceCounted
{ {
public:
//! return the id of the file Archive //! return the id of the file Archive
virtual const core::string<c16>& getArchiveName() =0; virtual const core::string<c16>& getArchiveName() =0;
...@@ -94,8 +96,9 @@ struct IFileArchive : public virtual IReferenceCounted ...@@ -94,8 +96,9 @@ struct IFileArchive : public virtual IReferenceCounted
currently unsupported file formats (e.g .wad), then implement currently unsupported file formats (e.g .wad), then implement
this and add your new Archive loader with this and add your new Archive loader with
IFileSystem::addArchiveLoader() to the engine. */ IFileSystem::addArchiveLoader() to the engine. */
struct IArchiveLoader : public virtual IReferenceCounted class IArchiveLoader : public virtual IReferenceCounted
{ {
public:
//! Check if the file might be loaded by this class //! Check if the file might be loaded by this class
/** Check is based on the file extension (e.g. ".zip") /** Check is based on the file extension (e.g. ".zip")
\param fileName Name of file to check. \param fileName Name of file to check.
......
...@@ -20,7 +20,7 @@ namespace io ...@@ -20,7 +20,7 @@ namespace io
//! Reads an amount of bytes from the file. //! Reads an amount of bytes from the file.
/** \param buffer Pointer to buffer where read bytes are written to. /** \param buffer Pointer to buffer where read bytes are written to.
\param sizeToRead Amount of bytes to read from the file. \param sizeToRead Amount of bytes to read from the file.
\return How much bytes were read. */ \return How many bytes were read. */
virtual s32 read(void* buffer, u32 sizeToRead) = 0; virtual s32 read(void* buffer, u32 sizeToRead) = 0;
//! Changes position in file //! Changes position in file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment