forked from 0xkuj/NotificationsGroupCount
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tweak.h
86 lines (69 loc) · 2.17 KB
/
Tweak.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
81
82
83
84
85
86
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <rootless.h>
#include "NGCBadgeView.h"
#define GENERAL_PREFS ROOT_PATH_NS(@"/var/mobile/Library/Preferences/com.0xkuj.notificationsgroupcountprefs.plist")
CGFloat ngcBadgeSize = 20;
int badgeStyle;
CGFloat shadowOpacity;
BOOL isTweakEnabled, isCustomColors;
UIColor *badgeBackgroundColor, *badgeTextColor;
BOOL isRTL;
@interface SBWallpaperController
+ (id)sharedInstance;
- (id)averageColorForVariant:(NSInteger)arg1;
@end
@interface NCNotificationRequest
- (id)notificationIdentifier;
@end
@interface NCNotificationShortLookView : UIView
@property (nonatomic, copy, readwrite) NSString *primaryText;
@property (nonatomic, copy, readwrite) UIView *prominentIconView;
- (id)_notificationContentView;
- (BOOL)isNotificationContentViewHidden;
@end
@interface NCNotificationShortLookViewController : NSObject
- (id)_notificationShortLookViewIfLoaded;
@end
@interface CSNotificationViewController : NCNotificationShortLookViewController
- (id)notificationRequest;
@end
// ios 15
@interface NCNotificationViewController : UIViewController
@end
@interface NCNotificationListCell : UIView
//ios 15
@property (nonatomic, strong, readwrite) CSNotificationViewController *contentViewController;
- (id)notificationViewController;
@end
// @interface NCNotificationGroupList
// @end
@interface NCNotificationListView : UIView
@property (nonatomic, strong, readwrite) NSMutableDictionary *visibleViews;
- (BOOL)isGrouped;
- (NSUInteger)count;
// %new
- (void)updateNotificationCountBadge;
- (void)deleteBadgesFromCurrentListView;
- (CGRect)getBadgePosByFrame:(CGRect)destFrame;
@end
@interface NCNotificationGroupList
@property (nonatomic, strong, readwrite) NCNotificationListView *groupListView;
@property (nonatomic, strong, readwrite) NSMutableArray *orderedRequests;
- (NSUInteger)notificationCount;
- (NSUInteger)count;
- (BOOL)isGrouped;
@end
// ios 15
@interface NCNotificationViewControllerView
- (id)contentView;
@end
// ios 16
@interface NCDimmableView
- (id)contentView;
@end
@interface NCNotificationSeamlessContentView : UIView
@end
@interface NCBadgedIconView : UIView
- (CSNotificationViewController *)badgeViewController;
@end