Use NS_ERROR_ENUM for OEGameCoreManagerErrorCodes.

This commit is contained in:
C.W. Betts
2020-09-22 09:53:25 -06:00
parent 4e138885d0
commit ca4a03be2b
+5 -5
View File
@@ -31,7 +31,11 @@
@protocol OEGameCoreOwner;
@class OECorePlugin, OEGameCoreController, OESystemPlugin, OEGameStartupInfo;
enum _OEGameCoreManagerErrorCodes
NS_ASSUME_NONNULL_BEGIN
extern NSString * const OEGameCoreErrorDomain;
typedef NS_ERROR_ENUM(OEGameCoreErrorDomain, OEGameCoreManagerErrorCodes)
{
OEHelperAppNotRunningError = -3,
OEConnectionTimedOutError = -4,
@@ -39,10 +43,6 @@ enum _OEGameCoreManagerErrorCodes
OENilRootProxyObjectError = -6,
};
NS_ASSUME_NONNULL_BEGIN
extern NSString * const OEGameCoreErrorDomain;
@interface OEGameCoreManager : NSObject <OEGameCoreHelper>
/*! @brief Initializes an @c OEGameCoreManager object with the specified parameters.