aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/plugins.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/base/plugins.h b/base/plugins.h
index 23a28b745c..b37c4eba29 100644
--- a/base/plugins.h
+++ b/base/plugins.h
@@ -27,6 +27,7 @@
#define BASE_PLUGINS_H
#include "common/array.h"
+#include "common/error.h"
#include "common/list.h"
#include "common/singleton.h"
#include "common/util.h"
@@ -37,20 +38,6 @@ class FSList;
class OSystem;
/**
- * Error codes which mayb be reported by plugins under various circumstances.
- * @todo Turn this into a global 'ErrorCode' enum used by all of ScummVM ?
- */
-enum PluginError {
- kNoError = 0, // No error occured
- kInvalidPathError,
- kNoGameDataFoundError,
- kUnsupportedGameidError,
-
- kUnknownError // Catch-all error, used if no other error code matches
-};
-
-
-/**
* Abstract base class for the plugin system.
* Subclasses for this can be used to wrap both static and dynamic
* plugins.