You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
508 B
22 lines
508 B
//
|
|
// HandleBroadcastPtl.h
|
|
// JL_OTA
|
|
//
|
|
// Created by EzioChan on 2023/1/30.
|
|
// Copyright © 2023 Zhuhia Jieli Technology. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface HandleBroadcastPtl : NSObject
|
|
@property(nonatomic,strong,readonly)NSHashTable *delegates;
|
|
@property(nonatomic,strong)NSLock *delegateLock;
|
|
|
|
-(void)addDelegate:(id)delegate;
|
|
-(void)removeDelegate:(id)delegate;
|
|
-(void)removeAll;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|