![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Definitions for the main entry point for Sunshine. More...
#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 "version.h"
#include "video.h"
#include "rswrapper.h"
Functions | |
WINAPI BOOL | ConsoleCtrlHandler (DWORD type) |
int | main (int argc, char *argv[]) |
Main application entry point. | |
template<class FN > | |
void | on_signal (int sig, FN &&fn) |
void | on_signal_forwarder (int sig) |
LRESULT CALLBACK | SessionMonitorWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
Variables | |
std::map< std::string_view, std::function< int(const char *name, int argc, char **argv)> | cmd_to_func ) |
std::map< int, std::function< void()> > | signal_handlers |
Definitions for the main entry point for Sunshine.
int main | ( | int | argc, |
char * | argv[] ) |
Main application entry point.
argc | The number of arguments. |
argv | The arguments. |
Examples
std::map<std::string_view, std::function<int(const char *name, int argc, char **argv)> cmd_to_func) |