-
Notifications
You must be signed in to change notification settings - Fork 3
/
Prefs.h
43 lines (37 loc) · 1.03 KB
/
Prefs.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
#import "../PSPrefs.x"
BOOL BurstMode;
BOOL AllowHDR;
BOOL expFormat;
BOOL animInd;
BOOL noCaptureSound;
BOOL singleCounter;
BOOL BurstModeSafe;
BOOL DisableIris;
BOOL DisableAnim;
BOOL LiveWell;
BOOL disableIris = NO;
BOOL burst = NO;
BOOL counterAnimate = NO;
BOOL ignoreCapture = NO;
BOOL noAutofocus = NO;
BOOL noSound = NO;
CGFloat Interval;
CGFloat HoldTime;
NSUInteger photoCount;
NSUInteger limitedPhotosCount;
HaveCallback() {
GetPrefs()
GetBool(BurstMode, BurstModeEnabledKey, YES)
GetBool(BurstModeSafe, BurstModeSafeEnabledKey, YES)
GetBool(DisableIris, DisableIrisEnabledKey, NO)
GetBool(DisableAnim, DisableAnimEnabledKey, NO)
GetBool(LiveWell, LiveWellEnabledKey, NO);
GetBool(AllowHDR, AllowHDREnabledKey, NO)
GetBool(expFormat, expFormatKey, NO)
GetBool(animInd, AnimIndKey, NO)
GetBool(noCaptureSound, noCaptureSoundKey, NO)
GetBool(singleCounter, singleCounterKey, NO)
GetInt(limitedPhotosCount, PhotoLimitCountKey, 0)
GetFloat2(HoldTime, 1.0)
GetFloat2(Interval, 0.01)
}