Hermes
0.7.0
Linux game streaming host
Toggle main menu visibility
Loading...
Searching...
No Matches
globals.h
Go to the documentation of this file.
1
5
#pragma once
6
7
// local includes
8
#include "
entry_handler.h
"
9
#include "
thread_pool.h
"
10
14
extern
thread_pool_util::ThreadPool
task_pool
;
15
19
extern
bool
display_cursor
;
20
21
25
namespace
mail
{
26
#define MAIL(x) \
27
constexpr auto x = std::string_view { \
28
#x \
29
}
30
34
extern
safe::mail_t
man
;
35
36
// Global mail
37
MAIL(shutdown);
38
MAIL(broadcast_shutdown);
39
MAIL(video_packets);
40
MAIL(audio_packets);
41
MAIL(switch_display);
42
43
// Local mail
44
MAIL(touch_port);
45
MAIL(idr);
46
MAIL(invalidate_ref_frames);
47
MAIL(gamepad_feedback);
48
MAIL(hdr);
49
#undef MAIL
50
51
}
// namespace mail
thread_pool_util::ThreadPool
Definition
thread_pool.h:17
entry_handler.h
Declarations for entry handling functions.
task_pool
thread_pool_util::ThreadPool task_pool
A thread pool for processing tasks.
Definition
globals.cpp:9
display_cursor
bool display_cursor
A boolean flag to indicate whether the cursor should be displayed.
Definition
globals.cpp:10
mail
Handles process-wide communication.
Definition
globals.h:25
mail::man
safe::mail_t man
A process-wide communication mechanism.
Definition
globals.cpp:8
thread_pool.h
Declarations for the thread pool system.
src
globals.h
Generated by
1.18.0