rework C includes in C++

This commit is contained in:
Philippe Teuwen
2020-05-03 12:46:46 +02:00
parent 19be62f7e6
commit ed1fb14f5f
7 changed files with 39 additions and 8 deletions

View File

@@ -11,9 +11,16 @@
#ifndef UTIL_DARWIN_H__
#define UTIL_DARWIN_H__
#ifdef __cplusplus
extern "C" {
#endif
void disableAppNap(const char *reason);
void enableAppNap(void);
void makeUnfocusable(void);
void makeFocusable(void);
#ifdef __cplusplus
}
#endif
#endif