Sunshine latest
Self-hosted game stream host for Moonlight.
service_ctrl Namespace Reference

Namespace for controlling the Sunshine service model on Windows. More...

Classes

class  service_controller
 

Functions

bool is_service_running ()
 Check if the service is running.
 
bool start_service ()
 Start the service and wait for startup to complete.
 
bool wait_for_ui_ready ()
 Wait for the UI to be ready after Sunshine startup.
 

Detailed Description

Namespace for controlling the Sunshine service model on Windows.

Function Documentation

◆ is_service_running()

bool service_ctrl::is_service_running ( )

Check if the service is running.

Examples

bool is_service_running()
Check if the service is running.
Definition entry_handler.cpp:200

◆ start_service()

bool service_ctrl::start_service ( )

Start the service and wait for startup to complete.

Examples

bool start_service()
Start the service and wait for startup to complete.
Definition entry_handler.cpp:211

◆ wait_for_ui_ready()

bool service_ctrl::wait_for_ui_ready ( )

Wait for the UI to be ready after Sunshine startup.

Examples

bool wait_for_ui_ready()
Wait for the UI to be ready after Sunshine startup.
Definition entry_handler.cpp:236