diff options
author | Alexander Tkachev | 2016-07-18 19:00:14 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 5163fb4e02926bcc9fe12de3f3b031b1c8349c8b (patch) | |
tree | 8b9eae6798028fdd592d1269ddb956b2bd82f4b3 /backends/networking/sdl_net/localwebserver.h | |
parent | 8de753b68ad92913b73e1f7f5552b209f7a72876 (diff) | |
download | scummvm-rg350-5163fb4e02926bcc9fe12de3f3b031b1c8349c8b.tar.gz scummvm-rg350-5163fb4e02926bcc9fe12de3f3b031b1c8349c8b.tar.bz2 scummvm-rg350-5163fb4e02926bcc9fe12de3f3b031b1c8349c8b.zip |
CLOUD: Add ListAjaxHandler
"/list" now returns JSON with directory information. Would be used in
AJAX-based Files Manager.
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 cdd991d9de..b4655119da 100644 --- a/backends/networking/sdl_net/localwebserver.h +++ b/backends/networking/sdl_net/localwebserver.h @@ -29,6 +29,7 @@ #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/listajaxhandler.h" #include "backends/networking/sdl_net/handlers/resourcehandler.h" #include "backends/networking/sdl_net/handlers/uploadfilehandler.h" #include "common/hash-str.h" @@ -65,6 +66,7 @@ class LocalWebserver : public Common::Singleton<LocalWebserver> { CreateDirectoryHandler _createDirectoryHandler; DownloadFileHandler _downloadFileHandler; UploadFileHandler _uploadFileHandler; + ListAjaxHandler _listAjaxHandler; ResourceHandler _resourceHandler; uint32 _idlingFrames; Common::Mutex _handleMutex; |