Files
phonegap-plugins/iPhone/Twitter/native/ios/TwitterPlugin.h
Brian Antonelli 8c654dd132 Reworking compose tweet
Merged sendTweet and composeTweet. Changed how optional parameters
(image and url attachments) are sent. Added additional examples for
creating tweets.
2012-01-23 23:42:03 -05:00

33 lines
852 B
Objective-C

//
// TwitterPlugin.h
// TwitterPlugin
//
// Created by Antonelli Brian on 10/13/11.
//
#import <Foundation/Foundation.h>
#import <Twitter/Twitter.h>
#import <Accounts/Accounts.h>
#ifdef PHONEGAP_FRAMEWORK
#import <PhoneGap/PGPlugin.h>
#else
#import "PGPlugin.h"
#endif
@interface TwitterPlugin : PGPlugin{
}
- (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) getMentions:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void) performCallbackOnMainThreadforJS:(NSString*)js;
@end