aboutsummaryrefslogtreecommitdiff
path: root/common/json.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-03 15:14:12 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitda3b7bd8d9f3d3828b8cea6dff60e5f43e7ad4b1 (patch)
tree35d3054efddffe2343b66ebb9a62cbb1c342494e /common/json.h
parentb02b16ab98330f3471919a57ec0d4e087e2fa924 (diff)
downloadscummvm-rg350-da3b7bd8d9f3d3828b8cea6dff60e5f43e7ad4b1.tar.gz
scummvm-rg350-da3b7bd8d9f3d3828b8cea6dff60e5f43e7ad4b1.tar.bz2
scummvm-rg350-da3b7bd8d9f3d3828b8cea6dff60e5f43e7ad4b1.zip
CLOUD: Add GoogleDriveStorage
It has its own GoogleDriveTokenRefresher and knows how to do info(). This commit also contains JSON int -> long long int fix and CurlJsonRequest '\n' -> ' ' fix.
Diffstat (limited to 'common/json.h')
-rw-r--r--common/json.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/json.h b/common/json.h
index 35571935ee..d9bbbdb77c 100644
--- a/common/json.h
+++ b/common/json.h
@@ -96,7 +96,7 @@ public:
JSONValue(const String &stringValue);
JSONValue(bool boolValue);
JSONValue(double numberValue);
- JSONValue(int numberValue);
+ JSONValue(long long int numberValue);
JSONValue(const JSONArray &arrayValue);
JSONValue(const JSONObject &objectValue);
JSONValue(const JSONValue &source);
@@ -113,7 +113,7 @@ public:
const String &asString() const;
bool asBool() const;
double asNumber() const;
- int asIntegerNumber() const;
+ long long int asIntegerNumber() const;
const JSONArray &asArray() const;
const JSONObject &asObject() const;
@@ -138,7 +138,7 @@ private:
union {
bool _boolValue;
double _numberValue;
- int _integerValue;
+ long long int _integerValue;
String *_stringValue;
JSONArray *_arrayValue;
JSONObject *_objectValue;