//
//  GTOAttachmentView.h
//  total
//
//  Created by freecui on 15/11/5.
//  Copyright © 2015年 free. All rights reserved.
//

//@class GTOMutiPhotosView;
//@protocol ICRAttachmentViewDelegate <NSObject>
//
//@optional
//- (void)attachmentView: (ICRAttachmentView *)attachmentView removeContentAttachmentViewAtIndex:(NSUInteger)uiIndex;
//
//@end

#import "IBTUIView.h"
#import "ICRAttachmentUnit.h"

//typedef NS_ENUM(NSUInteger, ICRAttViewType) {
//    kAttViewImage = 0,
//    kAttViewTask,
//    kAttViewVoice,
//};

@interface GTOMutiPhotosView : IBTUIView
//@property (strong, nonatomic) UIButton *m_addButton;
@property (strong, nonatomic) IBTUIScrollView *m_scrollView;
@property (strong, nonatomic) NSMutableArray *m_arrAttViews;
@property (assign, nonatomic) NSUInteger m_uiMaxAttCount;
//@property (assign, nonatomic) id<ICRAttachmentViewDelegate>delegate;

@property (assign, nonatomic) BOOL isDownImg;//是否是从网络上下载的图片


//- (instancetype)initWithType:(ICRAttViewType)eType;

- (void)addContentAttachmentView:(ICRAttachmentUnit *)attView;

- (void)removeContentAttachmentViewAtIndex:(NSUInteger)uiIndex;

@end
