History

can fetch poly asset list synchronously

Elisa Lupin-Jimenez committed 8 years ago

Commit 392f2901 parent dc999402 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
2222
2323 public slots:
2424 void testPrint();
25+ void setAPIKey(QString key);
26+
27+ //QJsonArray GooglePolyScriptingInterface::getAssetList();
28+ void getAssetList();
29+
30+private:
31+ QByteArray getHTTPRequest(QUrl url);
32+ QJsonObject makeJSONObject(QByteArray* response, bool isList);
33+ //void onResult(QNetworkReply* reply);
34+
35+ QString authCode;
36+
2537
2638 };
2739

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t