forked from haoict/facebook-no-ads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tweak.h
36 lines (29 loc) · 1.22 KB
/
Tweak.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
#import <Foundation/Foundation.h>
#import <libhdev/HUtilities/HDownloadMedia.h>
#define PLIST_PATH "/var/mobile/Library/Preferences/com.haoict.facebooknoadspref.plist"
#define PREF_CHANGED_NOTIF "com.haoict.facebooknoadspref/PrefChanged"
@interface CKDataSourceState : NSObject
@property(readonly, copy, nonatomic) NSArray *sections;
@end
@interface FBComponentCollectionViewDataSource : NSObject
- (CKDataSourceState *)dataSourceState;
- (BOOL)shouldHideSectionNumber:(int)sectionNumber;
@end
@interface FBVideoPlaybackItem : NSObject
@property(readonly, copy, nonatomic) NSURL *HDPlaybackURL;
@property(readonly, copy, nonatomic) NSURL *SDPlaybackURL;
@end
@interface FBVideoPlaybackController : NSObject
- (FBVideoPlaybackItem *)currentVideoPlaybackItem;
@end
@interface VideoContainerView : UIView
@property(readonly, nonatomic) FBVideoPlaybackController *controller;
- (UIViewController *)reactViewController;
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end
@interface FBVideoOverlayPluginComponentBackgroundView : UIView
- (UIViewController *)reactViewController;
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end