CLOUD: Add LocalWebserver
Available as LocalServer singleton. It's being started and stopped by StorageWizardDialog. It doesn't handle clients yet, though.
This commit is contained in:
parent
9f7bea156a
commit
0af97e59bc
7 changed files with 242 additions and 13 deletions
|
@ -72,6 +72,9 @@
|
|||
#ifdef USE_LIBCURL
|
||||
#include "backends/networking/curl/connectionmanager.h"
|
||||
#endif
|
||||
#ifdef USE_SDL_NET
|
||||
#include "backends/networking/sdl_net/localwebserver.h"
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32_WCE)
|
||||
#include "backends/platform/wince/CELauncherDialog.h"
|
||||
|
@ -596,6 +599,9 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
|
|||
launcherDialog();
|
||||
}
|
||||
}
|
||||
#ifdef USE_SDL_NET
|
||||
Networking::LocalWebserver::destroy();
|
||||
#endif
|
||||
#ifdef USE_LIBCURL
|
||||
Networking::ConnectionManager::destroy();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue