//
//  NewUtilityView.h
//  zhuxun
//
//  Created by winsoft on 17/4/1.
//
//

#import <UIKit/UIKit.h>
#define CSFileTypeClassViewH 170
typedef enum {
    CSFileTypeAll         = -1,
    CSFileTypePic         = 0,
    CSFileTypeDoc         = 1,
    CSFileTypeVideo       = 3,
    CSFileTypeAudio       = 2,
    CSFileTypeAudioOther  = 5
}CSFileType;

typedef void (^UtilityOperateBlock)(CSFileType csFileType);

/**
 *  根据文件类型过滤view
 */
@interface CSFileTypeClassView : UIView
@property (nonatomic , strong)UtilityOperateBlock utilityOperateBlock;

- (void)reloadData;
@end

@interface CSFileOnePageUtilityCell : UICollectionViewCell
@property (nonatomic , strong)UtilityOperateBlock utilityOperateBlock;
- (void)setUitilityIconsArray:(NSArray *)iconArray titlesArray:(NSArray *)titleArray;
@end

@interface CSFileOnePageUtilityView : UIView
@property (nonatomic , strong)UtilityOperateBlock utilityOperateBlock;
- (void)setUitilityIconsArray:(NSArray *)iconArray titlesArray:(NSArray *)titleArray;
@end
