2018-10-06 13:29:20 +02:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// (c) 2018 AntiCat
|
|
|
|
//
|
|
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
|
|
// the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// macOS framework bindings
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef UTIL_DARWIN_H__
|
|
|
|
#define UTIL_DARWIN_H__
|
|
|
|
|
2019-03-10 00:00:59 +01:00
|
|
|
void disableAppNap(const char *reason);
|
2019-04-09 22:42:23 +02:00
|
|
|
void enableAppNap(void);
|
|
|
|
void makeUnfocusable(void);
|
|
|
|
void makeFocusable(void);
|
2018-10-06 13:29:20 +02:00
|
|
|
|
2019-03-12 00:12:26 +01:00
|
|
|
#endif
|