History

Convert all "/**jsdoc" occurrences to "/*@jsdoc"

David Rowe committed 5 years ago

Commit 4d11d1d1 parent 2130dea220 files · +2319 −2319Browse files

Showing the changes to libraries/script-engine/src/AssetScriptingInterface.cpp (1 of 220 files). Show all

Unified · Split

libraries/script-engine/src/AssetScriptingInterface.cpp+14−14
@@ -102,7 +102,7 @@ void AssetScriptingInterface::setMapping(QString path, QString hash, QScriptValu · 101 unmodified lines
102102 setMappingRequest->start();
103103 }
104104
105−/**jsdoc
105+/*@jsdoc
106106 * The success or failure of an {@link Assets.downloadData} call.
107107 * @typedef {object} Assets.DownloadDataError
108108 * @property {string} errorMessage - <code>""</code> if the download was successful, otherwise a description of the error.
@@ -244,7 +244,7 @@ void AssetScriptingInterface::deleteAsset(QScriptValue options, QScriptValue sco · 135 unmodified lines
244244 jsVerify(false, "TODO: deleteAsset API");
245245 }
246246
247−/**jsdoc
247+/*@jsdoc
248248 * Source and download options for {@link Assets.getAsset}.
249249 * @typedef {object} Assets.GetOptions
250250 * @property {boolean} [decompress=false] - <code>true</code> to gunzip decompress the downloaded data. Synonym:
@@ -252,7 +252,7 @@ void AssetScriptingInterface::deleteAsset(QScriptValue options, QScriptValue sco · 1 unmodified line
252252 * @property {Assets.ResponseType} [responseType="text"] - The desired result type.
253253 * @property {string} url - The mapped path or hash to download. May have a leading <code>"atp:"</code>.
254254 */
255−/**jsdoc
255+/*@jsdoc
256256 * Result value returned by {@link Assets.getAsset}.
257257 * @typedef {object} Assets.GetResult
258258 * @property {number} [byteLength] - The number of bytes in the downloaded content in <code>response</code>.
@@ -320,12 +320,12 @@ void AssetScriptingInterface::getAsset(QScriptValue options, QScriptValue scope, · 61 unmodified lines
320320 }
321321 }
322322
323−/**jsdoc
323+/*@jsdoc
324324 * Source options for {@link Assets.resolveAsset}.
325325 * @typedef {object} Assets.ResolveOptions
326326 * @property {string} url - The hash or path to resolve. May have a leading <code>"atp:"</code>.
327327 */
328−/**jsdoc
328+/*@jsdoc
329329 * Result value returned by {@link Assets.resolveAsset}.
330330 * <p>Note: If resolving a hash, a file of that hash need not be present on the asset server for the hash to resolve.</p>
331331 * @typedef {object} Assets.ResolveResult
@@ -348,13 +348,13 @@ void AssetScriptingInterface::resolveAsset(QScriptValue options, QScriptValue sc · 16 unmodified lines
348348 jsPromiseReady(getAssetInfo(asset), scope, callback);
349349 }
350350
351−/**jsdoc
351+/*@jsdoc
352352 * Content and decompression options for {@link Assets.decompressData}.
353353 * @typedef {object} Assets.DecompressOptions
354354 * @property {ArrayBuffer} data - The data to decompress.
355355 * @property {Assets.ResponseType} [responseType=text] - The type of decompressed data to return.
356356 */
357−/**jsdoc
357+/*@jsdoc
358358 * Result value returned by {@link Assets.decompressData}.
359359 * @typedef {object} Assets.DecompressResult
360360 * @property {number} [byteLength] - The number of bytes in the decompressed data.
@@ -388,7 +388,7 @@ namespace { · 27 unmodified lines
388388 const int32_t MAX_GZIP_COMPRESSION_LEVEL = 9;
389389 }
390390
391−/**jsdoc
391+/*@jsdoc
392392 * Content and compression options for {@link Assets.compressData}.
393393 * @typedef {object} Assets.CompressOptions
394394 * @property {string|ArrayBuffer} data - The data to compress.
@@ -396,7 +396,7 @@ namespace { · 1 unmodified line
396396 * use the default gzip compression level, <code>0</code> means no compression, and <code>9</code> means maximum
397397 * compression.
398398 */
399−/**jsdoc
399+/*@jsdoc
400400 * Result value returned by {@link Assets.compressData}.
401401 * @typedef {object} Assets.CompressResult
402402 * @property {number} [byteLength] - The number of bytes in the compressed data.
@@ -412,7 +412,7 @@ void AssetScriptingInterface::compressData(QScriptValue options, QScriptValue sc · 9 unmodified lines
412412 jsPromiseReady(compressBytes(dataByteArray, level), scope, callback);
413413 }
414414
415−/**jsdoc
415+/*@jsdoc
416416 * Content and upload options for {@link Assets.putAsset}.
417417 * @typedef {object} Assets.PutOptions
418418 * @property {boolean} [compress=false] - <code>true</code> to gzip compress the content for upload and storage,
@@ -423,7 +423,7 @@ void AssetScriptingInterface::compressData(QScriptValue options, QScriptValue sc · 4 unmodified lines
423423 * <p>Note: The asset server destroys any unmapped SHA256-named file at server restart. Either set the mapping path
424424 * with this property or use {@link Assets.setMapping} to set a path-to-hash mapping for the uploaded file.</p>
425425 */
426−/**jsdoc
426+/*@jsdoc
427427 * Result value returned by {@link Assets.putAsset}.
428428 * @typedef {object} Assets.PutResult
429429 * @property {number} [byteLength] - The number of bytes in the hash file stored on the asset server.
@@ -483,7 +483,7 @@ void AssetScriptingInterface::putAsset(QScriptValue options, QScriptValue scope, · 53 unmodified lines
483483 }
484484 }
485485
486−/**jsdoc
486+/*@jsdoc
487487 * Source for {@link Assets.queryCacheMeta}.
488488 * @typedef {object} Assets.QueryCacheMetaOptions
489489 * @property {string} url - The URL of the cached asset to get information on. Must start with <code>"atp:"</code> or
@@ -495,7 +495,7 @@ void AssetScriptingInterface::queryCacheMeta(QScriptValue options, QScriptValue · 5 unmodified lines
495495 jsPromiseReady(Parent::queryCacheMeta(url), scope, callback);
496496 }
497497
498−/**jsdoc
498+/*@jsdoc
499499 * Source and retrieval options for {@link Assets.loadFromCache}.
500500 * @typedef {object} Assets.LoadFromCacheOptions
501501 * @property {boolean} [decompress=false] - <code>true</code> to gunzip decompress the cached data. Synonym:
@@ -538,7 +538,7 @@ bool AssetScriptingInterface::canWriteCacheValue(const QUrl& url) { · 36 unmodified lines
538538 return true;
539539 }
540540
541−/**jsdoc
541+/*@jsdoc
542542 * The data to save to the cache and cache options for {@link Assets.saveToCache}.
543543 * @typedef {object} Assets.SaveToCacheOptions
544544 * @property {string|ArrayBuffer} data - The data to save to the cache.