Showing the changes to interface/src/scripting/GooglePolyScriptingInterface.h (1 of 2 files). Show all
Unified · Split
| @@ -22,6 +22,18 @@ public: · 21 unmodified lines | ||
| 22 | 22 | |
| 23 | 23 | public slots: |
| 24 | 24 | 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 | + | |
| 25 | 37 | |
| 26 | 38 | }; |
| 27 | 39 | |