mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-01-14 16:58:03 -05:00
51 lines
1.2 KiB
Objective-C
51 lines
1.2 KiB
Objective-C
//
|
|
// ShareKitPlugin.h
|
|
//
|
|
//
|
|
// Created by Erick Camacho on 28/07/11.
|
|
// MIT Licensed
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "SHK.h"
|
|
#import "SHKSharer+Phonegap.h"
|
|
#ifdef CORDOVA_FRAMEWORK
|
|
#import <Cordova/CDVPlugin.h>
|
|
#import <Cordova/CDVPluginResult.h>
|
|
//#import <Cordova/JSONKit.h>
|
|
|
|
#else
|
|
#import "CDVPlugin.h"
|
|
#import "CDVPluginResult.h"
|
|
//#import "JSONKit.h"
|
|
#endif
|
|
|
|
|
|
|
|
@interface ShareKitPlugin : CDVPlugin {
|
|
|
|
|
|
}
|
|
|
|
|
|
- (void)share:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void)isLoggedToTwitter:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void)isLoggedToFacebook:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void)logoutFromTwitter:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void)logoutFromFacebook:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void)facebookConnect:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void)shareToFacebook:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void)shareToTwitter:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void)shareToMail:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
@end
|