CellForWorkGroup.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // CellForQAList.h
  3. // github: https://github.com/samuelandkevin
  4. //
  5. // Created by samuelandkevin on 16/8/29.
  6. // Copyright © 2016年 HKP. All rights reserved.
  7. // 原创视图
  8. #import <UIKit/UIKit.h>
  9. //#import "YHWorkGroup.h"
  10. #import "HKPBotView.h"
  11. #import "MGGroupUserInfo.h"
  12. #import "MGGroupBottomCellView.h"
  13. #import "VideoFrame.h"
  14. #import "BzoneLogic.h"
  15. @class CellForWorkGroup;
  16. @protocol CellForWorkGroupDelegate <NSObject>
  17. - (void)onAvatarInCell:(CellForWorkGroup *)cell;
  18. - (void)onMoreInCell:(CellForWorkGroup *)cell;
  19. - (void)onCommentInCell:(CellForWorkGroup *)cell;
  20. - (void)onLikeInCell:(CellForWorkGroup *)cell;
  21. - (void)onShareInCell:(CellForWorkGroup *)cell;
  22. - (void)onTopicInCell:(CellForWorkGroup *)cell;
  23. - (void)onFollowInCell:(CellForWorkGroup *)cell;
  24. //视频被点击
  25. - (void)onTouchActionVideo:(CellForWorkGroup *)cell withFullScreen:(BOOL)isFull;
  26. @optional
  27. - (void)onDeleteInCell:(CellForWorkGroup *)cell;
  28. @end
  29. @interface CellForWorkGroup : UITableViewCell<MGBotViewDelegate>
  30. @property (nonatomic,strong) MGGroupUserInfo *model;
  31. @property (nonatomic) NSIndexPath *indexPath;
  32. @property (nonatomic, weak) id<CellForWorkGroupDelegate> delegate;
  33. //@property (nonatomic,strong)HKPBotView *viewBottom;
  34. @property (nonatomic, strong) MGGroupBottomCellView *bottomView;
  35. @property (nonatomic, strong) VideoFrame *ClVideoview;
  36. @property(nonatomic, strong) QMUIButton *liksBtn;
  37. @property(nonatomic, strong) QMUIButton *commentBtn;
  38. @property(nonatomic, assign) MGDTHOMETYPE homeType;
  39. @end