diff options
Diffstat (limited to 'indra/llmessage/lltransfersourceasset.h')
-rw-r--r-- | indra/llmessage/lltransfersourceasset.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/indra/llmessage/lltransfersourceasset.h b/indra/llmessage/lltransfersourceasset.h index 931fc461f9..446c9622b2 100644 --- a/indra/llmessage/lltransfersourceasset.h +++ b/indra/llmessage/lltransfersourceasset.h @@ -50,6 +50,7 @@ protected: BOOL &delete_returned); /*virtual*/ void completionCallback(const LLTSCode status); + virtual void packParams(LLDataPacker& dp) const; /*virtual*/ BOOL unpackParams(LLDataPacker &dp); protected: @@ -59,4 +60,24 @@ protected: S32 mCurPos; }; +/** + * @brief Quick check to see if the asset allows direct download. + * + * This might not be the right place for this function call, but it + * originally started life inside the LLTransferSourceAsset code. + * @param type The type of asset. + * @return Returns true if the asset can be fetched by id. + */ +bool is_asset_fetch_by_id_allowed(LLAssetType::EType type); + +/** + * @brief Quick check to see if all asset data can be known by the viewer. + * + * This might not be the right place for this function call, but it + * originally started life inside the LLTransferSourceAsset code. + * @param type The type of asset. + * @return Returns true if the asset id can be transmitted to the viewer. + */ +bool is_asset_id_knowable(LLAssetType::EType type); + #endif // LL_LLTRANSFERSOURCEASSET_H |