diff options
author | Alexander Tkachev | 2016-07-06 19:09:29 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | b40bfaa046370a2eeadcce1236f518315e8ada01 (patch) | |
tree | f845449a173a05bbf86ac94974a8d6575c68164c /backends/networking/sdl_net/localwebserver.h | |
parent | 8a9d126152f3e0ed1e91daa15dd90f0c18060492 (diff) | |
download | scummvm-rg350-b40bfaa046370a2eeadcce1236f518315e8ada01.tar.gz scummvm-rg350-b40bfaa046370a2eeadcce1236f518315e8ada01.tar.bz2 scummvm-rg350-b40bfaa046370a2eeadcce1236f518315e8ada01.zip |
CLOUD: Add "/download" handler
Now one can download files from the device through browser!
Diffstat (limited to 'backends/networking/sdl_net/localwebserver.h')
-rw-r--r-- | backends/networking/sdl_net/localwebserver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/networking/sdl_net/localwebserver.h b/backends/networking/sdl_net/localwebserver.h index ed1860a937..97fe2aa37b 100644 --- a/backends/networking/sdl_net/localwebserver.h +++ b/backends/networking/sdl_net/localwebserver.h @@ -26,6 +26,7 @@ #include "backends/networking/sdl_net/client.h" #include "backends/networking/sdl_net/handlers/basehandler.h" #include "backends/networking/sdl_net/handlers/createdirectoryhandler.h" +#include "backends/networking/sdl_net/handlers/downloadfilehandler.h" #include "backends/networking/sdl_net/handlers/filespagehandler.h" #include "backends/networking/sdl_net/handlers/indexpagehandler.h" #include "backends/networking/sdl_net/handlers/resourcehandler.h" @@ -61,6 +62,7 @@ class LocalWebserver : public Common::Singleton<LocalWebserver> { IndexPageHandler _indexPageHandler; FilesPageHandler _filesPageHandler; CreateDirectoryHandler _createDirectoryHandler; + DownloadFileHandler _downloadFileHandler; ResourceHandler _resourceHandler; uint32 _idlingFrames; Common::Mutex _handleMutex; |