IdentifyEngine.h 623 B

12345678910111213141516171819
  1. #pragma once
  2. #include "identifydll_global.h"
  3. #include <boost\smart_ptr.hpp>
  4. class SMARTEVALUATIONLOGIC_API CIdentifyEngine
  5. {
  6. template<class T> friend inline void boost::checked_delete(T *);
  7. public:
  8. static boost::shared_ptr<CIdentifyEngine> GetInstance();
  9. //设置远端服务器地址
  10. int SetServerUrl(std::string server_url);
  11. //设置cookie
  12. int SetCookie(std::string path, std::string name, std::string value);
  13. //设置本地服务器的cookie
  14. int SetLocalServerCookie(std::string name, std::string value);
  15. int SetScanConfig(std::string app_data_dir, std::string scan_data_dir);
  16. private:
  17. CIdentifyEngine();
  18. ~CIdentifyEngine();
  19. };