diff options
author | Alexander Tkachev | 2016-05-26 19:22:27 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | b246c17850687e7b15b644b761fbfe835ffc1c32 (patch) | |
tree | c8ddc679b4ccf46d291cfc4e7bab5d201d8e8771 /backends/cloud/dropbox/dropboxlistdirectoryrequest.h | |
parent | a7b28605a01b59de6f3acc9df4cd1cac707c39e7 (diff) | |
download | scummvm-rg350-b246c17850687e7b15b644b761fbfe835ffc1c32.tar.gz scummvm-rg350-b246c17850687e7b15b644b761fbfe835ffc1c32.tar.bz2 scummvm-rg350-b246c17850687e7b15b644b761fbfe835ffc1c32.zip |
CLOUD: Fix CurlJsonRequest to use JsonCallback
Type safety first.
Diffstat (limited to 'backends/cloud/dropbox/dropboxlistdirectoryrequest.h')
-rw-r--r-- | backends/cloud/dropbox/dropboxlistdirectoryrequest.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/cloud/dropbox/dropboxlistdirectoryrequest.h b/backends/cloud/dropbox/dropboxlistdirectoryrequest.h index afa544de69..9a82ef7091 100644 --- a/backends/cloud/dropbox/dropboxlistdirectoryrequest.h +++ b/backends/cloud/dropbox/dropboxlistdirectoryrequest.h @@ -26,6 +26,7 @@ #include "backends/cloud/storage.h" #include "backends/networking/curl/request.h" #include "common/callback.h" +#include "backends/networking/curl/curljsonrequest.h" namespace Cloud { namespace Dropbox { @@ -40,7 +41,7 @@ class DropboxListDirectoryRequest: public Networking::Request { Common::Array<StorageFile> _files; int32 _requestId; - void responseCallback(Networking::RequestDataPair pair); + void responseCallback(Networking::RequestJsonPair pair); void startupWork(); public: |