diff options
author | Eugene Sandulenko | 2011-06-17 10:19:57 -0700 |
---|---|---|
committer | Eugene Sandulenko | 2011-06-17 10:19:57 -0700 |
commit | 94ad45b0589faf3e316ecd988831e2d99f5ea28d (patch) | |
tree | e6fa68545dcf02cd8422b4a01e0bdb5d2f2ab385 /common | |
parent | 27890ec3e2cb708fc18f46f839dc8ce9d8311b3d (diff) | |
parent | 901b6191c5066ee373a588ad593bffa9ee076dca (diff) | |
download | scummvm-rg350-94ad45b0589faf3e316ecd988831e2d99f5ea28d.tar.gz scummvm-rg350-94ad45b0589faf3e316ecd988831e2d99f5ea28d.tar.bz2 scummvm-rg350-94ad45b0589faf3e316ecd988831e2d99f5ea28d.zip |
Merge pull request #30 from tsoliman/configure-enhancement-warning-clean
Configure enhancement warning clean
Diffstat (limited to 'common')
-rw-r--r-- | common/error.cpp | 3 | ||||
-rw-r--r-- | common/error.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/common/error.cpp b/common/error.cpp index a6c52a0ce9..78178f8e27 100644 --- a/common/error.cpp +++ b/common/error.cpp @@ -67,6 +67,9 @@ static String errorToString(ErrorCode errorCode) { case kEnginePluginNotSupportSaves: return _s("Engine plugin does not support save states"); + case kUserCanceled: + return _s("User canceled"); + case kUnknownError: default: return _s("Unknown error"); diff --git a/common/error.h b/common/error.h index 23c12b67e4..7043862eea 100644 --- a/common/error.h +++ b/common/error.h @@ -62,6 +62,8 @@ enum ErrorCode { kEnginePluginNotFound, ///< Failed to find plugin to handle target kEnginePluginNotSupportSaves, ///< Failed if plugin does not support listing save states + kUserCanceled, ///< User has canceled the launching of the game + kUnknownError ///< Catch-all error, used if no other error code matches }; |