xj qian
2024-06-26 f1f12fc0cfd1b5e10d3b91eef548a026bf0ba38c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);
    };
}}