-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chr1sDev
committed
May 8, 2021
1 parent
dc6a806
commit bc385b4
Showing
21 changed files
with
598 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/.theos | ||
/packages | ||
/packages | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#import <Cephei/HBPreferences.h> | ||
#import "SBMediaController.h" | ||
#import <objc/runtime.h> | ||
|
||
HBPreferences *preferences; | ||
BOOL enabled; | ||
BOOL enableDND; | ||
BOOL enableHideNotifs; | ||
|
||
@interface NCNotificationListView : UIScrollView | ||
@end | ||
|
||
@interface NCNotificationStructuredListViewController : UIViewController | ||
@property (nonatomic, retain) NCNotificationListView *masterListView; | ||
// %new | ||
-(void)hideNotifs; | ||
-(void)showNotifs; | ||
@end | ||
|
||
//Do Not Disturb | ||
@class DNDModeAssertionLifetime; | ||
|
||
@interface DNDModeAssertionDetails : NSObject | ||
+ (id)userRequestedAssertionDetailsWithIdentifier:(NSString *)identifier modeIdentifier:(NSString *)modeIdentifier lifetime:(DNDModeAssertionLifetime *)lifetime; | ||
- (BOOL)invalidateAllActiveModeAssertionsWithError:(NSError **)error; | ||
- (id)takeModeAssertionWithDetails:(DNDModeAssertionDetails *)assertionDetails error:(NSError **)error; | ||
@end | ||
|
||
@interface DNDModeAssertionService : NSObject | ||
+ (id)serviceForClientIdentifier:(NSString *)clientIdentifier; | ||
- (BOOL)invalidateAllActiveModeAssertionsWithError:(NSError **)error; | ||
- (id)takeModeAssertionWithDetails:(DNDModeAssertionDetails *)assertionDetails error:(NSError **)error; | ||
@end | ||
|
||
static BOOL DNDEnabled; | ||
static DNDModeAssertionService *assertionService; | ||
|
||
typedef struct { | ||
BOOL active; | ||
BOOL enabled; | ||
BOOL sunSchedulePermitted; | ||
int mode; | ||
unsigned long long disableFlags; | ||
BOOL available; | ||
} Status; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#import "KRTableCell.h" | ||
|
||
@interface KRLinkCell : KRTableCell | ||
|
||
@property (nonatomic, readonly) BOOL isBig; | ||
|
||
@property (nonatomic, retain, readonly) UIView *avatarView; | ||
|
||
@property (nonatomic, retain, readonly) UIImageView *avatarImageView; | ||
|
||
@property (nonatomic, retain) UIImage *avatarImage; | ||
|
||
@end |
Oops, something went wrong.