#pragma once #include "kcontrol.hpp" namespace Hxsoft{namespace XFrame{ class xfCacheMgr :public xbObject { public: int InsertCacheFile(LPTSTR pStrUrl, LPTSTR pCacheFile, DWORD ver = 0); LPCTSTR GetCacheFile(LPTSTR pStrUrl); DWORD GetCacheVersion(LPTSTR pStrUrl); public: void CacheObject(LPCTSTR pUrl, void* pObject); void* GetCacheObject(LPCTSTR pUrl); }; }}