comparison Applications/Platforms/WebAssembly/WebAssemblyLoadersContext.h @ 1675:6fa05252b085

don't load low-quality image if the parsed dicom file is cached by the oracle
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 23 Nov 2020 18:09:14 +0100
parents 4fb8fdf03314
children 9ac2a65d4172
comparison
equal deleted inserted replaced
1674:0621e523b670 1675:6fa05252b085
56 void SetDicomCacheSize(size_t size) 56 void SetDicomCacheSize(size_t size)
57 { 57 {
58 oracle_.SetDicomCacheSize(size); 58 oracle_.SetDicomCacheSize(size);
59 } 59 }
60 60
61 WebAssemblyOracle::CachedInstanceAccessor* AccessCachedInstance(const std::string& sopInstanceUid)
62 {
63 return new WebAssemblyOracle::CachedInstanceAccessor(oracle_, sopInstanceUid);
64 }
65
61 virtual ILock* Lock() ORTHANC_OVERRIDE; 66 virtual ILock* Lock() ORTHANC_OVERRIDE;
62 }; 67 };
63 } 68 }