Sunshine latest
Self-hosted game stream host for Moonlight.
misc.h
Go to the documentation of this file.
1
5#pragma once
6
7// standard includes
8#include <vector>
9
10// platform includes
11#include <CoreGraphics/CoreGraphics.h>
12
13namespace platf {
14 bool is_screen_capture_allowed();
15}
16
17namespace dyn {
18 typedef void (*apiproc)();
19
20 int load(void *handle, const std::vector<std::tuple<apiproc *, const char *>> &funcs, bool strict = true);
21 void *handle(const std::vector<const char *> &libs);
22
23} // namespace dyn