123456789101112131415161718 |
- #pragma once
- //Ä£°å¹ÜÀíÆ÷
- class CTemplateManager
- {
- public:
- CTemplateManager(void);
- ~CTemplateManager(void);
- static int ExtractResource(LPCTSTR szResourceType ,UINT nIDResource,void * pData);
- static std::string ExtractResource(LPCTSTR szResourceType, UINT nIDResource);
- private:
- std::map<int, std::string> cache;
- RTL_CRITICAL_SECTION m_lock;//ͬ²½Ëø
- };
- extern CTemplateManager g_TemplateManager;
|