osx: fix annoying focus behaviour (#689)
[proxmark3-svn] / client / util_darwin.h
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
Impressum, Datenschutz