澎湃iPad上线版本

TPWebContentViewModel.h 1.2KB

    // // TPWebContentViewModel.h // ThePaperBase // // Created by scar1900 on 15/8/10. // Copyright (c) 2015年 scar1900. All rights reserved. // 外链文章viewmodel #import <Foundation/Foundation.h> @protocol TPWebContentViewModelDelegate <NSObject> @optional - (void)startHud; - (void)stopHud; - (void)returnDetailPageInfo:(contDetailPageVO*)detailInfoBO; //返回页面数据源 - (void)collectResult:(BOOL)success; //收藏回调 //评论数据 - (void)returnCommentList:(NSMutableArray*)commentArray nodeId:(NSString*)nodeId nextUrl:(NSString*)nextUrl commentTotalRecord:(NSInteger)recordTotal; //热问答数据 - (void)returnHotAskDic:(NSMutableDictionary*)qaDic nodeId:(NSString*)nodeId nextUrl:(NSString*)nextUrl askTotalRecord:(NSInteger)recordTotal; - (void)contentHaveOffline; //文章已下线 - (void)remoteFail:(BOOL)isTimeOut; //网络出错 @end @interface TPWebContentViewModel : NSObject @property(nonatomic, strong)NSString *nodeID; @property(nonatomic, weak)id<TPWebContentViewModelDelegate> delegate; - (void)askForContentInfo; - (void)remoteAction; - (void)collectContent; - (void)cancelCollect; @end