mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-01-14 08:57:53 -05:00
33 lines
987 B
Objective-C
Executable File
33 lines
987 B
Objective-C
Executable File
//
|
|
// TwitterPlugin.h
|
|
// TwitterPlugin
|
|
//
|
|
// Created by Antonelli Brian on 10/13/11.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <Twitter/Twitter.h>
|
|
#import <Accounts/Accounts.h>
|
|
#import <Cordova/CDVPlugin.h>
|
|
|
|
@interface TwitterPlugin : CDVPlugin{
|
|
}
|
|
|
|
- (void) isTwitterAvailable:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void) isTwitterSetup:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void) composeTweet:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void) getPublicTimeline:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void) getTwitterUsername:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void) getMentions:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void) getTWRequest:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
- (void) performCallbackOnMainThreadforJS:(NSString*)js;
|
|
|
|
@end
|