mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-11-29 00:30:45 +00:00
docs(doxygen): enforce warn if undocumented (#5337)
This commit is contained in:
1 parent
be7c1bcdfb
commit
a991a9622c
141 files changed
+11804
-1524
No files matched your search
+11
-3
@@ -67,8 +67,8 @@ namespace args {
|
||||
} // namespace args
|
||||
|
||||
namespace lifetime {
|
||||
char **argv;
|
||||
std::atomic_int desired_exit_code;
|
||||
char **argv; ///< Command-line argument vector.
|
||||
std::atomic_int desired_exit_code; ///< Desired exit code.
|
||||
|
||||
void exit_sunshine(int exit_code, bool async) {
|
||||
// Store the exit code of the first exit_sunshine() call
|
||||
@@ -121,10 +121,14 @@ bool is_gamestream_enabled() {
|
||||
}
|
||||
|
||||
namespace service_ctrl {
|
||||
/**
|
||||
* @brief Owns Windows service-manager handles for the Sunshine service.
|
||||
*/
|
||||
class service_controller {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructor for service_controller class.
|
||||
* @brief Open the Windows service manager and Sunshine service handle.
|
||||
*
|
||||
* @param service_desired_access SERVICE_* desired access flags.
|
||||
*/
|
||||
service_controller(DWORD service_desired_access) {
|
||||
@@ -155,6 +159,8 @@ namespace service_ctrl {
|
||||
|
||||
/**
|
||||
* @brief Asynchronously starts the Sunshine service.
|
||||
*
|
||||
* @return True when the Windows service API call succeeds.
|
||||
*/
|
||||
bool start_service() {
|
||||
if (!service_handle) {
|
||||
@@ -175,6 +181,8 @@ namespace service_ctrl {
|
||||
/**
|
||||
* @brief Query the service status.
|
||||
* @param status The SERVICE_STATUS struct to populate.
|
||||
*
|
||||
* @return True when the Windows service API call succeeds.
|
||||
*/
|
||||
bool query_service_status(SERVICE_STATUS &status) {
|
||||
if (!service_handle) {
|
||||
|
||||
Reference in new issue
Block a user