//
//  MPBatchPreviewCell.h
//  Phoenix
//
//  Created by Oleksii Dykan on 5/25/15.
//  Copyright (c) 2015 MacPhun LLC. All rights reserved.
//

#import "MPSCollectionViewCell.h"
#import "MPSSpinner.h"

@class MPSSpinner;

typedef void(^MPBatchPreviewCellDeleteCallback)(NSURL *imageUrl);

@interface MPBatchPreviewCell : MPSCollectionViewCell

@property (nonatomic, weak) IBOutlet NSImageView *imagePreview;

@property (nonatomic, strong) NSURL *imageURL;
@property (nonatomic, copy) MPBatchPreviewCellDeleteCallback deleteCallback;
@property (nonatomic, weak) IBOutlet MPSSpinner *spinner;

- (void)showSpinner;
- (void)hideSpinner;

@end
