//
//  TTVideoDetailView.h
//  DFTTFramework
//
//  Created by 路鹏 on 2017/4/27.
//  Copyright © 2017年 路鹏. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TTNewsListModel.h"
#import "TTVideoDetailCfg.h"

typedef void(^TTVideoDetailSuccessBlock)(NSString *success);
typedef void(^TTVideoDetailFailBlock)(NSString *fail);

@interface TTVideoDetailView : UIView
@property (nonatomic, assign) id delegate;
- (instancetype)initWithFrame:(CGRect)frame withVideoDetailCfg:(TTVideoDetailCfg *)newsDetailCfg withNewsListModel:(TTNewsListModel *)model withSuccess:(TTVideoDetailSuccessBlock)successBlock withFail:(TTVideoDetailFailBlock)failBlock;
@end

@protocol TTVideoDetailViewDelegate <NSObject>

//返回按钮点击
- (void)TTVideoDetailViewBackBtnClick;
@optional
- (void)TTVideoDetailView:(TTVideoDetailView *)view clickCellModel:(id)model PushType:(TTNewsListViewCellPushViewType)pushType;

@end
