[Scummvm-cvs-logs] CVS: scummvm/base plugins.h,1.18,1.19

Max Horn fingolfin at users.sourceforge.net
Fri Apr 9 08:24:12 CEST 2004


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9458/base

Modified Files:
	plugins.h 
Log Message:
Renamed template class 'List' to 'Array', since that is really what it is (a resizable array, not a linked list)

Index: plugins.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/plugins.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- plugins.h	9 Apr 2004 12:36:06 -0000	1.18
+++ plugins.h	9 Apr 2004 15:10:22 -0000	1.19
@@ -23,7 +23,7 @@
 #ifndef COMMON_PLUGINS_H
 #define COMMON_PLUGINS_H
 
-#include "common/list.h"
+#include "common/array.h"
 #include "common/singleton.h"
 #include "common/util.h"
 
@@ -34,7 +34,7 @@
 struct GameSettings;
 
 /** List of games. */
-typedef Common::List<GameSettings> GameList;
+typedef Common::Array<GameSettings> GameList;
 
 /**
  * A detected game. Carries the GameSettings, but also (optionally)
@@ -51,7 +51,7 @@
 };
 
 /** List of detected games. */
-typedef Common::List<DetectedGame> DetectedGameList;
+typedef Common::Array<DetectedGame> DetectedGameList;
 
 
 /**
@@ -100,7 +100,7 @@
 
 
 /** List of plugins. */
-typedef Common::List<Plugin *> PluginList;
+typedef Common::Array<Plugin *> PluginList;
 
 
 /**





More information about the Scummvm-git-logs mailing list