28 #ifndef __HTTPAssetLinkResourceHandler__ 29 #define __HTTPAssetLinkResourceHandler__ 31 #include "CPMUnknown.h" 34 #include "ILinkResourceHandler.h" 35 #include "IHTTPLinkConnectionManager.h" 36 #include "IHTTPLinkManager.h" 37 #include "IHTTPLinkUtils.h" 39 #include "FileTypeInfo.h" 40 #include "URICommonUtils.h" 339 virtual bool IsHTTPSSupportedURI(
const URI& uri)
const;
345 virtual bool canGetInstanceName()
const {
return false; }
351 virtual ErrorCode GetInstanceName(
PMString &uri)
const {
return kFailure; }
358 std::shared_ptr<IHTTPLinkCachedAssetEntry> GetCachedAssetEntry(
const UIDRef& ref,
360 bool16 shouldDownload = kTrue,
361 bool16 forceOriginalURI = kFalse,
365 static void DownloadCompletionCallback(
const URI& inUri,
367 std::shared_ptr<IHTTPLinkCachedAssetEntry> cachedAssetEntry,
368 ILinkResource::DownloadCompletionFunction downloadCompletionFunction);
370 static void HighResDrawingDownloadCompletionCallback(
const UIDRef& ref,
375 std::shared_ptr<IHTTPLinkCachedAssetEntry> cachedAssetEntry);
377 static uint32 PerformAssetsInvalidation(
void* ptr);
378 static void StartAssetsInvalidationDelayTimer(uint32 delayTime);
403 #endif // __HTTPAssetLinkResourceHandler__