History

AccountServices API JSDoc

David Rowe committed 7 years ago

Commit 2a338121 parent 54e36f02 files · +68 −13Browse files

Showing the changes to interface/src/scripting/AccountServicesScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

interface/src/scripting/AccountServicesScriptingInterface.cpp+6−0
@@ -112,6 +112,12 @@ DownloadInfoResult::DownloadInfoResult() : · 111 unmodified lines
112{112{
113}113}
114 114
115/**jsdoc
116 * Information on the assets currently being downloaded and pending download.
117 * @typedef {object} AccountServices.DownloadInfoResult
118 * @property {number[]} downloading - The percentage complete for each asset currently being downloaded.
119 * @property {number} pending - The number of assets waiting to be download.
120 */
115QScriptValue DownloadInfoResultToScriptValue(QScriptEngine* engine, const DownloadInfoResult& result) {121QScriptValue DownloadInfoResultToScriptValue(QScriptEngine* engine, const DownloadInfoResult& result) {
116 QScriptValue object = engine->newObject();122 QScriptValue object = engine->newObject();
117 123