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