From 087733034475944bb919fab73bc6de30e7beed6e Mon Sep 17 00:00:00 2001 From: Ayuto Date: Fri, 22 May 2015 21:24:13 +0200 Subject: [PATCH] Fixed vtable of IMDLCacheNotify --- public/datacache/imdlcache.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/datacache/imdlcache.h b/public/datacache/imdlcache.h index 8ab212cd..f75298c5 100644 --- a/public/datacache/imdlcache.h +++ b/public/datacache/imdlcache.h @@ -20,6 +20,7 @@ #endif #include "appframework/IAppSystem.h" +#include "filesystem.h" //----------------------------------------------------------------------------- // Forward declarations @@ -72,11 +73,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; };