WFCUSwitchTableViewCell.h 817 B

12345678910111213141516171819202122232425
  1. //
  2. // SwitchTableViewCell.h
  3. // WildFireChat
  4. //
  5. // Created by heavyrain lee on 27/12/2017.
  6. // Copyright © 2017 WildFireChat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <WFChatClient/WFCChatClient.h>
  10. typedef NS_ENUM(NSInteger, SwitchType) {
  11. SwitchType_Conversation_None = 0,
  12. SwitchType_Conversation_Silent = 1,
  13. SwitchType_Conversation_Top = 2,
  14. SwitchType_Conversation_Save_To_Contact = 3,
  15. SwitchType_Conversation_Show_Alias = 4,
  16. SwitchType_Setting_Global_Silent = 5,
  17. SwitchType_Setting_Show_Notification_Detail = 6,
  18. };
  19. @interface WFCUSwitchTableViewCell : UITableViewCell
  20. - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier conversation:(WFCCConversation*)conversation;
  21. @property(nonatomic, assign)SwitchType type;
  22. @end