mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
224 lines
5.6 KiB
Objective-C
224 lines
5.6 KiB
Objective-C
#import "Tweaks/YouTubeHeader/YTAppDelegate.h"
|
|
#import "Tweaks/YouTubeHeader/YTPlayerViewController.h"
|
|
#import "Tweaks/YouTubeHeader/YTQTMButton.h"
|
|
#import <UIKit/UIKit.h>
|
|
#import <Foundation/Foundation.h>
|
|
#import <objc/runtime.h>
|
|
#import <dlfcn.h>
|
|
#import <sys/utsname.h>
|
|
#import <substrate.h>
|
|
#import <rootless.h>
|
|
#import "Tweaks/YouTubeHeader/YTVideoQualitySwitchOriginalController.h"
|
|
#import "Tweaks/YouTubeHeader/YTPlayerViewController.h"
|
|
#import "Tweaks/YouTubeHeader/YTWatchController.h"
|
|
#import "Tweaks/YouTubeHeader/YTIGuideResponse.h"
|
|
#import "Tweaks/YouTubeHeader/YTIGuideResponseSupportedRenderers.h"
|
|
#import "Tweaks/YouTubeHeader/YTIPivotBarSupportedRenderers.h"
|
|
#import "Tweaks/YouTubeHeader/YTIPivotBarRenderer.h"
|
|
#import "Tweaks/YouTubeHeader/YTIBrowseRequest.h"
|
|
#import "Tweaks/YouTubeHeader/YTISectionListRenderer.h"
|
|
#import "Tweaks/YouTubeHeader/YTColorPalette.h"
|
|
#import "Tweaks/YouTubeHeader/YTCommonColorPalette.h"
|
|
#import "Tweaks/YouTubeHeader/YTSettingsSectionItemManager.h"
|
|
#import "Tweaks/YouTubeHeader/ASCollectionView.h"
|
|
#import "Tweaks/YouTubeHeader/YTPlayerOverlay.h"
|
|
#import "Tweaks/YouTubeHeader/YTPlayerOverlayProvider.h"
|
|
#import "Tweaks/YouTubeHeader/YTReelWatchPlaybackOverlayView.h"
|
|
#import "Tweaks/YouTubeHeader/YTReelPlayerBottomButton.h"
|
|
#import "Tweaks/YouTubeHeader/YTReelPlayerViewController.h"
|
|
#import "Tweaks/YouTubeHeader/YTAlertView.h"
|
|
#import "Tweaks/YouTubeHeader/YTIMenuConditionalServiceItemRenderer.h"
|
|
#import "Tweaks/YouTubeHeader/YTPivotBarItemView.h"
|
|
#import "Tweaks/YouTubeHeader/YTVideoWithContextNode.h" // YouTube-X
|
|
#import "Tweaks/YouTubeHeader/ELMCellNode.h" // YouTube-X
|
|
#import "Tweaks/YouTubeHeader/ELMNodeController.h" // YouTube-X
|
|
|
|
#define LOC(x) [tweakBundle localizedStringForKey:x value:nil table:nil]
|
|
#define YT_BUNDLE_ID @"com.google.ios.youtube"
|
|
#define YT_NAME @"YouTube"
|
|
#define DEFAULT_RATE 2.0f // YTSpeed
|
|
|
|
// IAmYouTube
|
|
@interface SSOConfiguration : NSObject
|
|
@end
|
|
|
|
// uYouPlus
|
|
@interface YTChipCloudCell : UIView
|
|
@end
|
|
|
|
@interface YTPlayabilityResolutionUserActionUIController : NSObject // Skips content warning before playing *some videos - @PoomSmart
|
|
- (void)confirmAlertDidPressConfirm;
|
|
@end
|
|
|
|
@interface YTMainAppControlsOverlayView : UIView
|
|
@end
|
|
|
|
@interface YTTransportControlsButtonView : UIView
|
|
@end
|
|
|
|
@interface _ASCollectionViewCell : UICollectionViewCell
|
|
- (id)node;
|
|
@end
|
|
|
|
@interface YTAsyncCollectionView : UICollectionView
|
|
- (void)removeCellsAtIndexPath:(NSIndexPath *)indexPath;
|
|
- (void)removeShortsAndFeaturesAdsAtIndexPath:(NSIndexPath *)indexPath;
|
|
@end
|
|
|
|
@interface FRPSliderCell : UITableViewCell
|
|
@end
|
|
|
|
@interface boolSettingsVC : UIViewController
|
|
@end
|
|
|
|
@interface YTPlaybackButton : UIControl
|
|
@end
|
|
|
|
@interface PlayerManager : NSObject
|
|
- (float)progress;
|
|
@end
|
|
|
|
@interface YTSegmentableInlinePlayerBarView
|
|
@property (nonatomic, assign, readwrite) BOOL enableSnapToChapter;
|
|
@end
|
|
|
|
@interface YTPlaylistHeaderViewController: UIViewController
|
|
@property UIButton *downloadsButton;
|
|
@end
|
|
|
|
// Buttons
|
|
@interface YTRightNavigationButtons : UIView
|
|
@property YTQTMButton *notificationButton;
|
|
@property YTQTMButton *sponsorBlockButton;
|
|
@end
|
|
|
|
// YTSpeed
|
|
@interface YTVarispeedSwitchControllerOption : NSObject
|
|
- (id)initWithTitle:(id)title rate:(float)rate;
|
|
@end
|
|
|
|
@interface MLHAMQueuePlayer : NSObject
|
|
@property id playerEventCenter;
|
|
@property id delegate;
|
|
- (void)setRate:(float)rate;
|
|
- (void)internalSetRate;
|
|
@end
|
|
|
|
@interface MLPlayerStickySettings : NSObject
|
|
- (void)setRate:(float)rate;
|
|
@end
|
|
|
|
@interface MLPlayerEventCenter : NSObject
|
|
- (void)broadcastRateChange:(float)rate;
|
|
@end
|
|
|
|
@interface HAMPlayerInternal : NSObject
|
|
- (void)setRate:(float)rate;
|
|
@end
|
|
|
|
// uYouLocal fix
|
|
@interface YTLocalPlaybackController : NSObject
|
|
- (id)activeVideo;
|
|
@end
|
|
|
|
// uYou theme fix
|
|
@interface YTAppDelegate ()
|
|
@property(nonatomic, strong) id downloadsVC;
|
|
@end
|
|
|
|
// BigYTMiniPlayer
|
|
@interface YTMainAppVideoPlayerOverlayView : UIView
|
|
- (UIViewController *)_viewControllerForAncestor;
|
|
@end
|
|
|
|
@interface YTWatchMiniBarView : UIView
|
|
@end
|
|
|
|
// YTAutoFullScreen
|
|
@interface YTPlayerViewController (YTAFS)
|
|
- (void)autoFullscreen;
|
|
// YTSpeed
|
|
@property id activeVideo;
|
|
@property float playbackRate;
|
|
- (void)singleVideo:(id)video playbackRateDidChange:(float)rate;
|
|
@end
|
|
|
|
// App Theme
|
|
@interface YTColor : NSObject
|
|
+ (UIColor *)white1;
|
|
+ (UIColor *)white2;
|
|
+ (UIColor *)white3;
|
|
+ (UIColor *)white4;
|
|
+ (UIColor *)white5;
|
|
+ (UIColor *)black0;
|
|
+ (UIColor *)black1;
|
|
+ (UIColor *)black2;
|
|
+ (UIColor *)black3;
|
|
+ (UIColor *)black4;
|
|
+ (UIColor *)blackPure;
|
|
+ (UIColor *)grey1;
|
|
+ (UIColor *)grey2;
|
|
+ (UIColor *)white1Alpha98;
|
|
+ (UIColor *)white1Alpha95;
|
|
@end
|
|
|
|
@interface YCHLiveChatView : UIView
|
|
@end
|
|
|
|
@interface YTFullscreenEngagementOverlayView : UIView
|
|
@end
|
|
|
|
@interface YTRelatedVideosView : UIView
|
|
@end
|
|
|
|
@interface YTTopAlignedView : UIView
|
|
@end
|
|
|
|
@interface ELMView : UIView
|
|
@end
|
|
|
|
@interface ASWAppSwitcherCollectionViewCell : UIView
|
|
@end
|
|
|
|
@interface ASScrollView : UIView
|
|
@end
|
|
|
|
@interface UIKeyboardLayoutStar : UIView
|
|
@end
|
|
|
|
@interface UIKeyboardDockView : UIView
|
|
@end
|
|
|
|
@interface _ASDisplayView : UIView
|
|
@end
|
|
|
|
@interface YTAutonavEndscreenView : UIView
|
|
@end
|
|
|
|
@interface YTPivotBarIndicatorView : UIView
|
|
@end
|
|
|
|
@interface YTCommentDetailHeaderCell : UIView
|
|
@end
|
|
|
|
@interface SponsorBlockSettingsController : UITableViewController
|
|
@end
|
|
|
|
@interface SponsorBlockViewController : UIViewController
|
|
@end
|
|
|
|
@interface UICandidateViewController : UIViewController
|
|
@end
|
|
|
|
@interface UIPredictionViewController : UIViewController
|
|
@end
|
|
|
|
@interface FRPreferences : UITableViewController
|
|
@end
|
|
|
|
@interface FRPSelectListTable : UITableViewController
|
|
@end
|
|
|
|
@interface settingsReorderTable : UIViewController
|
|
@property(nonatomic, strong) UITableView *tableView;
|
|
@end
|