-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dwibbble.h
executable file
·44 lines (34 loc) · 952 Bytes
/
Dwibbble.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Dwibbble.h
*
*
* Created by Joshua Lee Tucker on 04/09/2010.
* Copyright 2010 Stunnify. All rights reserved.
*
*/
#define VERSION [NSString stringWithFormat:@"0.4"];
#import <Foundation/Foundation.h>
#import "DwibbbleShot.h"
#import "DwibbblePlayer.h"
#import "DwibbbleList.h"
@protocol DwibbbleDelegate
@required
- (void)didReceiveShot:(DwibbbleShot *)shot;
- (void)didReceivePlayer:(DwibbblePlayer *)player;
- (void)didReceiveList:(NSMutableArray *)list;
- (void)didReceiveError:(NSString *)error;
@end
@interface Dwibbble : NSObject <DwibbbleShotDelegate, DwibbblePlayerDelegate, DwibbbleListDelegate> {
id delegate;
DwibbbleShot *shot;
DwibbblePlayer *player;
DwibbbleList *shotList;
}
@property (nonatomic, assign) id delegate;
// Class Methods
+ (NSString *)version;
// Dwibbble Methods
- (void)getShotWithID:(int)shotID;
- (void)getPlayerWithID:(NSString *)playerID;
- (void)getListWithType:(NSString *)type;
@end