Showing the changes to interface/src/scripting/GooglePolyScriptingInterface.h (1 of 18 files). Show all
Unified · Split
| @@ -15,6 +15,11 @@ · 14 unmodified lines | ||
| 15 | 15 | #include <QObject> |
| 16 | 16 | #include <DependencyManager.h> |
| 17 | 17 | |
| 18 | +/**jsdoc | |
| 19 | +* The GooglePoly API allows you to interact with Google Poly models direct from inside High Fidelity. | |
| 20 | +* @namespace GooglePoly | |
| 21 | +*/ | |
| 22 | + | |
| 18 | 23 | class GooglePolyScriptingInterface : public QObject, public Dependency { |
| 19 | 24 | Q_OBJECT |
| 20 | 25 | |
| @@ -22,15 +27,75 @@ public: · 1 unmodified line | ||
| 22 | 27 | GooglePolyScriptingInterface(); |
| 23 | 28 | |
| 24 | 29 | public slots: |
| 30 | + /** | |
| 31 | + * To Be Completed | |
| 32 | + * @function GooglePoly.setAPIKey | |
| 33 | + * @param {string} key | |
| 34 | + */ | |
| 25 | 35 | void setAPIKey(const QString& key); |
| 26 | − | |
| 36 | + /** | |
| 37 | + * To Be Completed | |
| 38 | + * @function GooglePoly.getAssetList | |
| 39 | + * @param {string} keyword | |
| 40 | + * @param {string} category | |
| 41 | + * @param {string} format | |
| 42 | + * @returns {string} | |
| 43 | + */ | |
| 27 | 44 | QString getAssetList(const QString& keyword, const QString& category, const QString& format); |
| 45 | + /** | |
| 46 | + * To Be Completed | |
| 47 | + * @function GooglePoly.getFBX | |
| 48 | + * @param {string} keyword | |
| 49 | + * @param {string} category | |
| 50 | + * @returns {string} | |
| 51 | + */ | |
| 28 | 52 | QString getFBX(const QString& keyword, const QString& category); |
| 53 | + /** | |
| 54 | + * To Be Completed | |
| 55 | + * @function GooglePoly.getOBJ | |
| 56 | + * @param {string} keyword | |
| 57 | + * @param {string} category | |
| 58 | + * @returns {string} | |
| 59 | + */ | |
| 29 | 60 | QString getOBJ(const QString& keyword, const QString& category); |
| 30 | − QString getBlocks(const QString& keyword, const QString& categoryy); | |
| 61 | + /** | |
| 62 | + * To Be Completed | |
| 63 | + * @function GooglePoly.getBlocks | |
| 64 | + * @param {string} keyword | |
| 65 | + * @param {string} category | |
| 66 | + * @returns {string} | |
| 67 | + */ | |
| 68 | + QString getBlocks(const QString& keyword, const QString& category); | |
| 69 | + /** | |
| 70 | + * To Be Completed | |
| 71 | + * @function GooglePoly.getGLTF | |
| 72 | + * @param {string} keyword | |
| 73 | + * @param {string} category | |
| 74 | + * @returns {string} | |
| 75 | + */ | |
| 31 | 76 | QString getGLTF(const QString& keyword, const QString& category); |
| 77 | + /** | |
| 78 | + * To Be Completed | |
| 79 | + * @function GooglePoly.getGLTF2 | |
| 80 | + * @param {string} keyword | |
| 81 | + * @param {string} category | |
| 82 | + * @returns {string} | |
| 83 | + */ | |
| 32 | 84 | QString getGLTF2(const QString& keyword, const QString& category); |
| 85 | + /** | |
| 86 | + * To Be Completed | |
| 87 | + * @function GooglePoly.getTilt | |
| 88 | + * @param {string} keyword | |
| 89 | + * @param {string} category | |
| 90 | + * @returns {string} | |
| 91 | + */ | |
| 33 | 92 | QString getTilt(const QString& keyword, const QString& category); |
| 93 | + /** | |
| 94 | + * To Be Completed | |
| 95 | + * @function GooglePoly.getModelInfo | |
| 96 | + * @param {string} input | |
| 97 | + * @returns {string} | |
| 98 | + */ | |
| 34 | 99 | QString getModelInfo(const QString& input); |
| 35 | 100 | |
| 36 | 101 | private: |