From 3b4947b8b4a5c6ec9421ade5cc759ca3b947bd67 Mon Sep 17 00:00:00 2001 From: lns Date: Fri, 6 May 2022 11:38:26 +0200 Subject: png support Signed-off-by: lns --- GithubAPI.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'GithubAPI.hpp') 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 #include #include +typedef void CURL; + class GithubAPI { public: GithubAPI(std::string username); @@ -12,6 +13,7 @@ public: bool DownloadAvatar(); size_t GetAvatarBuffer(std::vector &avatar_buffer); + bool AvatarToFile(std::string filename); std::string GetUsername() { return username; } private: -- cgit v1.2.3