History

can fetch poly asset list synchronously

Elisa Lupin-Jimenez committed 8 years ago

Commit 4ed68961 parent d6e1a9d2 files · +189 −2Browse files

Showing the changes to interface/src/scripting/GooglePolyScriptingInterface.h (1 of 2 files). Show all

Unified · Split

interface/src/scripting/GooglePolyScriptingInterface.h+12−0
@@ -22,6 +22,18 @@ public: · 21 unmodified lines
22 22
23public slots:23public slots:
24 void testPrint();24 void testPrint();
25 void setAPIKey(QString key);
26
27 //QJsonArray GooglePolyScriptingInterface::getAssetList();
28 void getAssetList();
29
30private:
31 QByteArray getHTTPRequest(QUrl url);
32 QJsonObject makeJSONObject(QByteArray* response, bool isList);
33 //void onResult(QNetworkReply* reply);
34
35 QString authCode;
36
25 37
26};38};
27 39