From bee9791e6fd8a04aefb19aa11809662991b26ae1 Mon Sep 17 00:00:00 2001 From: Robin Gohmert Date: Sat, 17 Jun 2017 13:58:07 +0200 Subject: [PATCH] Updated IMDLCacheNotify (#34) --- public/datacache/imdlcache.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/datacache/imdlcache.h b/public/datacache/imdlcache.h index 8ab212cd..cd805335 100644 --- a/public/datacache/imdlcache.h +++ b/public/datacache/imdlcache.h @@ -72,11 +72,17 @@ enum MDLCacheDataType_t abstract_class IMDLCacheNotify { public: + virtual ~IMDLCacheNotify() {}; + // Called right after the data is loaded virtual void OnDataLoaded( MDLCacheDataType_t type, MDLHandle_t handle ) = 0; + virtual void OnCombinerPreCache( MDLCacheDataType_t type, MDLHandle_t handle ) = 0; + // Called right before the data is unloaded virtual void OnDataUnloaded( MDLCacheDataType_t type, MDLHandle_t handle ) = 0; + + virtual bool ShouldSupressLoadWarning( MDLHandle_t handle ) = 0; };