diff options
Diffstat (limited to 'GithubAPI.hpp')
-rw-r--r-- | GithubAPI.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/GithubAPI.hpp b/GithubAPI.hpp index 59faa82..1162e77 100644 --- a/GithubAPI.hpp +++ b/GithubAPI.hpp @@ -1,10 +1,11 @@ #ifndef GITHUBAPI_H #define GITHUBAPI_H 1 -#include <curl/curl.h> #include <string> #include <vector> +typedef void CURL; + class GithubAPI { public: GithubAPI(std::string username); @@ -12,6 +13,7 @@ public: bool DownloadAvatar(); size_t GetAvatarBuffer(std::vector<unsigned char> &avatar_buffer); + bool AvatarToFile(std::string filename); std::string GetUsername() { return username; } private: |