12345678910111213141516171819 |
- #pragma once
- #include "identifydll_global.h"
- #include <boost\smart_ptr.hpp>
- class SMARTEVALUATIONLOGIC_API CIdentifyEngine
- {
- template<class T> friend inline void boost::checked_delete(T *);
- public:
- static boost::shared_ptr<CIdentifyEngine> GetInstance();
- //设置远端服务器地址
- int SetServerUrl(std::string server_url);
- //设置cookie
- int SetCookie(std::string path, std::string name, std::string value);
- //设置本地服务器的cookie
- int SetLocalServerCookie(std::string name, std::string value);
- int SetScanConfig(std::string app_data_dir, std::string scan_data_dir);
- private:
- CIdentifyEngine();
- ~CIdentifyEngine();
- };
|