|
//
// writeCommentAndAskController.h
// ThePaperDemo
//
// Created by scar1900 on 14/12/25.
// Copyright (c) 2014年 scar1900. All rights reserved.
//
#import "TPHttpController.h"
//回复评论弹出框
typedef enum
{
commentType, //评论
commentForUserType, //答复某人
askType, //提问
askForUserType, //评论某人的回答
aswerType, //回答
interactionCommentType, //互动回复
interactionAskType //互动提问
}
commentAndAskType;
@protocol writeContentDelegate <NSObject>
- (void)dismissWriteContent:(commentAndAskType)type;
- (void)commentSuccess:(commentAndAskType)type;
@end
//撰写评论和问答controller
@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;
- (void)closeKeyBoard;
@end
|