RoomMicManageCell.h 930 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // RoomMicManageCell.h
  3. // UniversalApp
  4. //
  5. // Created by bogokj on 2019/8/7.
  6. // Copyright © 2019 voidcat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class RoomMicManageCell;
  10. @class RoomUserInfo;
  11. NS_ASSUME_NONNULL_BEGIN
  12. typedef NS_ENUM(NSInteger, RoomMicManageCellType) {
  13. RoomMicManageCellTypeManageView,
  14. RoomMicManageCellTypeUserList,
  15. RoomMicManageCellTypeBroadcaster,
  16. RoomMicManageCellTypeApplyList
  17. };
  18. @protocol RoomMicManageCellDelegate <NSObject>
  19. - (void)manageCell:(RoomMicManageCell *)messageCell didClickManageBtn:(UIButton *)sender;
  20. @optional
  21. - (void)manageCell:(RoomMicManageCell *)messageCell didClickMicBtn:(UIButton *)sender;
  22. @end
  23. @interface RoomMicManageCell : UITableViewCell
  24. @property(nonatomic, weak) id<RoomMicManageCellDelegate>delegate;
  25. @property(nonatomic, strong) RoomUserInfo *model;
  26. @property(nonatomic, assign) RoomMicManageCellType type;
  27. @end
  28. NS_ASSUME_NONNULL_END