-
Notifications
You must be signed in to change notification settings - Fork 0
/
AerialChanger.h
80 lines (60 loc) · 1.97 KB
/
AerialChanger.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
/*
AerialChanger
Copyright 2020 J.K. Hayslip (@iKilledAppl3) & iKilledAppl3 LLC. All rights reserved.
*/
//headers we need!
@import UIKit;
@import QuartzCore;
// check to see if the tweak is enabled or not
BOOL kEnabled;
NSString *kChosenScreensaver;
// Statically call items so we can call upon them at a later date.
// the PLIST path where all user settings are stored.
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.ikilledappl3.aerialchanger.plist"
// Load our screensavers with the Power of AirDrop and Ethereal!
#define kVideoPath [NSString stringWithFormat:@"/var/mobile/Documents/Ethereal/%@", kChosenScreensaver]
// For the idle screen stuff
@interface TVPURLMediaItem : NSObject {
NSURL* _url;
NSSet* _traits;
}
@property (nonatomic,copy) NSURL * url;
@property (nonatomic,copy) NSSet * traits;
-(id)init;
-(NSURL *)url;
-(void)setUrl:(NSURL *)arg1 ;
-(void)setTraits:(NSSet *)arg1 ;
-(NSSet *)traits;
-(id)initWithURL:(id)arg1 traits:(id)arg2 ;
-(BOOL)isEqualToMediaItem:(id)arg1 ;
-(id)mediaItemURL;
-(BOOL)hasTrait:(id)arg1 ;
@end
@interface TVPVideoView : UIView
@end
@interface TVIBackgroundView : UIView
@property(readonly, nonatomic) TVPVideoView *videoView;
@property(readonly, nonatomic) TVPURLMediaItem *currentMediaItem;
@property(readonly, nonatomic) TVPURLMediaItem *nextMediaItem;
-(NSArray *)mediaItems;
- (void)didMoveToWindow;
-(id)initWithFrame:(CGRect)arg1;
@end
@interface TVIMainViewController : UIViewController
@property(readonly, nonatomic) TVIBackgroundView *backgroundView;
-(void)loadView;
@end
@interface TVILocationLabelView : UIView
@property(retain, nonatomic) UILabel *subtitleLabel;
@property(retain, nonatomic) UILabel *titleLabel;
-(void)layoutSubviews;
@end
// tvOS 14 Idle Screen stuff
@interface ISUIResources : NSObject
+(id)localizedStringForKey:(id)arg1 ;
+(id)defaultAerialURLWithOptions:(long long)arg1 ;
+(id)defaultAerialURL;
@end
@interface IdleScreenUILabel : UIView
-(void)layoutSubviews;
@end