diff options
author | Alexander Tkachev | 2016-07-05 16:31:52 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | e601c39802adbb64dce4b449c617e1786ef584ed (patch) | |
tree | 47967b710c44a15524b7170885080aaefdceb949 /backends/networking/sdl_net/localwebserver.h | |
parent | 3da38ca60b65d3f1bd67b049f3c4b2a90a4d6a19 (diff) | |
download | scummvm-rg350-e601c39802adbb64dce4b449c617e1786ef584ed.tar.gz scummvm-rg350-e601c39802adbb64dce4b449c617e1786ef584ed.tar.bz2 scummvm-rg350-e601c39802adbb64dce4b449c617e1786ef584ed.zip |
CLOUD: Make "Run server" button active
It should show the real server's IP over there, but that doesn't work
yet.
Diffstat (limited to 'backends/networking/sdl_net/localwebserver.h')
-rw-r--r-- | backends/networking/sdl_net/localwebserver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/networking/sdl_net/localwebserver.h b/backends/networking/sdl_net/localwebserver.h index 2bd8daff5d..f73d1b2850 100644 --- a/backends/networking/sdl_net/localwebserver.h +++ b/backends/networking/sdl_net/localwebserver.h @@ -59,6 +59,7 @@ class LocalWebserver : public Common::Singleton<LocalWebserver> { IndexPageHandler _indexPageHandler; uint32 _idlingFrames; Common::Mutex _handleMutex; + Common::String _address; void startTimer(int interval = TIMER_INTERVAL); void stopTimer(); @@ -76,7 +77,9 @@ public: void addPathHandler(Common::String path, ClientHandler handler); void removePathHandler(Common::String path); + Common::String getAddress(); IndexPageHandler &indexPageHandler(); + bool isRunning(); static void setClientGetHandler(Client &client, Common::String response, long code = 200, const char *mimeType = nullptr); static void setClientGetHandler(Client &client, Common::SeekableReadStream *responseStream, long code = 200, const char *mimeType = nullptr); |