-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCommon.h
47 lines (38 loc) · 1.59 KB
/
Common.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
#define UNRESTRICTED_AVAILABILITY
#import <PSHeader/CameraApp/CameraApp.h>
#import <PSHeader/CameraMacros.h>
@interface CAMElapsedTimeView (Addition)
- (void)pauseTimer;
- (void)resumeTimer;
- (void)updateUI:(BOOL)pause recording:(BOOL)recording;
@end
@interface AVCaptureMovieFileOutput (Private)
- (BOOL)isRecordingPaused;
- (void)pauseRecording;
- (void)resumeRecording;
@end
@interface CAMLiquidShutterRenderer : NSObject
- (void)renderIfNecessary;
@end
@interface UIView (Private)
@property (nonatomic, assign, setter=_setShouldReverseLayoutDirection:) BOOL _shouldReverseLayoutDirection;
@end
extern CGRect UIRectIntegralWithScale(CGRect rect, CGFloat scale);
extern CGFloat UIRoundToViewScale(CGFloat value, UIView *view);
@interface CAMViewfinderViewController (Addition)
@property (retain, nonatomic) UILongPressGestureRecognizer *rpGesture;
@property (nonatomic, retain) CUShutterButton *_pauseResumeDuringVideoButton;
- (void)_createPauseResumeDuringVideoButtonIfNecessary;
- (void)_embedPauseResumeDuringVideoButtonWithLayoutStyle:(NSInteger)layoutStyle;
- (void)_updatePauseResumeDuringVideoButton:(BOOL)paused;
@end
@interface CAMDynamicShutterControl (Addition)
@property (nonatomic, retain) CUShutterButton *pauseResumeDuringVideoButton;
@property (assign) BOOL overrideShutterButtonColor;
@end
@interface CAMBottomBar (Addition)
@property (nonatomic, retain) CUShutterButton *pauseResumeDuringVideoButton;
- (void)_layoutPauseResumeDuringVideoButtonForLayoutStyle:(NSInteger)layoutStyle;
@end
NSString *NSTimerPauseDate = @"NSTimerPauseDate";
NSString *NSTimerPreviousFireDate = @"NSTimerPreviousFireDate";