//
//  MCToast.h
//  IDM
//
//  Created by pravinreddy kasareddy on 8/22/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"

@class MCToastView;

@interface MCToast : NSObject

@property (nonatomic, strong) MCToastView *toastView;
@property (nonatomic) BOOL running;

+ (MCToast *)sharedInstance;
- (void)createToast:(NSString *)message
       inController:(UIViewController *)controller
             offset:(CGFloat)offset
           duration:(int)duration
               type:(ToastType)type;
- (void)hide;
- (void)abort;

@end


