CAdsBanner.h 507 B

12345678910111213141516171819
  1. //#pragma once
  2. #include <shlobj.h>
  3. #include <atlstr.h>
  4. #include <json/reader.h>
  5. #include <fstream>
  6. #include "FileCore.h"
  7. #include "KeyVar.h"
  8. #include "CLanguage.h"
  9. class CAdsBanner
  10. {
  11. public:
  12. vector<std::string> BannerCollection;
  13. CAdsBanner();
  14. std::vector<std::string> GetBannerlinkFromJson(std::wstring st);
  15. std::vector<std::string> ReadJsonFromFile(const char* file);
  16. void GetBannerJson(std::wstring st);
  17. bool GetImage(std::wstring url, std::wstring saveFolder, int i);
  18. bool IsEmptyBanner = true;
  19. };