Callback
| 25 | |
| 26 | // Callback |
| 27 | static void onLoaded(unsigned handle, void* parent, const char * file) { |
| 28 | http* req = reinterpret_cast<http*>(parent); |
| 29 | req->onLoaded(file); |
| 30 | } |
| 31 | |
| 32 | static void onError(unsigned handle, void* parent, int statuserror) { |
| 33 | http* req = reinterpret_cast<http*>(parent); |