|
//
// detailContentController.h
// ThePaperDemo
//
// Created by scar1900 on 14/11/3.
// Copyright (c) 2014年 scar1900. All rights reserved.
//
#import "newPageBaseController.h"
#import "detailPageViewModel.h"
#import "TPMovieContent.h"
@protocol detailContentDelegate <NSObject>
- (void)popBackButtonHandler;
- (void)askButtonHandler;
- (void)videoEnterFullScreen:(BOOL)isEnterFullScreen;
- (void)videoClosedWithEmbeddedFullScrrenn;
- (void)shareBtnHandler:(contentObjectBO *)contentBO WithButton:(UIButton *)btn;
- (void)askButtonClick:(UIButton *)btn;
- (void)needRefreshPage;
- (void)didPlayVedio;
- (void)didEndPlayVedio;
- (void)detailToShare:(UIImage*) img contentBO:(contentObjectBO *) contentBO;
- (void)dismissSelfView;
@end
@interface detailContentController : TPTableViewController
//@property(nonatomic, strong)UITableView *detailMainTableView;
@property(nonatomic, strong)contDetailPageVO *detailContentBO;
@property(nonatomic, strong)contentObjectBO *refreshBO;
@property(nonatomic, strong)TPMovieContent *moviePlayerController;
@property(nonatomic, weak)id<detailContentDelegate> delegate;
@property(nonatomic, assign)BOOL isOffline;
@property(nonatomic, strong)detailPageViewModel *viewModel;
//@property(nonatomic, strong)TPMoviePlayerView *movieView;
- (void)turnToright;
- (void)turnMovieViewToPortrait;
- (void)reloadTableWithFontChange;
- (void)stopAndRemoveVideo;
@end
|