用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
780 B

#pragma once
#include "pugixml\pugixml.hpp"
#include "res.mgr\SSkinPool.h"
#include "helper\SplitString.h"
#include "resprovider-zip\zipresprovider-param.h"
#include "resprovider-zip\SResProviderZip.h"
namespace SOUI
{
#define RT_SKIN _T("SkinXml")
class SSkinLoader :public SSingleton<SSkinLoader>
{
SAutoRefPtr<IResProvider> m_pResProvider;
SAutoRefPtr<SSkinPool> m_privateSkinPool;
SApplication *m_theApp;
BOOL CreateResProvider_ZIP(IObjRef **ppObj)
{
return RESPROVIDER_ZIP::SCreateInstance(ppObj);
}
public:
SSkinLoader(SApplication*);
~SSkinLoader();
void LoadSkinFormZip(SStringT respath, const TCHAR *strXmlSkin=_T("SkinXml:LoadSkinXml"));
void LoadSkin(SStringT respath,const TCHAR *strXmlSkin = _T("SkinXml:LoadSkinXml"));
};
}//END SOUI