Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
platf::session_environment_t Struct Reference

Public Member Functions

std::string describe () const
 Stable string id for diagnostics/APIs, e.g. "gamescope_session".

Public Attributes

session_environment_e kind {session_environment_e::unknown}
bool gamescope_running {false}
 A Gamescope compositor is present.
bool can_host_virtual_display {false}
 A desktop compositor can adopt a virtual display.
std::string desktop
 Raw XDG_CURRENT_DESKTOP, for diagnostics.

Detailed Description

Definition at line 1028 of file common.h.

Member Function Documentation

◆ describe()

std::string platf::session_environment_t::describe ( ) const
inline

Stable string id for diagnostics/APIs, e.g. "gamescope_session".

Definition at line 1035 of file common.h.

Member Data Documentation

◆ can_host_virtual_display

bool platf::session_environment_t::can_host_virtual_display {false}

A desktop compositor can adopt a virtual display.

Definition at line 1031 of file common.h.

◆ desktop

std::string platf::session_environment_t::desktop

Raw XDG_CURRENT_DESKTOP, for diagnostics.

Definition at line 1032 of file common.h.

◆ gamescope_running

bool platf::session_environment_t::gamescope_running {false}

A Gamescope compositor is present.

Definition at line 1030 of file common.h.

◆ kind

session_environment_e platf::session_environment_t::kind {session_environment_e::unknown}

Definition at line 1029 of file common.h.


The documentation for this struct was generated from the following file: