MixpanelScript.h 447 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include <string>
  3. #include <curl/curl.h>
  4. #include"src/json.hpp"
  5. #include <iostream>
  6. #include <Windows.h>
  7. #include <rpc.h>
  8. #pragma comment(lib, "rpcrt4.lib")
  9. #include <sstream>
  10. #include <iomanip>
  11. class MixpanelScript
  12. {
  13. public :
  14. void PostData(std::string EventName, std::string DistinctId, std::string InsertId,int error);
  15. std::string GetGUID();
  16. std::string GetCPUID();
  17. private:
  18. std::string GuidToString(const GUID& guid);
  19. };