//
//  ICRAttachmentView.h
//  Cruiser
//
//  Created by Xummer on 15/4/15.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

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

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

@interface ICRAttachmentView : 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;

- (instancetype)initWithType:(ICRAttViewType)eType;

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

- (void)removeContentAttachmentViewAtIndex:(NSUInteger)uiIndex;

@end
