39 lines
780 B
Objective-C
39 lines
780 B
Objective-C
//
|
||
// MicroQueueProtocol.h
|
||
// xplan-ios
|
||
//
|
||
// Created by zu on 2021/11/4.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@class MicroQueueModel;
|
||
|
||
/** 麦序数据的协议。
|
||
|
||
RoomVC 的子 View 之间的通信协议,通过 RoomHostDelegate 和 RoomGuestDelegate 继承实现。
|
||
|
||
调用方向:
|
||
|
||
- getMicroQueue:RoomVC 子 View —> RoomHostDelegate —> StageView
|
||
- onMicroQueueUpdate:StageView —> RoomHostDelegate —> RoomVC 子 View
|
||
|
||
*/
|
||
@protocol MicroQueueProtocol <NSObject>
|
||
|
||
@optional
|
||
/**
|
||
* 获取麦序。
|
||
*/
|
||
- (NSMutableDictionary<NSString *, MicroQueueModel *>*)getMicroQueue;
|
||
/**
|
||
* 麦序更新通知。
|
||
*/
|
||
- (void)onMicroQueueUpdate:(NSMutableDictionary<NSString *, MicroQueueModel *>*)queue;
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|