zworld-em/Plugins/sentry-unreal/Source/ThirdParty/Mac/include/Sentry/SentryInternalSerializable.h

24 lines
602 B
C
Raw Permalink Normal View History

2025-05-11 22:07:21 +08:00
#if __has_include(<Sentry/SentryDefines.h>)
# import <Sentry/SentryDefines.h>
#else
# import "SentryDefines.h"
#endif
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Use this protocol for internal ObjC classes that are exposed to Swift code by adding them to
* SentryPrivate.h instead of SentrySerializable because CocoaPods throws duplicate header warnings
* when running pod lib lint when using a public protocol on such classes.
*/
@protocol SentryInternalSerializable <NSObject>
SENTRY_NO_INIT
- (NSDictionary<NSString *, id> *)serialize;
@end
NS_ASSUME_NONNULL_END