Oxygine  1
2g game engine
HttpRequestEmscriptenTask.h
1 #pragma once
2 #include "HttpRequestTask.h"
3 
4 namespace oxygine
5 {
6 
8  {
9  public:
11 
12  private:
13  /*
14  typedef void (*em_async_wget2_data_onload_func)(unsigned, void*, void*, unsigned);
15  typedef void (*em_async_wget2_data_onerror_func)(unsigned, void*, int, const char*);
16  typedef void (*em_async_wget2_data_onprogress_func)(unsigned, void*, int, int);
17  */
18 
19  static void onload(unsigned, void* This, void* arg1, unsigned arg2) {((HttpRequestEmscriptenTask*)This)->_onload(arg1, arg2);}
20  static void onerror(unsigned, void* This, int arg1, const char* arg2) {((HttpRequestEmscriptenTask*)This)->_onerror(arg1, arg2);}
21  static void onprogress(unsigned, void* This, int arg1, int arg2) {((HttpRequestEmscriptenTask*)This)->_onprogress(arg1, arg2);}
22 
23  void _onload(void*, unsigned);
24  void _onerror(int, const char*);
25  void _onprogress(int, int);
26 
27  void _run();
28  };
29 }
30 
Definition: HttpRequestTask.h:11
Definition: HttpRequestEmscriptenTask.h:7
–oxgl-end–!
Definition: Actor.h:14