2
0

WFCUSwitchTableViewCell.h 896 B

123456789101112131415161718192021222324252627
  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. SwitchType_Setting_Sync_Draft = 7,
  19. SwitchType_Setting_Voip_Silent = 8,
  20. };
  21. @interface WFCUSwitchTableViewCell : UITableViewCell
  22. - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier conversation:(WFCCConversation*)conversation;
  23. @property(nonatomic, assign)SwitchType type;
  24. @end