|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Miscellaneous declarations for macOS platform. More...
#include <vector>#include <CoreGraphics/CoreGraphics.h>Go to the source code of this file.
Functions | |
| void * | dyn::handle (const std::vector< const char * > &libs) |
| Return the native handle owned by the wrapper. | |
| bool | platf::is_screen_capture_allowed () |
| Check whether macOS has granted screen-capture permission. | |
| int | dyn::load (void *handle, const std::vector< std::tuple< apiproc *, const char * > > &funcs, bool strict) |
| Load persisted state from its backing store. | |
Miscellaneous declarations for macOS platform.
| void * dyn::handle | ( | const std::vector< const char * > & | libs | ) |
Return the native handle owned by the wrapper.
| libs | List of libraries to probe for the requested symbol. |
| bool platf::is_screen_capture_allowed | ( | ) |
Check whether macOS has granted screen-capture permission.
Check whether screen capture allowed.
| int dyn::load | ( | void * | handle, |
| const std::vector< std::tuple< apiproc *, const char * > > & | funcs, | ||
| bool | strict = true ) |
Load persisted state from its backing store.
| handle | Native library or object handle used by the operation. |
| funcs | Function table populated from the loaded library. |
| strict | Whether missing functions should be treated as an error. |