This repository was archived by the owner on Jan 29, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathTweak.h
More file actions
112 lines (93 loc) · 2.77 KB
/
Copy pathTweak.h
File metadata and controls
112 lines (93 loc) · 2.77 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
//
// Tweak.h
// iDunnoU
//
// Created by Jacob Clayden on 05/04/2020.
// Copyright © 2020 JacobCXDev. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <LocalAuthentication/LocalAuthentication.h>
#import <libJCX/Utilities.h>
#import "iDUBadgeButton.h"
// Messages Interfaces
@interface IMChat : NSObject
- (BOOL)hasKnownParticipants;
@end
@interface CNContact : NSObject
- (NSArray *)handles;
@end
@interface CKEntity : NSObject
- (CNContact *)cnContact;
@end
@interface CKConversation : NSObject
@property (nonatomic, assign, readwrite, getter=isPinned) BOOL pinned;
+ (BOOL)pinnedConversationsEnabled;
- (void)blacklist;
- (IMChat *)chat;
- (BOOL)hasUnreadMessages;
- (BOOL)isBlacklisted;
- (BOOL)isMuted;
- (BOOL)isWhitelisted;
- (CKEntity *)recipient;
- (void)removeFromBlacklist;
- (void)removeFromWhitelist;
- (void)setMutedUntilDate:(NSDate *)date;
- (NSString *)uniqueIdentifier;
- (void)unmute;
- (unsigned long long)unreadCount;
- (void)whitelist;
@end
@interface CKConversationList : NSObject
- (NSMutableArray *)conversations;
@end
@interface CKConversationListStandardCell : UITableViewCell {
UIImageView *_unreadIndicatorImageView;
}
- (CKConversation *)conversation;
@end
@interface CKUIBehavior : NSObject
+ (instancetype)sharedBehaviors;
- (UIImage *)readDNDImage;
- (UIImage *)unreadDNDImage;
- (UIImage *)readPinnedImage;
- (UIImage *)unreadPinnedImage;
@end
@interface CKMessagesController : UIViewController
- (void)showConversationList:(BOOL)clearChatControllers;
@end
@interface CKConversationListController : UITableViewController<UITableViewDelegate, UITableViewDataSource>
- (void)_chatUnreadCountDidChange:(NSNotification *)notification;
- (void)_toggleShowUnknownArray;
- (NSArray *)activeConversations;
- (CKConversationList *)conversationList;
- (CKMessagesController *)messagesController;
- (void)setButtonHidden:(bool)hidden;
- (void)toggleShowUnknownArray;
- (void)updateConversationList;
@end
@interface CNContactToggleBlockCallerAction : NSObject
- (BOOL)isBlocked;
- (void)block;
- (void)unblock;
- (instancetype)initWithContact:(CNContact *)contact;
@end
@interface SMSApplication : UIApplication<UIApplicationDelegate>
- (void)applicationWillTerminate;
- (NSInteger)applicationIconBadgeNumber;
- (void)setApplicationBadgeString:(id)string;
- (void)setApplicationIconBadgeNumber:(NSInteger)number;
@end
// IMAgent Interfaces
@interface IMDBadgeUtilities : NSObject
- (void)updateBadgeForUnreadCountChangeIfNeeded:(long long)count;
@end
// TCCd Interfaces
@interface TCCDService : NSObject
@property (retain, nonatomic) NSString *name;
- (void)setDefaultAllowedIdentifiersList:(NSArray *)list;
@end
// SpringBoard Interfaces
@interface SpringBoard : NSObject
- (BOOL)_handlePhysicalButtonEvent:(UIPressesEvent *)event;
- (void)_ringerChanged:(void *)event;
@end