Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (26 sloc) 999 Bytes
//
// ORSTwitterEngine+FavoritesAndDMAdditions.h
// Twitter Engine
//
// Created by Nicholas Toumpelis on 12/04/2009.
// Copyright 2009 Ocean Road Software. All rights reserved.
//
// Version 0.7
#import <Cocoa/Cocoa.h>
#import "ORSTwitterEngine.h"
@interface ORSTwitterEngine ( FavoritesAndDMAdditions )
// Favorite Methods
- (NSArray *) getFavoritesForUser:(NSString *)userID;
- (NSArray *) getFavoritesAtPage:(NSString *)page;
- (NSArray *) getFavoritesForUser:(NSString *)userID atPage:(NSString *)page;
- (BOOL) createFavorite:(NSString *)statusID;
- (void) createBlindFavorite:(NSString *)statusID;
- (BOOL) destroyFavorite:(NSString *)statusID;
// Direct Message Methods
- (NSArray *) getReceivedDMsSince:(NSString *)date;
- (NSArray *) getReceivedDMsAtPage:(NSString *)page;
- (NSArray *) getSentDMsSince:(NSString *)date;
- (NSArray *) getSentDMsAtPage:(NSString *)page;
- (BOOL) newDM:(NSString *)message toUser:(NSString *)userID;
- (BOOL) destroyDM:(NSString *)messageID;
@end