This repository has been archived by the owner on Oct 20, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Roxanne_header.h
134 lines (111 loc) · 3.2 KB
/
Roxanne_header.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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
//headers we need!
#import <UIKit/UIKit.h>
#import <Cephei/HBPreferences.h>
#import <AudioToolbox/AudioServices.h>
#import <AVFoundation/AVAudioPlayer.h>
#import <AVFoundation/AVAudioSession.h>
/* Roxanne a tweak to customize UISounds with ease!
Created by J.K. Hayslip (@iKilledAppl3) March 25th, 2019
All rights reserved. */
//see if tweak is enabled!
BOOL kEnabled;
//Malipo switches
BOOL kUseMalipoUnlock;
BOOL kUseMalipoLock;
BOOL kUseMalipoLSCode;
BOOL kUseMalipoKB;
BOOL kUseMalipoFolders;
BOOL kUseMalipoFoldersClosed;
BOOL kUseMalipoVol;
BOOL kUseMalipoTP;
BOOL kUseMalipoScreenshotSound;
BOOL kUseMalipoRinger;
BOOL kUseMalipoCameraShutter;
//default sound switches
BOOL kUseDefaultLock;
BOOL kUseDefaultLSCode;
BOOL kUseDefaultKB;
BOOL kUseDefaultTP;
BOOL kUseDefaultScreenshot;
BOOL kUseDefaultCameraShutter;
//Roxanne Strings (for audio)
NSString *kUnlock;
NSString *kLock;
NSString *kFolders;
NSString *kFoldersClosed;
NSString *kLSCode;
NSString *kKBSounds;
NSString *kVolumeSounds;
NSString *kTPDialSounds;
NSString *kScreenshotSounds;
NSString *kRingerString;
NSString *kCameraShutterString;
//Malipo strings :P
NSString *kMalipoLSCode;
NSString *kMalipoLock;
NSString *kMalipoUnlock;
NSString *kMalipoFolders;
NSString *kMalipoFoldersClosed;
NSString *kMalipoKB;
NSString *kMalipoVol;
NSString *kMalipoTPDial;
NSString *kMalipoScreenshot;
NSString *kMalipoRinger;
NSString *kMalipoCameraShutter;
HBPreferences *preferences;
//Sound identifiers
SystemSoundID unlockSound;
SystemSoundID folderOpenSound;
SystemSoundID folderClosedSound;
SystemSoundID volumeSound;
SystemSoundID tpDialerSound;
SystemSoundID screenShotSound;
SystemSoundID ringerSound;
SystemSoundID cameraShutter;
//delete key file :P
NSString *deleteKeyFile = [[NSBundle bundleWithPath:@"/System/Library/Audio/UISounds/"] pathForResource:@"key_press_delete" ofType:@"caf"];
//volume control string :P
#define volString [NSString stringWithFormat:@"/Library/Application Support/Roxanne/VolumeSounds/%@", kVolumeSounds]
AVAudioSession *session = [AVAudioSession sharedInstance];
//interfaces
@interface CUCaptureController : NSObject
+(id)sharedInstance;
-(BOOL)isCapturingVideo;
-(BOOL)isCapturingBurst;
@end
@interface CAMViewfinderViewController : UIViewController
-(BOOL)isCapturingPhoto;
@end
@interface SBHUDView : UIView
@end
@interface SBRingerHUDView : SBHUDView
@end
@interface SBMediaController : NSObject
+(id)sharedInstance;
-(BOOL)isPlaying;
-(BOOL)isRingerMuted;
@end
@interface SBFolderController : NSObject
-(BOOL)isOpen;
@end
@interface SBLockScreenViewControllerBase : UIViewController
-(BOOL)isAuthenticated;
@end
@interface SBLockScreenManager : NSObject
+(SBLockScreenManager *)sharedInstance;
-(SBLockScreenViewControllerBase *)lockScreenViewController;
-(BOOL)isUILocked;
@end
@interface SBCoverSheetSlidingViewController : UIViewController
-(void)_handleDismissGesture:(id)arg1 ;
-(void)setPresented:(BOOL)arg1 animated:(BOOL)arg2 withCompletion:(/*^block*/id)arg3 ;
@end
@interface UIKBTree : NSObject
@property (nonatomic, strong, readwrite) NSString * name;
+(id)sharedInstance;
+(id)key;
@end
@interface UIKeyboardLayoutStar : UIView
@property (nonatomic, copy) NSString * localizedInputKey;
-(void)setPlayKeyClickSoundOn:(int)arg1;
@end