This repository has been archived on 2024-06-03. You can view files and clone it, but cannot push or open issues or pull requests.
app/sources/sleepprevent.mm
2020-08-13 23:52:31 +02:00

7 lines
202 B
Text

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#include "headers/sleepprevent.h"
void SleepPrevent::setTimerDisabled() {
[[UIApplication sharedApplication] setIdleTimerDisabled: YES];
}