aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-02-04 18:38:22 +0000
committerJordi Vilalta Prat2008-02-04 18:38:22 +0000
commite4ab5dd33964c536ca1813e4a78373dda0008052 (patch)
tree1ff9af75ed432825cd6084b9a6cbe0a3b74a4c24 /engines
parent468e9cb056382043008a1ffbbf09acbeb972d1ec (diff)
downloadscummvm-rg350-e4ab5dd33964c536ca1813e4a78373dda0008052.tar.gz
scummvm-rg350-e4ab5dd33964c536ca1813e4a78373dda0008052.tar.bz2
scummvm-rg350-e4ab5dd33964c536ca1813e4a78373dda0008052.zip
Change MetaEngine references to PluginObject where possible to make its semantics more generic.
svn-id: r30789
Diffstat (limited to 'engines')
-rw-r--r--engines/metaengine.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/metaengine.h b/engines/metaengine.h
index df124c57c5..c07a4f6e88 100644
--- a/engines/metaengine.h
+++ b/engines/metaengine.h
@@ -28,8 +28,10 @@
#include "common/scummsys.h"
#include "common/str.h"
#include "common/error.h"
+#include "common/fs.h"
#include "base/game.h"
+#include "base/plugins.h"
class Engine;
class OSystem;
@@ -42,13 +44,10 @@ class OSystem;
* This is then in turn used by the frontend code to detect games,
* and instantiate actual Engine objects.
*/
-class MetaEngine {
+class MetaEngine : public PluginObject {
public:
virtual ~MetaEngine() {}
- /** Returns the name of the engine. */
- virtual const char *getName() const = 0;
-
/** Returns some copyright information about the engine. */
virtual const char *getCopyright() const = 0;