[Scummvm-cvs-logs] SF.net SVN: scummvm:[34684] scummvm/trunk/engines/scumm/file_nes.h

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Sep 29 13:03:12 CEST 2008


Revision: 34684
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34684&view=rev
Author:   fingolfin
Date:     2008-09-29 11:03:10 +0000 (Mon, 29 Sep 2008)

Log Message:
-----------
Added const qualifiers

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/file_nes.h

Modified: scummvm/trunk/engines/scumm/file_nes.h
===================================================================
--- scummvm/trunk/engines/scumm/file_nes.h	2008-09-29 11:02:11 UTC (rev 34683)
+++ scummvm/trunk/engines/scumm/file_nes.h	2008-09-29 11:03:10 UTC (rev 34684)
@@ -68,9 +68,9 @@
 	bool openSubFile(const Common::String &filename);
 
 	void close();
-	bool eos() { return _stream->eos(); }
-	int32 pos() { return _stream->pos(); }
-	int32 size() { return _stream->size(); }
+	bool eos() const { return _stream->eos(); }
+	int32 pos() const { return _stream->pos(); }
+	int32 size() const { return _stream->size(); }
 	bool seek(int32 offs, int whence = SEEK_SET) { return _stream->seek(offs, whence); }
 	uint32 read(void *dataPtr, uint32 dataSize) { return _stream->read(dataPtr, dataSize); }
 };


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list