11#include <CoreGraphics/CoreGraphics.h>
23 typedef void (*apiproc)();
33 int load(
void *handle,
const std::vector<std::tuple<apiproc *, const char *>> &funcs,
bool strict =
true);
40 void *
handle(
const std::vector<const char *> &libs);
int load(void *handle, const std::vector< std::tuple< apiproc *, const char * > > &funcs, bool strict)
Load persisted state from its backing store.
Definition misc.cpp:135
void * handle(const std::vector< const char * > &libs)
Return the native handle owned by the wrapper.
Definition misc.cpp:109
bool is_screen_capture_allowed()
Check whether macOS has granted screen-capture permission.
Definition misc.mm:72