mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
33 lines
738 B
Objective-C
33 lines
738 B
Objective-C
//
|
|
// ProgressHud.m
|
|
//
|
|
// Created by Olivier Louvignes on 04/25/2012.
|
|
//
|
|
// Copyright 2011 Olivier Louvignes. All rights reserved.
|
|
// MIT Licensed
|
|
|
|
#ifdef CORDOVA_FRAMEWORK
|
|
#import <CORDOVA/CDVPlugin.h>
|
|
#else
|
|
#import "CDVPlugin.h"
|
|
#endif
|
|
|
|
#import "MBProgressHUD.h"
|
|
|
|
@interface ProgressHud : CDVPlugin {
|
|
|
|
NSString* callbackID;
|
|
MBProgressHUD* progressHUD;
|
|
|
|
}
|
|
|
|
@property (nonatomic, copy) NSString* callbackID;
|
|
@property (nonatomic, assign) MBProgressHUD* progressHUD;
|
|
|
|
//Instance Method
|
|
- (void) show:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
- (void) set:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
- (void) hide:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
@end
|