Showing the changes to interface/src/scripting/GooglePolyScriptingInterface.h (1 of 19 files). Show all
Unified · Split
| @@ -16,8 +16,8 @@ · 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 { |
| @@ -27,75 +27,84 @@ public: · 3 unmodified lines | |||
| 27 | GooglePolyScriptingInterface(); | 27 | GooglePolyScriptingInterface(); |
| 28 | 28 | ||
| 29 | public slots: | 29 | public slots: |
| 30 | /** | 30 | |
| 31 | * To Be Completed | 31 | /**jsdoc |
| 32 | * @function GooglePoly.setAPIKey | 32 | * @function GooglePoly.setAPIKey |
| 33 | * @param {string} key | 33 | * @param {string} key |
| 34 | */ | 34 | */ |
| 35 | |||
| 35 | void setAPIKey(const QString& key); | 36 | void setAPIKey(const QString& key); |
| 36 | /** | 37 | |
| 37 | * To Be Completed | 38 | /**jsdoc |
| 38 | * @function GooglePoly.getAssetList | 39 | * @function GooglePoly.getAssetList |
| 39 | * @param {string} keyword | 40 | * @param {string} keyword |
| 40 | * @param {string} category | 41 | * @param {string} category |
| 41 | * @param {string} format | 42 | * @param {string} format |
| 42 | * @returns {string} | 43 | * @returns {string} |
| 43 | */ | 44 | */ |
| 45 | |||
| 44 | QString getAssetList(const QString& keyword, const QString& category, const QString& format); | 46 | QString getAssetList(const QString& keyword, const QString& category, const QString& format); |
| 45 | /** | 47 | |
| 46 | * To Be Completed | 48 | /**jsdoc |
| 47 | * @function GooglePoly.getFBX | 49 | * @function GooglePoly.getFBX |
| 48 | * @param {string} keyword | 50 | * @param {string} keyword |
| 49 | * @param {string} category | 51 | * @param {string} category |
| 50 | * @returns {string} | 52 | * @returns {string} |
| 51 | */ | 53 | */ |
| 54 | |||
| 52 | QString getFBX(const QString& keyword, const QString& category); | 55 | QString getFBX(const QString& keyword, const QString& category); |
| 53 | /** | 56 | |
| 54 | * To Be Completed | 57 | /**jsdoc |
| 55 | * @function GooglePoly.getOBJ | 58 | * @function GooglePoly.getOBJ |
| 56 | * @param {string} keyword | 59 | * @param {string} keyword |
| 57 | * @param {string} category | 60 | * @param {string} category |
| 58 | * @returns {string} | 61 | * @returns {string} |
| 59 | */ | 62 | */ |
| 63 | |||
| 60 | QString getOBJ(const QString& keyword, const QString& category); | 64 | QString getOBJ(const QString& keyword, const QString& category); |
| 61 | /** | 65 | |
| 62 | * To Be Completed | 66 | /**jsdoc |
| 63 | * @function GooglePoly.getBlocks | 67 | * @function GooglePoly.getBlocks |
| 64 | * @param {string} keyword | 68 | * @param {string} keyword |
| 65 | * @param {string} category | 69 | * @param {string} category |
| 66 | * @returns {string} | 70 | * @returns {string} |
| 67 | */ | 71 | */ |
| 72 | |||
| 68 | QString getBlocks(const QString& keyword, const QString& category); | 73 | QString getBlocks(const QString& keyword, const QString& category); |
| 69 | /** | 74 | |
| 70 | * To Be Completed | 75 | /**jsdoc |
| 71 | * @function GooglePoly.getGLTF | 76 | * @function GooglePoly.getGLTF |
| 72 | * @param {string} keyword | 77 | * @param {string} keyword |
| 73 | * @param {string} category | 78 | * @param {string} category |
| 74 | * @returns {string} | 79 | * @returns {string} |
| 75 | */ | 80 | */ |
| 81 | |||
| 76 | QString getGLTF(const QString& keyword, const QString& category); | 82 | QString getGLTF(const QString& keyword, const QString& category); |
| 77 | /** | 83 | |
| 78 | * To Be Completed | 84 | /**jsdoc |
| 79 | * @function GooglePoly.getGLTF2 | 85 | * @function GooglePoly.getGLTF2 |
| 80 | * @param {string} keyword | 86 | * @param {string} keyword |
| 81 | * @param {string} category | 87 | * @param {string} category |
| 82 | * @returns {string} | 88 | * @returns {string} |
| 83 | */ | 89 | */ |
| 90 | |||
| 84 | QString getGLTF2(const QString& keyword, const QString& category); | 91 | QString getGLTF2(const QString& keyword, const QString& category); |
| 85 | /** | 92 | |
| 86 | * To Be Completed | 93 | /**jsdoc |
| 87 | * @function GooglePoly.getTilt | 94 | * @function GooglePoly.getTilt |
| 88 | * @param {string} keyword | 95 | * @param {string} keyword |
| 89 | * @param {string} category | 96 | * @param {string} category |
| 90 | * @returns {string} | 97 | * @returns {string} |
| 91 | */ | 98 | */ |
| 99 | |||
| 92 | QString getTilt(const QString& keyword, const QString& category); | 100 | QString getTilt(const QString& keyword, const QString& category); |
| 93 | /** | 101 | |
| 94 | * To Be Completed | 102 | /**jsdoc |
| 95 | * @function GooglePoly.getModelInfo | 103 | * @function GooglePoly.getModelInfo |
| 96 | * @param {string} input | 104 | * @param {string} input |
| 97 | * @returns {string} | 105 | * @returns {string} |
| 98 | */ | 106 | */ |
| 107 | |||
| 99 | QString getModelInfo(const QString& input); | 108 | QString getModelInfo(const QString& input); |
| 100 | 109 | ||
| 101 | private: | 110 | private: |