|
Hermes 0.7.0
Linux game streaming host
|
Definitions for the main entry point for Sunshine. More...
#include <algorithm>#include <codecvt>#include <csignal>#include <fstream>#include <iostream>#include "confighttp.h"#include "display_device.h"#include "entry_handler.h"#include "globals.h"#include "httpcommon.h"#include "logging.h"#include "main.h"#include "nvhttp.h"#include "process.h"#include "system_tray.h"#include "upnp.h"#include "uuid.h"#include "video.h"#include "platform/linux/virtual_display.h"#include "platform/linux/prelogin.h"#include "platform/linux/session_attach.h"#include <boost/log/core.hpp>#include "rswrapper.h"Go to the source code of this file.
Macros | |
| #define | PROBE_DISPLAY_UUID "38F72B96-B00C-4F21-8B6C-E1BFF1602B0E" |
Functions | |
| void | on_signal_forwarder (int sig) |
| template<class FN> | |
| void | on_signal (int sig, FN &&fn) |
| void | mainThreadLoop (const std::shared_ptr< safe::event_t< bool > > &shutdown_event) |
| int | main (int argc, char *argv[]) |
| Main application entry point. | |
Variables | |
| std::map< int, std::function< void()> > | signal_handlers |
| std::map< std::string_view, std::function< int(const char *name, int argc, char **argv)> > | cmd_to_func |
| constexpr bool | tray_is_enabled = true |
Definitions for the main entry point for Sunshine.
Definition in file main.cpp.
| #define PROBE_DISPLAY_UUID "38F72B96-B00C-4F21-8B6C-E1BFF1602B0E" |
| int main | ( | int | argc, |
| char * | argv[] ) |
Main application entry point.
| argc | The number of arguments. |
| argv | The arguments. |
Examples
| void mainThreadLoop | ( | const std::shared_ptr< safe::event_t< bool > > & | shutdown_event | ) |
| std::map<std::string_view, std::function<int(const char *name, int argc, char **argv)> > cmd_to_func |