Update Header.h

This commit is contained in:
Nguyễn Đạt
2022-09-28 10:58:06 +07:00
committed by GitHub
parent a902d90449
commit dad5377435
+12 -11
View File
@@ -3,6 +3,8 @@
#define LOC(x) [tweakBundle localizedStringForKey:x value:nil table:nil] #define LOC(x) [tweakBundle localizedStringForKey:x value:nil table:nil]
#define YT_BUNDLE_ID @"com.google.ios.youtube" #define YT_BUNDLE_ID @"com.google.ios.youtube"
#define YT_NAME @"YouTube" #define YT_NAME @"YouTube"
#define UNSUPPORTED_DEVICES @[@"iPhone14,3", @"iPhone14,6", @"iPhone14,8"] // DontEatMycontent
#define THRESHOLD 1.99 // DontEatMycontent
// IAmYouTube // IAmYouTube
@interface SSOConfiguration : NSObject @interface SSOConfiguration : NSObject
@@ -37,6 +39,13 @@
- (float)progress; - (float)progress;
@end @end
// DontEatMyContent
NSString* deviceName();
BOOL isDeviceSupported();
void activate();
void deactivate();
void center();
@interface YTPlayerView : UIView @interface YTPlayerView : UIView
- (BOOL)zoomToFill; - (BOOL)zoomToFill;
- (id)renderingView; - (id)renderingView;
@@ -70,17 +79,16 @@
// BigYTMiniPlayer // BigYTMiniPlayer
@interface YTMainAppVideoPlayerOverlayView : UIView @interface YTMainAppVideoPlayerOverlayView : UIView
- (UIViewController *)_viewControllerForAncestor; - (UIViewController *)_viewControllerForAncestor;
+ (CGFloat)topButtonAdditionalPadding;
@end @end
@interface YTWatchMiniBarView : UIView @interface YTWatchMiniBarView : UIView
@end @end
// YTAutoFullScreen // YTAutoFullScreen
@interface YTPlayerViewController (YTPlayerViewControllerCategory) @interface YTPlayerViewController (YTAFS)
- (void)autoFullscreen; - (void)autoFullscreen;
- (id)activeVideoPlayerOverlay; - (id)activeVideoPlayerOverlay; // DontEatMycontent
- (id)playerView; - (id)playerView; // DontEatMycontent
@end @end
// OLED Darkmode // OLED Darkmode
@@ -113,10 +121,3 @@
@interface UIPredictionViewController : UIViewController @interface UIPredictionViewController : UIViewController
@end @end
//
NSString* deviceName();
BOOL isDeviceSupported();
void activate();
void deactivate();
void center();