-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRMLController.h
47 lines (38 loc) · 1.27 KB
/
RMLController.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
#import <Foundation/Foundation.h>
#import "RMLSnoozer.h"
#import <UIKit/UIKit.h>
@protocol RMLJailbreakFacade <NSObject>
-(void)showAlert:(id)alert;
-(BOOL)isAlertShowing:(id)alert;
-(void)wakeup;
-(void)playSound:(BOOL)isRepeat;
@end
@interface RMLController : NSObject {
BOOL _isVersion4;
BOOL _isVersion43;
BOOL _isVersion5;
BOOL _isEnabled;
int _snoozeTime;
BOOL _keepNagging;
int _nagInterval;
int _nagLimit;
id <RMLJailbreakFacade> _jailbreakFacade;
NSBundle *_resourceBundle;
}
@property (assign, readonly) BOOL isVersion4;
@property (assign, readonly) BOOL isVersion43;
@property (assign, readonly) BOOL isVersion5;
@property (assign, readonly) BOOL isEnabled;
@property (assign, readonly) int snoozeTime;
@property (assign, readonly) BOOL keepNagging;
@property (assign, readonly) int nagInterval;
@property (assign, readonly) int nagLimit;
@property (nonatomic, retain) id /*RMLJailbreakFacade*/ jailbreakFacade;
@property (nonatomic, retain) NSBundle *resourceBundle;
-(id)initWithJailbreakFacade:(id <RMLJailbreakFacade>)facade;
-(void)configureAlertItem:(id)item;
-(UIAlertView *)configureAlertView:(UIAlertView *)alertView payload:(id)payload;
-(void)playSound:(BOOL)onlyOn43;
-(void)logCalendarAlertItem:(id)item msg:(NSString *)msg;
-(void)logStack;
@end