[Scummvm-cvs-logs] SF.net SVN: scummvm:[41058] scummvm/trunk/engines/gob/save/saveload.h

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sun May 31 05:06:20 CEST 2009


Revision: 41058
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41058&view=rev
Author:   drmccoy
Date:     2009-05-31 03:06:19 +0000 (Sun, 31 May 2009)

Log Message:
-----------
public'ing some inner classes since some compilers don't seem to like nested friend'ing (while my gcc 4.3.3 doesn't even complain with -pedantic)

Modified Paths:
--------------
    scummvm/trunk/engines/gob/save/saveload.h

Modified: scummvm/trunk/engines/gob/save/saveload.h
===================================================================
--- scummvm/trunk/engines/gob/save/saveload.h	2009-05-31 02:37:24 UTC (rev 41057)
+++ scummvm/trunk/engines/gob/save/saveload.h	2009-05-31 03:06:19 UTC (rev 41058)
@@ -176,7 +176,6 @@
 		bool saveScreenshot(int slot, const SavePartSprite *screenshot);
 		bool loadScreenshot(int slot, SavePartSprite *screenshot);
 
-	private:
 		/** Slot file construction. */
 		class File : public SlotFileIndexed {
 		public:
@@ -187,6 +186,7 @@
 			int getSlot(int32 offset) const;
 			int getSlotRemainder(int32 offset) const;
 		};
+	private:
 
 		File *_slotFile;
 
@@ -298,7 +298,6 @@
 		bool saveScreenProps(int slot, const byte *props);
 		bool loadScreenProps(int slot, byte *props);
 
-	private:
 		/** Slot file construction. */
 		class File : public SlotFileIndexed {
 		public:
@@ -310,6 +309,7 @@
 			int getSlotRemainder(int32 offset) const;
 		};
 
+	private:
 		bool _firstSize;
 
 		byte _props[500];


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