TemplateManager.h 404 B

123456789101112131415161718
  1. #pragma once
  2. //Ä£°å¹ÜÀíÆ÷
  3. class CTemplateManager
  4. {
  5. public:
  6. CTemplateManager(void);
  7. ~CTemplateManager(void);
  8. static int ExtractResource(LPCTSTR szResourceType ,UINT nIDResource,void * pData);
  9. static std::string ExtractResource(LPCTSTR szResourceType, UINT nIDResource);
  10. private:
  11. std::map<int, std::string> cache;
  12. RTL_CRITICAL_SECTION m_lock;//ͬ²½Ëø
  13. };
  14. extern CTemplateManager g_TemplateManager;