8 lines
194 B
Plaintext
8 lines
194 B
Plaintext
|
#import <Foundation/Foundation.h>
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#include "sleepprevent.h"
|
||
|
|
||
|
void SleepPrevent::setTimerDisabled() {
|
||
|
[[UIApplication sharedApplication] setIdleTimerDisabled: YES];
|
||
|
}
|