mirror of
https://github.com/OpenEmu/OpenEmuKit.git
synced 2025-11-01 11:08:14 +00:00
Use NS_ERROR_ENUM for OEGameCoreManagerErrorCodes.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user