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