//
//  GMEmptyView.h
//  Gengmei
//
//  Created by Terminator on 15/10/16.
//  Copyright © 2015年 Wanmeichuangyi. All rights reserved.
//

#import "GMView.h"

@class GMButton;

typedef NS_ENUM(NSUInteger, GMEmptyViewType) {
    GMEmptyViewTypeEmpty,
    GMEmptyViewTypeException
};

@protocol GMEmptyViewDelegate <NSObject>
- (void)emptyViewDidClickReload;
@end

@interface GMEmptyView : UIView
@property (nonatomic, strong) UIImageView *tipIcon;
@property (nonatomic, strong) UILabel *tipLabel;
@property (nonatomic, strong) GMButton *tipButton;
@property (nonatomic, assign) GMEmptyViewType type;
@property (nonatomic, weak) id<GMEmptyViewDelegate> delegate;
@end
