//
//  MCToastView.h
//  IDM
//
//  Created by pravinreddy kasareddy on 9/14/13.
//  Updated by Lin Zhou
//  Copyright (c) 2013 Infor Global Solutions Inc, Alpharetta, USA. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "AppDefinitions.h"

@interface MCToastView : UIView

@property (nonatomic, assign) ToastType type;
@property (nonatomic, assign) ToastLocation location;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *message;
@property (nonatomic, assign) BOOL close;
@property (nonatomic, assign) BOOL done;
@property (nonatomic, assign) CGFloat timeout;
@property (nonatomic, assign) CGFloat offset;


@property (nonatomic, assign, getter = getToastWidth) CGFloat toastHeight;
@property (nonatomic, assign, getter = _toastWidth) CGFloat toastWidth;

- (id)initWithTitle:(NSString *)message
             offset:(CGFloat)offset
           duration:(int)duration
               type:(ToastType)type;
- (void)show;
- (void)stop;
- (void)abort;

@end
