forked from qnblackcat/iSponsorBlock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSponsorBlockViewController.h
19 lines (18 loc) · 1.06 KB
/
SponsorBlockViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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