forked from mxcl/PromiseKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPromiseKit.h
77 lines (73 loc) · 1.83 KB
/
PromiseKit.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#import <PromiseKit/Promise.h>
#ifdef PMK_WHEN
#import <PromiseKit/Promise+When.h>
#endif
#ifdef PMK_UNTIL
#import <PromiseKit/Promise+Until.h>
#endif
#ifdef PMK_PAUSE
#import <PromiseKit/Promise+Pause.h>
#endif
#ifdef PMK_JOIN
#import <PromiseKit/Promise+Join.h>
#endif
#ifdef PMK_ACACCOUNTSTORE
#import <ACAccountStore+PromiseKit.h>
#endif
#ifdef PMK_AVAUDIOSESSION
#import <AVAudioSession+PromiseKit.h>
#endif
#ifdef PMK_CLGEOCODER
#import <CLGeocoder+PromiseKit.h>
#endif
#ifdef PMK_CLLOCATIONMANAGER
#import <CLLocationManager+PromiseKit.h>
#endif
#ifdef PMK_CKCONTAINER
#import <CKContainer+PromiseKit.h>
#endif
#ifdef PMK_CKDATABASE
#import <CKDatabase+PromiseKit.h>
#endif
#ifdef PMK_MKDIRECTIONS
#import <MKDirections+PromiseKit.h>
#endif
#ifdef PMK_MKMAPSNAPSHOTTER
#import <MKMapSnapshotter+PromiseKit.h>
#endif
#ifdef PMK_NSFILEMANAGER
#import <NSFileManager+PromiseKit.h>
#endif
#ifdef PMK_NSNOTIFICATIONCENTER
#import <NSNotificationCenter+PromiseKit.h>
#endif
#ifdef PMK_NSTASK
#import <NSTask+PromiseKit.h>
#endif
#ifdef PMK_NSURLCONNECTION
#import <NSURLConnection+PromiseKit.h>
#endif
#ifdef PMK_SKREQUEST
#import <SKRequest+PromiseKit.h>
#endif
#ifdef PMK_SLREQUEST
#import <SLRequest+PromiseKit.h>
#endif
#ifdef PMK_UIACTIONSHEET
#import <UIActionSheet+PromiseKit.h>
#endif
#ifdef PMK_UIALERTVIEW
#import <UIAlertView+PromiseKit.h>
#endif
#ifdef PMK_UIVIEW
#import <UIView+PromiseKit.h>
#endif
#ifdef PMK_UIVIEWCONTROLLER
#import <UIViewController+PromiseKit.h>
#endif
#ifndef PMK_NO_UNPREFIXATION
// I used a typedef but it broke the tests, turns out typedefs are new
// types that have consequences with isKindOfClass and that
// NOTE I will remove this at 1.1
typedef PMKPromise Promise PMK_DEPRECATED("Use PMKPromise. Use of Promise is deprecated. This is a typedef, and since it is a typedef, there may be unintended side-effects.");
#endif