Created
November 27, 2012 06:02
-
-
Save rossmartin/4152634 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********* PhoneGapDropbox.h Cordova Plugin Header *******/ | |
#import <Cordova/CDV.h> | |
#import <DropboxSDK/DropboxSDK.h> | |
DBRestClient *restClient; // declare REST client instance var to use file upload/download methods | |
NSString* restoreJavaScript = nil; // declare restoreJavaScript instance var for restore JavaScript callback | |
@interface PhoneGapDropbox : CDVPlugin | |
- (void) link:(CDVInvokedUrlCommand*)command; | |
- (void) checkAuth:(CDVInvokedUrlCommand*)command; | |
- (void) unlink:(CDVInvokedUrlCommand*)command; | |
- (void) upload:(CDVInvokedUrlCommand*)command; | |
- (void) download:(CDVInvokedUrlCommand*)command; | |
@property (nonatomic, retain) NSString *restoreJavaScript; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment