#ifndef XSTEAM_CURL_H #define XSTEAM_CURL_H #include #include #include #include #include #include "curl/curl.h" #include "curl/easy.h" typedef enum{ GET_INFO, DOWNLOAD }CURL_MODE; class xsteam_curl { public: xsteam_curl(); ~xsteam_curl(); std::string get_steam_id_info(std::string,std::string _c_uid); bool get_steam_header_ico(std::string,std::string _c_uid); private: void init_curl(); CURL *curl; CURLcode curl_res; }; #endif