]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // (c) 2018 AntiCat | |
3 | // | |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
5 | // at your option, any later version. See the LICENSE.txt file for the text of | |
6 | // the license. | |
7 | //----------------------------------------------------------------------------- | |
8 | // macOS framework bindings | |
9 | //----------------------------------------------------------------------------- | |
10 | ||
11 | #ifndef UTIL_DARWIN_H__ | |
12 | #define UTIL_DARWIN_H__ | |
13 | ||
14 | void disableAppNap(const char* reason); | |
15 | void enableAppNap(); | |
16 | ||
17 | void makeUnfocusable(); | |
18 | void makeFocusable(); | |
19 | ||
20 | #endif |