aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.h
diff options
context:
space:
mode:
authorMax Horn2008-02-01 23:36:45 +0000
committerMax Horn2008-02-01 23:36:45 +0000
commit5dfabb24d064a1a05cf4adc8d5f3f88c125ba5df (patch)
treeb92a0cd6afe60a45514685cbee7eac79fa9ba9cd /base/plugins.h
parent511019bd83c55d47fdc0e3c94220d3a68e851779 (diff)
downloadscummvm-rg350-5dfabb24d064a1a05cf4adc8d5f3f88c125ba5df.tar.gz
scummvm-rg350-5dfabb24d064a1a05cf4adc8d5f3f88c125ba5df.tar.bz2
scummvm-rg350-5dfabb24d064a1a05cf4adc8d5f3f88c125ba5df.zip
Moved enum PluginError from base/plugins.h to common/error.h
svn-id: r30723
Diffstat (limited to 'base/plugins.h')
-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.