|
GlistEngine
|
#include <gHttpFile.h>


Classes | |
| struct | ProgressData |
Public Member Functions | |
| gHttpFile () | |
| virtual | ~gHttpFile () |
| void | load (std::string url) |
| std::string | getUrl () |
| void | save (std::string filepath, bool isBinary=false) |
| std::string | getHtml () |
| int | getStatusCode () |
| double | getProgressLength () |
| double | getFileLength () |
Public Member Functions inherited from gObject | |
| gObject () | |
| void | logi (std::string message) |
| void | logd (std::string message) |
| void | logw (std::string message) |
| void | loge (std::string message) |
| void | logi (std::string tag, std::string message) |
| void | logd (std::string tag, std::string message) |
| void | logw (std::string tag, std::string message) |
| void | loge (std::string tag, std::string message) |
Static Public Member Functions | |
| static int | progressCallback (ProgressData *p, double totaltodownload, double downloaded, double totaltoupload, double uploaded) |
| static size_t | writeCallBack (char *contents, size_t size, size_t nmemb, void *userp) |
Static Public Member Functions inherited from gObject | |
| static std::string | gGetAppDir () |
| static std::string | gGetAssetsDir () |
| static void | gSetAssetsDir (std::string assetsDir) |
| static std::string | gGetFilesDir () |
| static std::string | gGetImagesDir () |
| static std::string | gGetFontsDir () |
| static std::string | gGetModelsDir () |
| static std::string | gGetTexturesDir () |
| static std::string | gGetShadersDir () |
| static std::string | gGetSoundsDir () |
| static std::string | gGetDatabasesDir () |
| static std::string | gGetVideosDir () |
| static void | setCurrentResolution (int scalingNo, int currentResolutionNo) |
Public Attributes | |
| struct gHttpFile::ProgressData | prog |
Additional Inherited Members | |
Static Public Attributes inherited from gObject | |
| static const int | LOGLEVEL_SILENT |
| static const int | LOGLEVEL_DEBUG |
| static const int | LOGLEVEL_INFO |
| static const int | LOGLEVEL_WARNING |
| static const int | LOGLEVEL_ERROR |
Static Protected Attributes inherited from gObject | |
| static int | renderpassnum |
| static int | renderpassno |
| static int | releasescaling |
| static int | releaseresolution |
| gHttpFile::gHttpFile | ( | ) |
|
virtual |
| double gHttpFile::getFileLength | ( | ) |
| std::string gHttpFile::getHtml | ( | ) |
| double gHttpFile::getProgressLength | ( | ) |
| int gHttpFile::getStatusCode | ( | ) |
| std::string gHttpFile::getUrl | ( | ) |
| void gHttpFile::load | ( | std::string | url | ) |
|
static |
| void gHttpFile::save | ( | std::string | filepath, |
| bool | isBinary = false |
||
| ) |
|
static |
| struct gHttpFile::ProgressData gHttpFile::prog |