This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Tweak.h
108 lines (85 loc) · 2.86 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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#include <dlfcn.h>
#import <Foundation/Foundation.h>
#import <libhdev/HUtilities/HDownloadMediaWithProgress.h>
#define PLIST_PATH "/var/mobile/Library/Preferences/com.haoict.facebooknoadspref.plist"
#define PREF_CHANGED_NOTIF "com.haoict.facebooknoadspref/PrefChanged"
@interface UIView (React)
- (UIViewController *)reactViewController;
@end
@interface FBMemNewsFeedEdge : NSObject
- (id)category;
@end;
@interface FBMemFeedStory : NSObject
- (id)sponsoredData;
@end
@interface FBVideoChannelPlaylistItem : NSObject
- (BOOL)isSponsored;
@end
@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;
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end
@interface FBVideoOverlayPluginComponentBackgroundView : UIView
- (void)addHandleLongPress; // new
- (void)handleLongPress:(UILongPressGestureRecognizer *)sender; // new
@end
/**
* For download story
*/
@protocol FBSnacksMediaViewProtocol
@end
@protocol FBWebImageSpecifier
@end
@interface FBWebImageNetworkSpecifier : NSObject <FBWebImageSpecifier>
@property(readonly, copy, nonatomic) NSArray *allInfoURLsSortedByDescImageFlag;
@end
@interface FBWebImageMemorySpecifier : NSObject <FBWebImageSpecifier>
@property(readonly, nonatomic) UIImage *image;
@end
@interface FBWebImageView : UIView
@property(retain, nonatomic) id <FBWebImageSpecifier> imageSpecifier;
@end
@interface FBWebPhotoView : FBWebImageView
@end
@interface FBSnacksWebPhotoView : UIView {
FBWebPhotoView *_photoView;
}
@end
@interface FBSnacksPhotoView : UIView <FBSnacksMediaViewProtocol> {
FBSnacksWebPhotoView *_photoView;
}
@end
@interface FBSnacksVideoManager : NSObject
- (FBVideoPlaybackItem *)currentVideoPlaybackItem;
@end
@interface FBSnacksNewVideoView : UIView <FBSnacksMediaViewProtocol>
@property(readonly, nonatomic) FBSnacksVideoManager *manager;
@end
@interface FBSnacksMediaContainerView : UIView
@property(readonly, nonatomic) UIView<FBSnacksMediaViewProtocol> *mediaView;
@property(nonatomic, retain) UIButton *hDownloadButton; // new property
@end
/**
* For download private profile picture
*/
@interface FBPhotoViewController : UIViewController {
NSUInteger _actionSheetOptions;
}
@property(readonly, nonatomic) UIImage *displayedImage;
@property(nonatomic, retain) UIButton *hDownloadButton; // new property
@end