|
//
// writeCommentAndAskController.h
// ThePaperHD
//
// Created by scar1900 on 15/3/4.
// Copyright (c) 2015年 scar1900. All rights reserved.
//
#import "TPHttpController.h"
//回复评论弹出框
typedef enum
{
commentType, //评论
commentForUserType, //答复某人
askType, //提问
askForUserType, //评论某人的回答
aswerType, //回答
interactionCommentType, //互动回复
interactionAskType //互动提问
}
commentAndAskType;
@protocol writeContentDelegate <NSObject>
@optional
- (void)writeConetentPopBack;
- (void)commentSuccess:(commentAndAskType)type;
@end
@interface writeCommentAndAskController : TPHttpController
@property(nonatomic, assign)commentAndAskType type;
@property(nonatomic, strong)commentObjectVO *commentBO;
@property(nonatomic, strong)NSString *nodeId;
@property(nonatomic, assign)BOOL isPush;
@property(nonatomic, weak)id<writeContentDelegate> delegate;
@property(nonatomic, strong)NSString *commentOT;
@property(nonatomic, strong)NSString *placeHoldText;
@property(nonatomic, assign)BOOL isMessage;
- (void)closeKeyBoard;
@end
|