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.
monitor/ScStwMonitorSrc/sources/sleepprevent.mm
Dorian Zedler 759eb60e83
- heavy cleanup
- migrated some stuff to ScStwLibraries
2020-05-26 17:17:33 +02:00

7 lines
194 B
Text

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