Sunshine latest
Self-hosted game stream host for Moonlight.
globals.h File Reference

Declarations for globally accessible variables and functions. More...

Include dependency graph for globals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mail
 Handles process-wide communication.
 

Macros

#define MAIL(x)
 

Variables

constexpr auto mail::audio_packets = std::string_view { "audio_packets" }
 
constexpr auto mail::broadcast_shutdown = std::string_view { "broadcast_shutdown" }
 
bool display_cursor
 A boolean flag to indicate whether the cursor should be displayed.
 
constexpr auto mail::gamepad_feedback = std::string_view { "gamepad_feedback" }
 
constexpr auto mail::hdr = std::string_view { "hdr" }
 
constexpr auto mail::idr = std::string_view { "idr" }
 
constexpr auto mail::invalidate_ref_frames = std::string_view { "invalidate_ref_frames" }
 
safe::mail_t mail::man
 A process-wide communication mechanism.
 
nvprefs::nvprefs_interface nvprefs_instance
 A global singleton used for NVIDIA control panel modifications.
 
constexpr auto mail::shutdown = std::string_view { "shutdown" }
 
constexpr auto mail::switch_display = std::string_view { "switch_display" }
 
thread_pool_util::ThreadPool task_pool
 A thread pool for processing tasks.
 
constexpr auto mail::touch_port = std::string_view { "touch_port" }
 
constexpr auto mail::video_packets = std::string_view { "video_packets" }
 

Detailed Description

Declarations for globally accessible variables and functions.

Macro Definition Documentation

◆ MAIL

#define MAIL ( x)
Value:
constexpr auto x = std::string_view { \
#x \
}