mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-24 11:28:52 -04:00
20 lines
1.1 KiB
Objective-C
20 lines
1.1 KiB
Objective-C
#import <UIKit/UIKit.h>
|
|
#import "SponsorSegmentView.h"
|
|
#import "iSponsorBlock.h"
|
|
|
|
@interface SponsorBlockViewController : UIViewController <UIContextMenuInteractionDelegate>
|
|
@property (strong, nonatomic) YTPlayerViewController *playerViewController;
|
|
@property (strong, nonatomic) UIViewController *previousParentViewController;
|
|
@property (strong, nonatomic) YTMainAppControlsOverlayView *overlayView;
|
|
@property (strong, nonatomic) UIButton *startEndSegmentButton;
|
|
@property (strong, nonatomic) UILabel *segmentsInDatabaseLabel;
|
|
@property (strong, nonatomic) UILabel *userSegmentsLabel;
|
|
@property (strong, nonatomic) UIButton *submitSegmentsButton;
|
|
@property (strong, nonatomic) NSMutableArray <SponsorSegmentView *> *sponsorSegmentViews;
|
|
@property (strong, nonatomic) NSMutableArray <SponsorSegmentView *> *userSponsorSegmentViews;
|
|
@property (strong, nonatomic) UILabel *whitelistChannelLabel;
|
|
- (void)startEndSegmentButtonPressed:(UIButton *)sender;
|
|
- (NSMutableArray *)segmentViewsForSegments:(NSArray <SponsorSegment *> *)segments editable:(BOOL)editable;
|
|
- (void)setupViews;
|
|
@end
|